Problem building for win32

"Juergen_Weber" at Schwaebisch-Hall.de "Juergen_Weber" at Schwaebisch-Hall.de
Tue Mar 9 12:02:44 CET 1999



Werner Koch wrote
> The cross compiler works just fine (Although I should update it to use
> egcs with some builtin mingw32 support).


First Problem is,

there is a typo in http://www.roads.lut.ac.uk/lists/g10/1999/02/0022.html
Correct is "./configure --target=i386--mingw32"  (the typo was i386--ming32)

What about putting the way to build for win32 on the gnupg docu page ?


Then I tried


[root at lisa-t7 gnupg-0.9.3]# make
make  all-recursive
make[1]: Entering directory `/opt/gnupg-0.9.3'
Making all in intl
make[2]: Entering directory `/opt/gnupg-0.9.3/intl'
make[2]: *** No rule to make target `all-', needed by `all'.  Stop.
make[2]: Leaving directory `/opt/gnupg-0.9.3/intl'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/opt/gnupg-0.9.3'
make: *** [all-recursive-am] Error 2

[changed "all: all-" to "all: all-no"]


i386--mingw32-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../intl    -g -O2
-Wall -Wcast-align -Wshadow -Wstrict-prototypes -c ttyio.c
ttyio.c:31: windows.h: No such file or directory

[set symlink to windows.h from mingw32-cpd-0.1]

In file included from /usr/local/include/windows.h:57,
                 from ttyio.c:32:
/usr/local/include/Windows32/Sockets.h:95: warning: redefinition of `u_char'
/usr/include/sys/types.h:33: warning: `u_char' previously declared here
/usr/local/include/Windows32/Sockets.h:96: warning: redefinition of `u_short'
/usr/include/sys/types.h:34: warning: `u_short' previously declared here
/usr/local/include/Windows32/Sockets.h:97: warning: redefinition of `u_int'
/usr/include/sys/types.h:35: warning: `u_int' previously declared here
/usr/local/include/Windows32/Sockets.h:98: warning: redefinition of `u_long'
/usr/include/sys/types.h:36: warning: `u_long' previously declared here
/usr/local/include/Windows32/Sockets.h:123: conflicting types for `fd_set'
/usr/include/sys/select.h:48: previous declaration of `fd_set'
/usr/local/include/Windows32/Sockets.h:792: conflicting types for `select'
/usr/include/sys/select.h:76: previous declaration of `select'
/usr/local/include/Windows32/Sockets.h:813: conflicting types for `gethostname'
/usr/include/unistd.h:662: previous declaration of `gethostname'

[gave up]






More information about the Gnupg-devel mailing list