Subject: Re: Compile Problem

Re: Compile Problem

From: Lyndon Hill <>
Date: Sat, 17 Apr 2010 18:36:37 +0000 (GMT)

--- On Fri, 16/4/10, Daniel Stenberg <> wrote:
> But if you still want Peter's patch, it is in trac for
> issue #170:

Thanks, I wanted to use as-close-to 1.2.5 as possible. This patched version now compiles.

I should have noted that my cross compiler is gcc version 2.95.3 20010315 (release).

I can build libssh but the build halts on making the examples because it cannot link to libz: for some reason configure does not pass through the library search paths for the linker:

/bin/sh ../libtool --tag=CC --mode=link arm-quantumstep-linux-gnu-gcc -g -O2 -o direct_tcpip direct_tcpip.o ../src/ -ldl
libtool: link: arm-quantumstep-linux-gnu-gcc -g -O2 -o .libs/direct_tcpip direct_tcpip.o ../src/.libs/ -ldl -Wl,-rpath -Wl,/usr/local/lib
/Developer/Xtoolchain/i386-apple-darwin/gcc-2.95.3-glibc-2.2.2/arm-quantumstep-linux-gnu/arm-quantumstep-linux-gnu/bin/ld: warning:, needed by ../src/.libs/, not found (try using -rpath or -rpath-link)

I'm sorry but I don't know anything about configure scripts or debugging these kind of automatically generated makefiles. It would be nice to be able to run the tests.


Received on 2010-04-17