asn1-ber
asn1-ber copied to clipboard
Make fails ber.go:386: undefined: reflect.NewValue
With the latest 'Release' branch of Golang the asn1-ber package fails to build properly due to changes with the reflect package. The change was reflect.NewValue no longer exists and was replaced with reflect.ValueOf.
RESOLUTION:
@@ -383,7 +383,7 @@
p.Description = Description
if Value != nil {
- v := reflect.NewValue(Value)
+ v := reflect.ValueOf(Value)
if ( ClassType == ClassUniversal ) {
switch Tag {
Bump! I can't goinstall your ldap package without this package, and this package wont install due to the above issue!
I remedied the issues with both the ldap and asn1-ber package and made it goinstall'able. You can install the ldap package by using goinstall github.com/hsoj/ldap
Ten steps ahead of you :) goinstalled your packages, got my project running, and have a very simple example to show my boss within the hour.
Cheers! Ben
On Tue, Jul 19, 2011 at 2:14 PM, hsoj < [email protected]>wrote:
I remedied the issues with both the ldap and asn1-ber package and made it goinstall'able. You can install the ldap package by using
goinstall github.com/hsoj/ldap
Reply to this email directly or view it on GitHub: https://github.com/mmitton/asn1-ber/issues/1#issuecomment-1606809