On 01/09/15 07:03, Alan Williams wrote:
> I would like to be able to build !Nettle as I would like to see if I can
> add public/private key authentication to it.
>
> I have never used the auto builder before and I am at a bit of a loss to
> know where to start with the error that it presented while building libssh2.
>
> Along the way:
[snip]
> /home/alan/build/libssh2/libssh2-1.5.0/missing: Unknown
> `--is-lightweight' option
> Try `/home/alan/build/libssh2/libssh2-1.5.0/missing --help' for more
> information
> configure: WARNING: 'missing' script is too old or missing
I also see the above error, but I believe it's a red herring as my
build continues to the end without any problems.
[snip]
> libtool: link: /home/alan/env/arm-unknown-riscos-gcc -O3 -o ssh2,e1f
> ssh2.o ../src/.libs/libssh2.a -L/home/alan/env/lib -lssl -lcrypto
>
> /home/alan/env/lib/libcrypto.a(dso_dlfcn.o): In function
> `dlfcn_globallookup':
> dso_dlfcn.c:(.text+0x7c): undefined reference to `dlopen'
> dso_dlfcn.c:(.text+0x90): undefined reference to `dlsym'
[snip further errors]
This looks like a missing -ldl on the above link line, but my build
doesn't have one either. However, my build does have a -lz where yours
does not, so the required -ldl may be coming from there.
Have you built zlib1g? If not, try building zlib1g first and then
rebuild libssh2.
> That looks to me like a disparity in expectations between static and
> dynamic builds for 'tests' but I couldn't see how or where to influence
> that. I presume that even if it can build them it can't run them anyway.
I haven't looked at what the tests are meant to do, but I see no reason
why they wouldn't work.
Lee.
_______________________________________________
GCCSDK mailing list gcc@gccsdk.riscos.info
Bugzilla: http://www.riscos.info/bugzilla/index.cgi
List Info: http://www.riscos.info/mailman/listinfo/gcc
Main Page: http://www.riscos.info/index.php/GCCSDK
No comments:
Post a Comment