Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make fails ber.go:386: undefined: reflect.NewValue #1

Open
hsoj opened this issue Jul 18, 2011 · 3 comments
Open

Make fails ber.go:386: undefined: reflect.NewValue #1

hsoj opened this issue Jul 18, 2011 · 3 comments

Comments

@hsoj
Copy link

hsoj commented Jul 18, 2011

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 {
@JalfResi
Copy link

Bump! I can't goinstall your ldap package without this package, and this package wont install due to the above issue!

@hsoj
Copy link
Author

hsoj commented Jul 19, 2011

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

@JalfResi
Copy link

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 <
reply@reply.github.com>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:
#1 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants