On Thu, 17 Jun 2010 21:28:12 +0200, Simon Josefsson <simon_at_josefsson.org>
wrote:
>
> 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.
>
woops missed this message.
I hope all this comes through. config.log is an attachment.
HOMS\x2stover_at_ALHQDV01:~/src$ tar -zxvf libssh2-1.2.7-20100616.tar.gz
HOMS\x2stover_at_ALHQDV01:~/src$ cd libssh2-1.2.7-20100616/
HOMS\x2stover_at_ALHQDV01:~/src/libssh2-1.2.7-20100616$ export
PATH=$PATH:/opt/crosscompilers/win32/binHOMS\x2stover_at_ALHQDV01:~/src/libssh2-1.2.7-20100616$
./configure --build=i686-pc-linux-gnu --host=i686-mingw32
--with-libssl-prefix=/home/HOMS/x2stover/src/
--prefix=/opt/crosscompilers/win32/mingw
checking whether to enable maintainer-specific portions of Makefiles... no
checking for sed... /bin/sed
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for i686-mingw32-strip... i686-mingw32-strip
checking libssh2 version... 1.2.7-20100616
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-mingw32
configure: autobuild project... libssh2
configure: autobuild revision... 1.2.7-20100616
configure: autobuild hostname... ALHQDV01.HOMS.COM
configure: autobuild timestamp... 20100617-154359
checking for style of include used by make... GNU
checking for i686-mingw32-gcc... i686-mingw32-gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.exe
checking for suffix of executables... .exe
checking whether we are cross compiling... yes
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether i686-mingw32-gcc accepts -g... yes
checking for i686-mingw32-gcc option to accept ISO C89... none needed
checking dependency style of i686-mingw32-gcc... gcc3
checking how to run the C preprocessor... i686-mingw32-gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for long long... yes
checking if _REENTRANT is already defined... no
checking if _REENTRANT is actually needed... no
checking if _REENTRANT is onwards defined... no
checking for library containing socket... no
checking for library containing inet_addr... no
checking for i686-mingw32-gcc... (cached) i686-mingw32-gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether i686-mingw32-gcc accepts -g... (cached) yes
checking for i686-mingw32-gcc option to accept ISO C89... (cached) none
needed
checking dependency style of i686-mingw32-gcc... (cached) gcc3
checking whether ln -s works... yes
checking whether make sets $(MAKE)... (cached) yes
checking for sshd... /usr/sbin/sshd
checking for i686-mingw32-as... i686-mingw32-as
checking for i686-mingw32-dlltool... i686-mingw32-dlltool
checking for i686-mingw32-objdump... i686-mingw32-objdump
checking for a sed that does not truncate output... (cached) /bin/sed
checking for fgrep... /bin/grep -F
checking for ld used by i686-mingw32-gcc...
/opt/crosscompilers/win32/i686-mingw32/bin/ld
checking if the linker (/opt/crosscompilers/win32/i686-mingw32/bin/ld) is
GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)...
/opt/crosscompilers/win32/bin/i686-mingw32-nm -B
checking the name lister (/opt/crosscompilers/win32/bin/i686-mingw32-nm
-B) interface... BSD nm
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking for /opt/crosscompilers/win32/i686-mingw32/bin/ld option to
reload object files... -r
checking for i686-mingw32-objdump... (cached) i686-mingw32-objdump
checking how to recognize dependent libraries... file_magic ^x86 archive
import|^x86 DLL
checking for i686-mingw32-ar... i686-mingw32-ar
checking for i686-mingw32-strip... (cached) i686-mingw32-strip
checking for i686-mingw32-ranlib... i686-mingw32-ranlib
checking command to parse /opt/crosscompilers/win32/bin/i686-mingw32-nm -B
output from i686-mingw32-gcc object... ok
checking for dlfcn.h... no
checking for objdir... .libs
checking if i686-mingw32-gcc supports -fno-rtti -fno-exceptions... no
checking for i686-mingw32-gcc option to produce PIC... -DDLL_EXPORT -DPIC
checking if i686-mingw32-gcc PIC flag -DDLL_EXPORT -DPIC works... yes
checking if i686-mingw32-gcc static flag -static works... yes
checking if i686-mingw32-gcc supports -c -o file.o... yes
checking if i686-mingw32-gcc supports -c -o file.o... (cached) yes
checking whether the i686-mingw32-gcc linker
(/opt/crosscompilers/win32/i686-mingw32/bin/ld) supports shared
libraries... yes
checking whether -lc should be explicitly linked in... yes
checking dynamic linker characteristics... Win32 ld.exe
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking whether byte ordering is bigendian... no
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... unknown
checking for _LARGE_FILES value needed for large files... unknown
checking for ld used by GCC...
/opt/crosscompilers/win32/i686-mingw32/bin/ld
checking if the linker (/opt/crosscompilers/win32/i686-mingw32/bin/ld) is
GNU ld... yes
checking for shared library run path origin... done
checking for libssl... yes
checking how to link with libssl... /home/HOMS/x2stover/src//lib/libssl.a
/home/HOMS/x2stover/src//lib/libcrypto.a
checking for EVP_aes_128_ctr... no
checking for libz... yes
checking how to link with libz...
/opt/crosscompilers/win32/mingw/lib/libz.a
checking whether to enable pedantic and debug compiler options... no
checking whether to enable hidden symbols in the library... no
checking errno.h usability... yes
checking errno.h presence... yes
checking for errno.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking stdio.h usability... yes
checking stdio.h presence... yes
checking for stdio.h... yes
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking sys/uio.h usability... no
checking sys/uio.h presence... no
checking for sys/uio.h... no
checking sys/select.h usability... no
checking sys/select.h presence... no
checking for sys/select.h... no
checking sys/socket.h usability... no
checking sys/socket.h presence... no
checking for sys/socket.h... no
checking sys/ioctl.h usability... no
checking sys/ioctl.h presence... no
checking for sys/ioctl.h... no
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking arpa/inet.h usability... no
checking arpa/inet.h presence... no
checking for arpa/inet.h... no
checking netinet/in.h usability... no
checking netinet/in.h presence... no
checking for netinet/in.h... no
checking sys/un.h usability... no
checking sys/un.h presence... no
checking for sys/un.h... no
checking windows.h usability... yes
checking windows.h presence... yes
checking for windows.h... yes
checking winsock2.h usability... yes
checking winsock2.h presence... yes
checking for winsock2.h... yes
checking ws2tcpip.h usability... yes
checking ws2tcpip.h presence... yes
checking for ws2tcpip.h... yes
checking for poll... no
checking for gettimeofday... yes
checking for select... no
checking for strtoll... yes
checking for select in ws2_32... yes
checking for working alloca.h... no
checking for alloca... yes
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking non-blocking sockets style... ioctlsocket
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating tests/Makefile
config.status: creating example/Makefile
config.status: creating docs/Makefile
config.status: creating libssh2.pc
config.status: creating src/libssh2_config.h
config.status: creating example/libssh2_config.h
config.status: executing depfiles commands
config.status: executing libtool commands
configure: summary of build options:
version: 1.2.7-20100616
Host type: i686-pc-mingw32
Install prefix: /opt/crosscompilers/win32/mingw
Compiler: i686-mingw32-gcc
Compiler flags: -DLIBSSH2_WIN32 -DWINSOCK_VERSION=0x0200
Library types: Shared=yes, Static=yes
Crypto library: openssl: yes (AES-CTR: no) libgcrypt: no
Debug build: no
Path to sshd: /usr/sbin/sshd (only for self-tests)
libz compression: yes
HOMS\x2stover_at_ALHQDV01:~/src/libssh2-1.2.7-20100616$ make
Making all in src
make[1]: Entering directory
`/home/HOMS/x2stover/src/libssh2-1.2.7-20100616/src'
make all-am
make[2]: Entering directory
`/home/HOMS/x2stover/src/libssh2-1.2.7-20100616/src'
if /bin/bash ../libtool --tag=CC --mode=compile i686-mingw32-gcc
-DHAVE_CONFIG_H -I../include -I../src -I/home/HOMS/x2stover/src//include
-I/opt/crosscompilers/win32/mingw/include -DLIBSSH2_WIN32
-DWINSOCK_VERSION=0x0200 -MT channel.lo -MD -MP -MF ".deps/channel.Tpo" -c
-o channel.lo channel.c; \
then mv -f ".deps/channel.Tpo" ".deps/channel.Plo"; else rm -f
".deps/channel.Tpo"; exit 1; fi
libtool: compile: i686-mingw32-gcc -DHAVE_CONFIG_H -I../include -I../src
-I/home/HOMS/x2stover/src//include
-I/opt/crosscompilers/win32/mingw/include -DLIBSSH2_WIN32
-DWINSOCK_VERSION=0x0200 -MT channel.lo -MD -MP -MF .deps/channel.Tpo -c
channel.c -DDLL_EXPORT -DPIC -o .libs/channel.o
libtool: compile: i686-mingw32-gcc -DHAVE_CONFIG_H -I../include -I../src
-I/home/HOMS/x2stover/src//include
-I/opt/crosscompilers/win32/mingw/include -DLIBSSH2_WIN32
-DWINSOCK_VERSION=0x0200 -MT channel.lo -MD -MP -MF .deps/channel.Tpo -c
channel.c -o channel.o >/dev/null 2>&1
if /bin/bash ../libtool --tag=CC --mode=compile i686-mingw32-gcc
-DHAVE_CONFIG_H -I../include -I../src -I/home/HOMS/x2stover/src//include
-I/opt/crosscompilers/win32/mingw/include -DLIBSSH2_WIN32
-DWINSOCK_VERSION=0x0200 -MT comp.lo -MD -MP -MF ".deps/comp.Tpo" -c -o
comp.lo comp.c; \
then mv -f ".deps/comp.Tpo" ".deps/comp.Plo"; else rm -f
".deps/comp.Tpo"; exit 1; fi
libtool: compile: i686-mingw32-gcc -DHAVE_CONFIG_H -I../include -I../src
-I/home/HOMS/x2stover/src//include
-I/opt/crosscompilers/win32/mingw/include -DLIBSSH2_WIN32
-DWINSOCK_VERSION=0x0200 -MT comp.lo -MD -MP -MF .deps/comp.Tpo -c comp.c
-DDLL_EXPORT -DPIC -o .libs/comp.o
libtool: compile: i686-mingw32-gcc -DHAVE_CONFIG_H -I../include -I../src
-I/home/HOMS/x2stover/src//include
-I/opt/crosscompilers/win32/mingw/include -DLIBSSH2_WIN32
-DWINSOCK_VERSION=0x0200 -MT comp.lo -MD -MP -MF .deps/comp.Tpo -c comp.c
-o comp.o >/dev/null 2>&1
if /bin/bash ../libtool --tag=CC --mode=compile i686-mingw32-gcc
-DHAVE_CONFIG_H -I../include -I../src -I/home/HOMS/x2stover/src//include
-I/opt/crosscompilers/win32/mingw/include -DLIBSSH2_WIN32
-DWINSOCK_VERSION=0x0200 -MT crypt.lo -MD -MP -MF ".deps/crypt.Tpo" -c -o
crypt.lo crypt.c; \
then mv -f ".deps/crypt.Tpo" ".deps/crypt.Plo"; else rm -f
".deps/crypt.Tpo"; exit 1; fi
libtool: compile: i686-mingw32-gcc -DHAVE_CONFIG_H -I../include -I../src
-I/home/HOMS/x2stover/src//include
-I/opt/crosscompilers/win32/mingw/include -DLIBSSH2_WIN32
-DWINSOCK_VERSION=0x0200 -MT crypt.lo -MD -MP -MF .deps/crypt.Tpo -c
crypt.c -DDLL_EXPORT -DPIC -o .libs/crypt.o
libtool: compile: i686-mingw32-gcc -DHAVE_CONFIG_H -I../include -I../src
-I/home/HOMS/x2stover/src//include
-I/opt/crosscompilers/win32/mingw/include -DLIBSSH2_WIN32
-DWINSOCK_VERSION=0x0200 -MT crypt.lo -MD -MP -MF .deps/crypt.Tpo -c
crypt.c -o crypt.o >/dev/null 2>&1
if /bin/bash ../libtool --tag=CC --mode=compile i686-mingw32-gcc
-DHAVE_CONFIG_H -I../include -I../src -I/home/HOMS/x2stover/src//include
-I/opt/crosscompilers/win32/mingw/include -DLIBSSH2_WIN32
-DWINSOCK_VERSION=0x0200 -MT hostkey.lo -MD -MP -MF ".deps/hostkey.Tpo" -c
-o hostkey.lo hostkey.c; \
then mv -f ".deps/hostkey.Tpo" ".deps/hostkey.Plo"; else rm -f
".deps/hostkey.Tpo"; exit 1; fi
libtool: compile: i686-mingw32-gcc -DHAVE_CONFIG_H -I../include -I../src
-I/home/HOMS/x2stover/src//include
-I/opt/crosscompilers/win32/mingw/include -DLIBSSH2_WIN32
-DWINSOCK_VERSION=0x0200 -MT hostkey.lo -MD -MP -MF .deps/hostkey.Tpo -c
hostkey.c -DDLL_EXPORT -DPIC -o .libs/hostkey.o
libtool: compile: i686-mingw32-gcc -DHAVE_CONFIG_H -I../include -I../src
-I/home/HOMS/x2stover/src//include
-I/opt/crosscompilers/win32/mingw/include -DLIBSSH2_WIN32
-DWINSOCK_VERSION=0x0200 -MT hostkey.lo -MD -MP -MF .deps/hostkey.Tpo -c
hostkey.c -o hostkey.o >/dev/null 2>&1
if /bin/bash ../libtool --tag=CC --mode=compile i686-mingw32-gcc
-DHAVE_CONFIG_H -I../include -I../src -I/home/HOMS/x2stover/src//include
-I/opt/crosscompilers/win32/mingw/include -DLIBSSH2_WIN32
-DWINSOCK_VERSION=0x0200 -MT kex.lo -MD -MP -MF ".deps/kex.Tpo" -c -o
kex.lo kex.c; \
then mv -f ".deps/kex.Tpo" ".deps/kex.Plo"; else rm -f ".deps/kex.Tpo";
exit 1; fi
libtool: compile: i686-mingw32-gcc -DHAVE_CONFIG_H -I../include -I../src
-I/home/HOMS/x2stover/src//include
-I/opt/crosscompilers/win32/mingw/include -DLIBSSH2_WIN32
-DWINSOCK_VERSION=0x0200 -MT kex.lo -MD -MP -MF .deps/kex.Tpo -c kex.c
-DDLL_EXPORT -DPIC -o .libs/kex.o
libtool: compile: i686-mingw32-gcc -DHAVE_CONFIG_H -I../include -I../src
-I/home/HOMS/x2stover/src//include
-I/opt/crosscompilers/win32/mingw/include -DLIBSSH2_WIN32
-DWINSOCK_VERSION=0x0200 -MT kex.lo -MD -MP -MF .deps/kex.Tpo -c kex.c -o
kex.o >/dev/null 2>&1
if /bin/bash ../libtool --tag=CC --mode=compile i686-mingw32-gcc
-DHAVE_CONFIG_H -I../include -I../src -I/home/HOMS/x2stover/src//include
-I/opt/crosscompilers/win32/mingw/include -DLIBSSH2_WIN32
-DWINSOCK_VERSION=0x0200 -MT mac.lo -MD -MP -MF ".deps/mac.Tpo" -c -o
mac.lo mac.c; \
then mv -f ".deps/mac.Tpo" ".deps/mac.Plo"; else rm -f ".deps/mac.Tpo";
exit 1; fi
libtool: compile: i686-mingw32-gcc -DHAVE_CONFIG_H -I../include -I../src
-I/home/HOMS/x2stover/src//include
-I/opt/crosscompilers/win32/mingw/include -DLIBSSH2_WIN32
-DWINSOCK_VERSION=0x0200 -MT mac.lo -MD -MP -MF .deps/mac.Tpo -c mac.c
-DDLL_EXPORT -DPIC -o .libs/mac.o
libtool: compile: i686-mingw32-gcc -DHAVE_CONFIG_H -I../include -I../src
-I/home/HOMS/x2stover/src//include
-I/opt/crosscompilers/win32/mingw/include -DLIBSSH2_WIN32
-DWINSOCK_VERSION=0x0200 -MT mac.lo -MD -MP -MF .deps/mac.Tpo -c mac.c -o
mac.o >/dev/null 2>&1
if /bin/bash ../libtool --tag=CC --mode=compile i686-mingw32-gcc
-DHAVE_CONFIG_H -I../include -I../src -I/home/HOMS/x2stover/src//include
-I/opt/crosscompilers/win32/mingw/include -DLIBSSH2_WIN32
-DWINSOCK_VERSION=0x0200 -MT misc.lo -MD -MP -MF ".deps/misc.Tpo" -c -o
misc.lo misc.c; \
then mv -f ".deps/misc.Tpo" ".deps/misc.Plo"; else rm -f
".deps/misc.Tpo"; exit 1; fi
libtool: compile: i686-mingw32-gcc -DHAVE_CONFIG_H -I../include -I../src
-I/home/HOMS/x2stover/src//include
-I/opt/crosscompilers/win32/mingw/include -DLIBSSH2_WIN32
-DWINSOCK_VERSION=0x0200 -MT misc.lo -MD -MP -MF .deps/misc.Tpo -c misc.c
-DDLL_EXPORT -DPIC -o .libs/misc.o
libtool: compile: i686-mingw32-gcc -DHAVE_CONFIG_H -I../include -I../src
-I/home/HOMS/x2stover/src//include
-I/opt/crosscompilers/win32/mingw/include -DLIBSSH2_WIN32
-DWINSOCK_VERSION=0x0200 -MT misc.lo -MD -MP -MF .deps/misc.Tpo -c misc.c
-o misc.o >/dev/null 2>&1
if /bin/bash ../libtool --tag=CC --mode=compile i686-mingw32-gcc
-DHAVE_CONFIG_H -I../include -I../src -I/home/HOMS/x2stover/src//include
-I/opt/crosscompilers/win32/mingw/include -DLIBSSH2_WIN32
-DWINSOCK_VERSION=0x0200 -MT packet.lo -MD -MP -MF ".deps/packet.Tpo" -c -o
packet.lo packet.c; \
then mv -f ".deps/packet.Tpo" ".deps/packet.Plo"; else rm -f
".deps/packet.Tpo"; exit 1; fi
libtool: compile: i686-mingw32-gcc -DHAVE_CONFIG_H -I../include -I../src
-I/home/HOMS/x2stover/src//include
-I/opt/crosscompilers/win32/mingw/include -DLIBSSH2_WIN32
-DWINSOCK_VERSION=0x0200 -MT packet.lo -MD -MP -MF .deps/packet.Tpo -c
packet.c -DDLL_EXPORT -DPIC -o .libs/packet.o
libtool: compile: i686-mingw32-gcc -DHAVE_CONFIG_H -I../include -I../src
-I/home/HOMS/x2stover/src//include
-I/opt/crosscompilers/win32/mingw/include -DLIBSSH2_WIN32
-DWINSOCK_VERSION=0x0200 -MT packet.lo -MD -MP -MF .deps/packet.Tpo -c
packet.c -o packet.o >/dev/null 2>&1
if /bin/bash ../libtool --tag=CC --mode=compile i686-mingw32-gcc
-DHAVE_CONFIG_H -I../include -I../src -I/home/HOMS/x2stover/src//include
-I/opt/crosscompilers/win32/mingw/include -DLIBSSH2_WIN32
-DWINSOCK_VERSION=0x0200 -MT publickey.lo -MD -MP -MF ".deps/publickey.Tpo"
-c -o publickey.lo publickey.c; \
then mv -f ".deps/publickey.Tpo" ".deps/publickey.Plo"; else rm -f
".deps/publickey.Tpo"; exit 1; fi
libtool: compile: i686-mingw32-gcc -DHAVE_CONFIG_H -I../include -I../src
-I/home/HOMS/x2stover/src//include
-I/opt/crosscompilers/win32/mingw/include -DLIBSSH2_WIN32
-DWINSOCK_VERSION=0x0200 -MT publickey.lo -MD -MP -MF .deps/publickey.Tpo
-c publickey.c -DDLL_EXPORT -DPIC -o .libs/publickey.o
libtool: compile: i686-mingw32-gcc -DHAVE_CONFIG_H -I../include -I../src
-I/home/HOMS/x2stover/src//include
-I/opt/crosscompilers/win32/mingw/include -DLIBSSH2_WIN32
-DWINSOCK_VERSION=0x0200 -MT publickey.lo -MD -MP -MF .deps/publickey.Tpo
-c publickey.c -o publickey.o >/dev/null 2>&1
if /bin/bash ../libtool --tag=CC --mode=compile i686-mingw32-gcc
-DHAVE_CONFIG_H -I../include -I../src -I/home/HOMS/x2stover/src//include
-I/opt/crosscompilers/win32/mingw/include -DLIBSSH2_WIN32
-DWINSOCK_VERSION=0x0200 -MT scp.lo -MD -MP -MF ".deps/scp.Tpo" -c -o
scp.lo scp.c; \
then mv -f ".deps/scp.Tpo" ".deps/scp.Plo"; else rm -f ".deps/scp.Tpo";
exit 1; fi
libtool: compile: i686-mingw32-gcc -DHAVE_CONFIG_H -I../include -I../src
-I/home/HOMS/x2stover/src//include
-I/opt/crosscompilers/win32/mingw/include -DLIBSSH2_WIN32
-DWINSOCK_VERSION=0x0200 -MT scp.lo -MD -MP -MF .deps/scp.Tpo -c scp.c
-DDLL_EXPORT -DPIC -o .libs/scp.o
libtool: compile: i686-mingw32-gcc -DHAVE_CONFIG_H -I../include -I../src
-I/home/HOMS/x2stover/src//include
-I/opt/crosscompilers/win32/mingw/include -DLIBSSH2_WIN32
-DWINSOCK_VERSION=0x0200 -MT scp.lo -MD -MP -MF .deps/scp.Tpo -c scp.c -o
scp.o >/dev/null 2>&1
if /bin/bash ../libtool --tag=CC --mode=compile i686-mingw32-gcc
-DHAVE_CONFIG_H -I../include -I../src -I/home/HOMS/x2stover/src//include
-I/opt/crosscompilers/win32/mingw/include -DLIBSSH2_WIN32
-DWINSOCK_VERSION=0x0200 -MT session.lo -MD -MP -MF ".deps/session.Tpo" -c
-o session.lo session.c; \
then mv -f ".deps/session.Tpo" ".deps/session.Plo"; else rm -f
".deps/session.Tpo"; exit 1; fi
libtool: compile: i686-mingw32-gcc -DHAVE_CONFIG_H -I../include -I../src
-I/home/HOMS/x2stover/src//include
-I/opt/crosscompilers/win32/mingw/include -DLIBSSH2_WIN32
-DWINSOCK_VERSION=0x0200 -MT session.lo -MD -MP -MF .deps/session.Tpo -c
session.c -DDLL_EXPORT -DPIC -o .libs/session.o
libtool: compile: i686-mingw32-gcc -DHAVE_CONFIG_H -I../include -I../src
-I/home/HOMS/x2stover/src//include
-I/opt/crosscompilers/win32/mingw/include -DLIBSSH2_WIN32
-DWINSOCK_VERSION=0x0200 -MT session.lo -MD -MP -MF .deps/session.Tpo -c
session.c -o session.o >/dev/null 2>&1
if /bin/bash ../libtool --tag=CC --mode=compile i686-mingw32-gcc
-DHAVE_CONFIG_H -I../include -I../src -I/home/HOMS/x2stover/src//include
-I/opt/crosscompilers/win32/mingw/include -DLIBSSH2_WIN32
-DWINSOCK_VERSION=0x0200 -MT sftp.lo -MD -MP -MF ".deps/sftp.Tpo" -c -o
sftp.lo sftp.c; \
then mv -f ".deps/sftp.Tpo" ".deps/sftp.Plo"; else rm -f
".deps/sftp.Tpo"; exit 1; fi
libtool: compile: i686-mingw32-gcc -DHAVE_CONFIG_H -I../include -I../src
-I/home/HOMS/x2stover/src//include
-I/opt/crosscompilers/win32/mingw/include -DLIBSSH2_WIN32
-DWINSOCK_VERSION=0x0200 -MT sftp.lo -MD -MP -MF .deps/sftp.Tpo -c sftp.c
-DDLL_EXPORT -DPIC -o .libs/sftp.o
libtool: compile: i686-mingw32-gcc -DHAVE_CONFIG_H -I../include -I../src
-I/home/HOMS/x2stover/src//include
-I/opt/crosscompilers/win32/mingw/include -DLIBSSH2_WIN32
-DWINSOCK_VERSION=0x0200 -MT sftp.lo -MD -MP -MF .deps/sftp.Tpo -c sftp.c
-o sftp.o >/dev/null 2>&1
if /bin/bash ../libtool --tag=CC --mode=compile i686-mingw32-gcc
-DHAVE_CONFIG_H -I../include -I../src -I/home/HOMS/x2stover/src//include
-I/opt/crosscompilers/win32/mingw/include -DLIBSSH2_WIN32
-DWINSOCK_VERSION=0x0200 -MT userauth.lo -MD -MP -MF ".deps/userauth.Tpo"
-c -o userauth.lo userauth.c; \
then mv -f ".deps/userauth.Tpo" ".deps/userauth.Plo"; else rm -f
".deps/userauth.Tpo"; exit 1; fi
libtool: compile: i686-mingw32-gcc -DHAVE_CONFIG_H -I../include -I../src
-I/home/HOMS/x2stover/src//include
-I/opt/crosscompilers/win32/mingw/include -DLIBSSH2_WIN32
-DWINSOCK_VERSION=0x0200 -MT userauth.lo -MD -MP -MF .deps/userauth.Tpo -c
userauth.c -DDLL_EXPORT -DPIC -o .libs/userauth.o
libtool: compile: i686-mingw32-gcc -DHAVE_CONFIG_H -I../include -I../src
-I/home/HOMS/x2stover/src//include
-I/opt/crosscompilers/win32/mingw/include -DLIBSSH2_WIN32
-DWINSOCK_VERSION=0x0200 -MT userauth.lo -MD -MP -MF .deps/userauth.Tpo -c
userauth.c -o userauth.o >/dev/null 2>&1
if /bin/bash ../libtool --tag=CC --mode=compile i686-mingw32-gcc
-DHAVE_CONFIG_H -I../include -I../src -I/home/HOMS/x2stover/src//include
-I/opt/crosscompilers/win32/mingw/include -DLIBSSH2_WIN32
-DWINSOCK_VERSION=0x0200 -MT transport.lo -MD -MP -MF ".deps/transport.Tpo"
-c -o transport.lo transport.c; \
then mv -f ".deps/transport.Tpo" ".deps/transport.Plo"; else rm -f
".deps/transport.Tpo"; exit 1; fi
libtool: compile: i686-mingw32-gcc -DHAVE_CONFIG_H -I../include -I../src
-I/home/HOMS/x2stover/src//include
-I/opt/crosscompilers/win32/mingw/include -DLIBSSH2_WIN32
-DWINSOCK_VERSION=0x0200 -MT transport.lo -MD -MP -MF .deps/transport.Tpo
-c transport.c -DDLL_EXPORT -DPIC -o .libs/transport.o
libtool: compile: i686-mingw32-gcc -DHAVE_CONFIG_H -I../include -I../src
-I/home/HOMS/x2stover/src//include
-I/opt/crosscompilers/win32/mingw/include -DLIBSSH2_WIN32
-DWINSOCK_VERSION=0x0200 -MT transport.lo -MD -MP -MF .deps/transport.Tpo
-c transport.c -o transport.o >/dev/null 2>&1
if /bin/bash ../libtool --tag=CC --mode=compile i686-mingw32-gcc
-DHAVE_CONFIG_H -I../include -I../src -I/home/HOMS/x2stover/src//include
-I/opt/crosscompilers/win32/mingw/include -DLIBSSH2_WIN32
-DWINSOCK_VERSION=0x0200 -MT version.lo -MD -MP -MF ".deps/version.Tpo" -c
-o version.lo version.c; \
then mv -f ".deps/version.Tpo" ".deps/version.Plo"; else rm -f
".deps/version.Tpo"; exit 1; fi
libtool: compile: i686-mingw32-gcc -DHAVE_CONFIG_H -I../include -I../src
-I/home/HOMS/x2stover/src//include
-I/opt/crosscompilers/win32/mingw/include -DLIBSSH2_WIN32
-DWINSOCK_VERSION=0x0200 -MT version.lo -MD -MP -MF .deps/version.Tpo -c
version.c -DDLL_EXPORT -DPIC -o .libs/version.o
libtool: compile: i686-mingw32-gcc -DHAVE_CONFIG_H -I../include -I../src
-I/home/HOMS/x2stover/src//include
-I/opt/crosscompilers/win32/mingw/include -DLIBSSH2_WIN32
-DWINSOCK_VERSION=0x0200 -MT version.lo -MD -MP -MF .deps/version.Tpo -c
version.c -o version.o >/dev/null 2>&1
if /bin/bash ../libtool --tag=CC --mode=compile i686-mingw32-gcc
-DHAVE_CONFIG_H -I../include -I../src -I/home/HOMS/x2stover/src//include
-I/opt/crosscompilers/win32/mingw/include -DLIBSSH2_WIN32
-DWINSOCK_VERSION=0x0200 -MT knownhost.lo -MD -MP -MF ".deps/knownhost.Tpo"
-c -o knownhost.lo knownhost.c; \
then mv -f ".deps/knownhost.Tpo" ".deps/knownhost.Plo"; else rm -f
".deps/knownhost.Tpo"; exit 1; fi
libtool: compile: i686-mingw32-gcc -DHAVE_CONFIG_H -I../include -I../src
-I/home/HOMS/x2stover/src//include
-I/opt/crosscompilers/win32/mingw/include -DLIBSSH2_WIN32
-DWINSOCK_VERSION=0x0200 -MT knownhost.lo -MD -MP -MF .deps/knownhost.Tpo
-c knownhost.c -DDLL_EXPORT -DPIC -o .libs/knownhost.o
libtool: compile: i686-mingw32-gcc -DHAVE_CONFIG_H -I../include -I../src
-I/home/HOMS/x2stover/src//include
-I/opt/crosscompilers/win32/mingw/include -DLIBSSH2_WIN32
-DWINSOCK_VERSION=0x0200 -MT knownhost.lo -MD -MP -MF .deps/knownhost.Tpo
-c knownhost.c -o knownhost.o >/dev/null 2>&1
if /bin/bash ../libtool --tag=CC --mode=compile i686-mingw32-gcc
-DHAVE_CONFIG_H -I../include -I../src -I/home/HOMS/x2stover/src//include
-I/opt/crosscompilers/win32/mingw/include -DLIBSSH2_WIN32
-DWINSOCK_VERSION=0x0200 -MT agent.lo -MD -MP -MF ".deps/agent.Tpo" -c -o
agent.lo agent.c; \
then mv -f ".deps/agent.Tpo" ".deps/agent.Plo"; else rm -f
".deps/agent.Tpo"; exit 1; fi
libtool: compile: i686-mingw32-gcc -DHAVE_CONFIG_H -I../include -I../src
-I/home/HOMS/x2stover/src//include
-I/opt/crosscompilers/win32/mingw/include -DLIBSSH2_WIN32
-DWINSOCK_VERSION=0x0200 -MT agent.lo -MD -MP -MF .deps/agent.Tpo -c
agent.c -DDLL_EXPORT -DPIC -o .libs/agent.o
libtool: compile: i686-mingw32-gcc -DHAVE_CONFIG_H -I../include -I../src
-I/home/HOMS/x2stover/src//include
-I/opt/crosscompilers/win32/mingw/include -DLIBSSH2_WIN32
-DWINSOCK_VERSION=0x0200 -MT agent.lo -MD -MP -MF .deps/agent.Tpo -c
agent.c -o agent.o >/dev/null 2>&1
if /bin/bash ../libtool --tag=CC --mode=compile i686-mingw32-gcc
-DHAVE_CONFIG_H -I../include -I../src -I/home/HOMS/x2stover/src//include
-I/opt/crosscompilers/win32/mingw/include -DLIBSSH2_WIN32
-DWINSOCK_VERSION=0x0200 -MT openssl.lo -MD -MP -MF ".deps/openssl.Tpo" -c
-o openssl.lo openssl.c; \
then mv -f ".deps/openssl.Tpo" ".deps/openssl.Plo"; else rm -f
".deps/openssl.Tpo"; exit 1; fi
libtool: compile: i686-mingw32-gcc -DHAVE_CONFIG_H -I../include -I../src
-I/home/HOMS/x2stover/src//include
-I/opt/crosscompilers/win32/mingw/include -DLIBSSH2_WIN32
-DWINSOCK_VERSION=0x0200 -MT openssl.lo -MD -MP -MF .deps/openssl.Tpo -c
openssl.c -DDLL_EXPORT -DPIC -o .libs/openssl.o
libtool: compile: i686-mingw32-gcc -DHAVE_CONFIG_H -I../include -I../src
-I/home/HOMS/x2stover/src//include
-I/opt/crosscompilers/win32/mingw/include -DLIBSSH2_WIN32
-DWINSOCK_VERSION=0x0200 -MT openssl.lo -MD -MP -MF .deps/openssl.Tpo -c
openssl.c -o openssl.o >/dev/null 2>&1
if /bin/bash ../libtool --tag=CC --mode=compile i686-mingw32-gcc
-DHAVE_CONFIG_H -I../include -I../src -I/home/HOMS/x2stover/src//include
-I/opt/crosscompilers/win32/mingw/include -DLIBSSH2_WIN32
-DWINSOCK_VERSION=0x0200 -MT libgcrypt.lo -MD -MP -MF ".deps/libgcrypt.Tpo"
-c -o libgcrypt.lo libgcrypt.c; \
then mv -f ".deps/libgcrypt.Tpo" ".deps/libgcrypt.Plo"; else rm -f
".deps/libgcrypt.Tpo"; exit 1; fi
libtool: compile: i686-mingw32-gcc -DHAVE_CONFIG_H -I../include -I../src
-I/home/HOMS/x2stover/src//include
-I/opt/crosscompilers/win32/mingw/include -DLIBSSH2_WIN32
-DWINSOCK_VERSION=0x0200 -MT libgcrypt.lo -MD -MP -MF .deps/libgcrypt.Tpo
-c libgcrypt.c -DDLL_EXPORT -DPIC -o .libs/libgcrypt.o
libtool: compile: i686-mingw32-gcc -DHAVE_CONFIG_H -I../include -I../src
-I/home/HOMS/x2stover/src//include
-I/opt/crosscompilers/win32/mingw/include -DLIBSSH2_WIN32
-DWINSOCK_VERSION=0x0200 -MT libgcrypt.lo -MD -MP -MF .deps/libgcrypt.Tpo
-c libgcrypt.c -o libgcrypt.o >/dev/null 2>&1
if /bin/bash ../libtool --tag=CC --mode=compile i686-mingw32-gcc
-DHAVE_CONFIG_H -I../include -I../src -I/home/HOMS/x2stover/src//include
-I/opt/crosscompilers/win32/mingw/include -DLIBSSH2_WIN32
-DWINSOCK_VERSION=0x0200 -MT pem.lo -MD -MP -MF ".deps/pem.Tpo" -c -o
pem.lo pem.c; \
then mv -f ".deps/pem.Tpo" ".deps/pem.Plo"; else rm -f ".deps/pem.Tpo";
exit 1; fi
libtool: compile: i686-mingw32-gcc -DHAVE_CONFIG_H -I../include -I../src
-I/home/HOMS/x2stover/src//include
-I/opt/crosscompilers/win32/mingw/include -DLIBSSH2_WIN32
-DWINSOCK_VERSION=0x0200 -MT pem.lo -MD -MP -MF .deps/pem.Tpo -c pem.c
-DDLL_EXPORT -DPIC -o .libs/pem.o
libtool: compile: i686-mingw32-gcc -DHAVE_CONFIG_H -I../include -I../src
-I/home/HOMS/x2stover/src//include
-I/opt/crosscompilers/win32/mingw/include -DLIBSSH2_WIN32
-DWINSOCK_VERSION=0x0200 -MT pem.lo -MD -MP -MF .deps/pem.Tpo -c pem.c -o
pem.o >/dev/null 2>&1
if /bin/bash ../libtool --tag=CC --mode=compile i686-mingw32-gcc
-DHAVE_CONFIG_H -I../include -I../src -I/home/HOMS/x2stover/src//include
-I/opt/crosscompilers/win32/mingw/include -DLIBSSH2_WIN32
-DWINSOCK_VERSION=0x0200 -MT keepalive.lo -MD -MP -MF ".deps/keepalive.Tpo"
-c -o keepalive.lo keepalive.c; \
then mv -f ".deps/keepalive.Tpo" ".deps/keepalive.Plo"; else rm -f
".deps/keepalive.Tpo"; exit 1; fi
libtool: compile: i686-mingw32-gcc -DHAVE_CONFIG_H -I../include -I../src
-I/home/HOMS/x2stover/src//include
-I/opt/crosscompilers/win32/mingw/include -DLIBSSH2_WIN32
-DWINSOCK_VERSION=0x0200 -MT keepalive.lo -MD -MP -MF .deps/keepalive.Tpo
-c keepalive.c -DDLL_EXPORT -DPIC -o .libs/keepalive.o
libtool: compile: i686-mingw32-gcc -DHAVE_CONFIG_H -I../include -I../src
-I/home/HOMS/x2stover/src//include
-I/opt/crosscompilers/win32/mingw/include -DLIBSSH2_WIN32
-DWINSOCK_VERSION=0x0200 -MT keepalive.lo -MD -MP -MF .deps/keepalive.Tpo
-c keepalive.c -o keepalive.o >/dev/null 2>&1
if /bin/bash ../libtool --tag=CC --mode=compile i686-mingw32-gcc
-DHAVE_CONFIG_H -I../include -I../src -I/home/HOMS/x2stover/src//include
-I/opt/crosscompilers/win32/mingw/include -DLIBSSH2_WIN32
-DWINSOCK_VERSION=0x0200 -MT global.lo -MD -MP -MF ".deps/global.Tpo" -c -o
global.lo global.c; \
then mv -f ".deps/global.Tpo" ".deps/global.Plo"; else rm -f
".deps/global.Tpo"; exit 1; fi
libtool: compile: i686-mingw32-gcc -DHAVE_CONFIG_H -I../include -I../src
-I/home/HOMS/x2stover/src//include
-I/opt/crosscompilers/win32/mingw/include -DLIBSSH2_WIN32
-DWINSOCK_VERSION=0x0200 -MT global.lo -MD -MP -MF .deps/global.Tpo -c
global.c -DDLL_EXPORT -DPIC -o .libs/global.o
libtool: compile: i686-mingw32-gcc -DHAVE_CONFIG_H -I../include -I../src
-I/home/HOMS/x2stover/src//include
-I/opt/crosscompilers/win32/mingw/include -DLIBSSH2_WIN32
-DWINSOCK_VERSION=0x0200 -MT global.lo -MD -MP -MF .deps/global.Tpo -c
global.c -o global.o >/dev/null 2>&1
/bin/bash ../libtool --tag=CC --mode=link i686-mingw32-gcc
-DLIBSSH2_WIN32 -DWINSOCK_VERSION=0x0200 -o libssh2.la -rpath
/opt/crosscompilers/win32/mingw/lib -version-info 1:1:0 -no-undefined
-export-symbols-regex '^libssh2_.*' -L/home/HOMS/x2stover/src//lib -lssl
-L/home/HOMS/x2stover/src//lib -lcrypto
-L/opt/crosscompilers/win32/mingw/lib -lz channel.lo comp.lo crypt.lo
hostkey.lo kex.lo mac.lo misc.lo packet.lo publickey.lo scp.lo session.lo
sftp.lo userauth.lo transport.lo version.lo knownhost.lo agent.lo
openssl.lo libgcrypt.lo pem.lo keepalive.lo global.lo -lws2_32
*** Warning: linker path does not have real file for library -lcrypto.
*** I have the capability to make that library automatically link in when
*** you link to this library. But I can only do this if you have a
*** shared version of the library, which you do not appear to have
*** because I did check the linker path looking for a file starting
*** with libcrypto and none of the candidates passed a file format test
*** using a file magic. Last file checked:
/home/HOMS/x2stover/src//lib/libcrypto.a
*** The inter-library dependencies that have been dropped here will be
*** automatically added whenever a program is linked with this library
*** or is declared to -dlopen it.
*** Since this library must not contain undefined symbols,
*** because either the platform does not support them or
*** it was explicitly requested with -no-undefined,
*** libtool will only create a static version of it.
libtool: link: i686-mingw32-ar cru .libs/libssh2.a channel.o comp.o
crypt.o hostkey.o kex.o mac.o misc.o packet.o publickey.o scp.o session.o
sftp.o userauth.o transport.o version.o knownhost.o agent.o openssl.o
libgcrypt.o pem.o keepalive.o global.o
libtool: link: i686-mingw32-ranlib .libs/libssh2.a
libtool: link: ( cd ".libs" && rm -f "libssh2.la" && ln -s "../libssh2.la"
"libssh2.la" )
make[2]: Leaving directory
`/home/HOMS/x2stover/src/libssh2-1.2.7-20100616/src'
make[1]: Leaving directory
`/home/HOMS/x2stover/src/libssh2-1.2.7-20100616/src'
Making all in example
make[1]: Entering directory
`/home/HOMS/x2stover/src/libssh2-1.2.7-20100616/example'
make all-am
make[2]: Entering directory
`/home/HOMS/x2stover/src/libssh2-1.2.7-20100616/example'
if i686-mingw32-gcc -DHAVE_CONFIG_H -I../include -I../example
-I/home/HOMS/x2stover/src//include
-I/opt/crosscompilers/win32/mingw/include -DLIBSSH2_WIN32
-DWINSOCK_VERSION=0x0200 -MT direct_tcpip.o -MD -MP -MF
".deps/direct_tcpip.Tpo" -c -o direct_tcpip.o direct_tcpip.c; \
then mv -f ".deps/direct_tcpip.Tpo" ".deps/direct_tcpip.Po"; else rm -f
".deps/direct_tcpip.Tpo"; exit 1; fi
/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'
direct_tcpip.o:direct_tcpip.c:(.text+0x272): undefined reference to
`__imp__libssh2_session_init_ex'
direct_tcpip.o:direct_tcpip.c:(.text+0x2c6): undefined reference to
`__imp__libssh2_session_startup'
direct_tcpip.o:direct_tcpip.c:(.text+0x312): undefined reference to
`__imp__libssh2_hostkey_hash'
direct_tcpip.o:direct_tcpip.c:(.text+0x3b8): undefined reference to
`__imp__libssh2_userauth_list'
direct_tcpip.o:direct_tcpip.c:(.text+0x4d0): undefined reference to
`__imp__libssh2_userauth_password_ex'
direct_tcpip.o:direct_tcpip.c:(.text+0x555): undefined reference to
`__imp__libssh2_userauth_publickey_fromfile_ex'
direct_tcpip.o:direct_tcpip.c:(.text+0x783): undefined reference to
`__imp__libssh2_channel_direct_tcpip_ex'
direct_tcpip.o:direct_tcpip.c:(.text+0x7ce): undefined reference to
`__imp__libssh2_session_set_blocking'
direct_tcpip.o:direct_tcpip.c:(.text+0x954): undefined reference to
`__imp__libssh2_channel_write_ex'
direct_tcpip.o:direct_tcpip.c:(.text+0x9bc): undefined reference to
`__imp__libssh2_channel_read_ex'
direct_tcpip.o:direct_tcpip.c:(.text+0xa61): undefined reference to
`__imp__libssh2_channel_eof'
direct_tcpip.o:direct_tcpip.c:(.text+0xab7): undefined reference to
`__imp__libssh2_channel_free'
direct_tcpip.o:direct_tcpip.c:(.text+0xadc): undefined reference to
`__imp__libssh2_session_disconnect_ex'
direct_tcpip.o:direct_tcpip.c:(.text+0xae9): undefined reference to
`__imp__libssh2_session_free'
direct_tcpip.o:direct_tcpip.c:(.text+0xafe): undefined reference to
`__imp__libssh2_exit'
collect2: ld returned 1 exit status
make[2]: *** [direct_tcpip.exe] Error 1
make[2]: Leaving directory
`/home/HOMS/x2stover/src/libssh2-1.2.7-20100616/example'
make[1]: *** [all] Error 2
make[1]: Leaving directory
`/home/HOMS/x2stover/src/libssh2-1.2.7-20100616/example'
make: *** [all-recursive] Error 1
-- www.thomasstover.com
_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel