Thomas Stover <thomas_at_wsinnovations.com> writes:
> On Wed, 16 Jun 2010 23:52:12 +0200, Simon Josefsson <simon_at_josefsson.org>
> wrote:
>
>> Put /opt/crosscompilers/win32/bin/ in your PATH instead, and remove the
>> CC= parameter. Configure should figure out by itself how to invoke the
>> C compiler for the cross-compilation requested by --build and --host.
>
> ok that gets me much further along. Now it errors with:
> /bin/bash ../libtool --tag=CC --mode=link i686-mingw32-gcc
> -DLIBSSH2_WIN32 -DWINSOCK_VERSION=0x0200 -o direct_tcpip.exe
> direct_tcpip.o ../src/libssh2.la -lws2_32
> libtool: link: i686-mingw32-gcc -DLIBSSH2_WIN32 -DWINSOCK_VERSION=0x0200
> -o .libs/direct_tcpip.exe direct_tcpip.o ../src/.libs/libssh2.a
> -L/home/HOMS/x2stover/src//lib -lssl -lcrypto
> -L/opt/crosscompilers/win32/mingw/lib -lz -lws2_32
> direct_tcpip.o:direct_tcpip.c:(.text+0x14c): undefined reference to
> `__imp__libssh2_init'
This is caused by some confusion about import library, can you post what
commands you use and the output from both ./configure and make? And
include config.log as well.
/Simon
_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel
Received on 2010-06-17