Daniel Stenberg wrote:
> Unfortunately I can't say the same about doing the build with the
> Debian mingw compiler.

..

>  i586-mingw32msvc-gcc -DHAVE_CONFIG_H -I../../include -I../src 
> -I/home/dast/src/win32/include -Os -DLIBSSH2_WIN32 -DWINSOCK_VERSION=0x0200 
> -I/usr/include -MT channel.lo -MD -MP -MF .deps/channel.Tpo -c 
> ../../src/channel.c -o channel.o
> In file included from /usr/include/sys/select.h:46,
>                  from /usr/include/sys/types.h:220,
>                  from /usr/include/stdlib.h:320,
>                  from 
> /usr/lib/gcc/i586-mingw32msvc/4.2.1-sjlj/../../../../i586-mingw32msvc/include/objbase.h:12,
>                  from 
> /usr/lib/gcc/i586-mingw32msvc/4.2.1-sjlj/../../../../i586-mingw32msvc/include/ole2.h:9,
>                  from 
> /usr/lib/gcc/i586-mingw32msvc/4.2.1-sjlj/../../../../i586-mingw32msvc/include/windows.h:114,
>                  from ../../src/libssh2_priv.h:45,
>                  from ../../src/channel.c:38:
> /usr/include/bits/time.h:70: error: redefinition of 'struct timeval'

The problem here is that headers from /usr/include/ are mixed with
those from i586-mingw32msvc/include/ and that is never a good thing.

I'm afraid I don't know how to fix that on Debian. :\


//Peter

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
libssh2-devel mailing list
libssh2-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libssh2-devel

Reply via email to