bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

uname: build problem on win32


From: Sam Steingold
Subject: uname: build problem on win32
Date: Fri, 07 Aug 2009 16:02:29 -0400
User-agent: Thunderbird 2.0.0.18 (X11/20081120)

make[4]: Entering directory `/cygdrive/c/sds/dev/current/build-mingw-1/syscalls/
gllib'
gcc -mno-cygwin -DHAVE_CONFIG_H -I. -I/cygdrive/c/sds/dev/current/modules/syscal
ls/gllib -I..   -I/cygdrive/c/sds/top/include -Ic:/sds/dev/current/build-mingw-1
/gllib  -g -O2 -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -W
missing-declarations -Wno-sign-compare -Wno-format-nonliteral -falign-functions=
4 -D_WIN32 -g -O0 -DDEBUG_OS_ERROR -DDEBUG_SPVW -DDEBUG_BYTECODE -DSAFETY=3 -DUN
ICODE -DNO_TERMCAP_NCURSES -DDYNAMIC_FFI -DDYNAMIC_MODULES -DNO_GETTEXT -I. -fPI
C -Ic:/sds/dev/current/build-mingw-1/linkkit/.. -MT close-hook.o -MD -MP -MF .de
ps/close-hook.Tpo -c -o close-hook.o /cygdrive/c/sds/dev/current/modules/syscall
s/gllib/close-hook.c
/cygdrive/c/sds/dev/current/modules/syscalls/gllib/close-hook.c:1: warning: -fPI
C ignored for target (all code is position independent)
mv -f .deps/close-hook.Tpo .deps/close-hook.Po
gcc -mno-cygwin -DHAVE_CONFIG_H -I. -I/cygdrive/c/sds/dev/current/modules/syscal
ls/gllib -I..   -I/cygdrive/c/sds/top/include -Ic:/sds/dev/current/build-mingw-1
/gllib  -g -O2 -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -W
missing-declarations -Wno-sign-compare -Wno-format-nonliteral -falign-functions=
4 -D_WIN32 -g -O0 -DDEBUG_OS_ERROR -DDEBUG_SPVW -DDEBUG_BYTECODE -DSAFETY=3 -DUN
ICODE -DNO_TERMCAP_NCURSES -DDYNAMIC_FFI -DDYNAMIC_MODULES -DNO_GETTEXT -I. -fPI
C -Ic:/sds/dev/current/build-mingw-1/linkkit/.. -MT sockets.o -MD -MP -MF .deps/
sockets.Tpo -c -o sockets.o /cygdrive/c/sds/dev/current/modules/syscalls/gllib/s
ockets.c
/cygdrive/c/sds/dev/current/modules/syscalls/gllib/sockets.c:1: warning: -fPIC i
gnored for target (all code is position independent)
mv -f .deps/sockets.Tpo .deps/sockets.Po
gcc -mno-cygwin -DHAVE_CONFIG_H -I. -I/cygdrive/c/sds/dev/current/modules/syscal
ls/gllib -I..   -I/cygdrive/c/sds/top/include -Ic:/sds/dev/current/build-mingw-1
/gllib  -g -O2 -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -W
missing-declarations -Wno-sign-compare -Wno-format-nonliteral -falign-functions=
4 -D_WIN32 -g -O0 -DDEBUG_OS_ERROR -DDEBUG_SPVW -DDEBUG_BYTECODE -DSAFETY=3 -DUN
ICODE -DNO_TERMCAP_NCURSES -DDYNAMIC_FFI -DDYNAMIC_MODULES -DNO_GETTEXT -I. -fPI
C -Ic:/sds/dev/current/build-mingw-1/linkkit/.. -MT gethostname.o -MD -MP -MF .d
eps/gethostname.Tpo -c -o gethostname.o /cygdrive/c/sds/dev/current/modules/sysc
alls/gllib/gethostname.c
/cygdrive/c/sds/dev/current/modules/syscalls/gllib/gethostname.c:1: warning: -fP
IC ignored for target (all code is position independent)
In file included from /cygdrive/c/sds/dev/current/modules/syscalls/gllib/gethost
name.c:83:
/cygdrive/c/sds/dev/current/modules/syscalls/gllib/w32sock.h: In function `set_w
insock_errno':
/cygdrive/c/sds/dev/current/modules/syscalls/gllib/w32sock.h:34: warning: implic
it declaration of function `WSAGetLastError'
/cygdrive/c/sds/dev/current/modules/syscalls/gllib/w32sock.h:35: warning: implic
it declaration of function `WSASetLastError'
/cygdrive/c/sds/dev/current/modules/syscalls/gllib/w32sock.h:40: error: `WSA_INV
ALID_HANDLE' undeclared (first use in this function)
/cygdrive/c/sds/dev/current/modules/syscalls/gllib/w32sock.h:40: error: (Each un
declared identifier is reported only once
/cygdrive/c/sds/dev/current/modules/syscalls/gllib/w32sock.h:40: error: for each
 function it appears in.)
/cygdrive/c/sds/dev/current/modules/syscalls/gllib/w32sock.h:43: error: `WSA_NOT
_ENOUGH_MEMORY' undeclared (first use in this function)
/cygdrive/c/sds/dev/current/modules/syscalls/gllib/w32sock.h:46: error: `WSA_INV
ALID_PARAMETER' undeclared (first use in this function)
/cygdrive/c/sds/dev/current/modules/syscalls/gllib/w32sock.h:49: error: `WSAEWOU
LDBLOCK' undeclared (first use in this function)
/cygdrive/c/sds/dev/current/modules/syscalls/gllib/w32sock.h:52: error: `WSAENAM
ETOOLONG' undeclared (first use in this function)
/cygdrive/c/sds/dev/current/modules/syscalls/gllib/w32sock.h:55: error: `WSAENOT
EMPTY' undeclared (first use in this function)
In file included from ./sys/socket.h:111,
                 from /cygdrive/c/sds/dev/current/modules/syscalls/gllib/sockets
.h:37,
                 from /cygdrive/c/sds/dev/current/modules/syscalls/gllib/gethost
name.c:85:
/usr/lib/gcc/i686-pc-mingw32/3.4.4/../../../../include/w32api/winsock2.h: At top
 level:
/usr/lib/gcc/i686-pc-mingw32/3.4.4/../../../../include/w32api/winsock2.h:593: er
ror: conflicting types for 'WSASetLastError'
/cygdrive/c/sds/dev/current/modules/syscalls/gllib/w32sock.h:35: error: previous
 implicit declaration of 'WSASetLastError' was here
/usr/lib/gcc/i686-pc-mingw32/3.4.4/../../../../include/w32api/winsock2.h:594: er
ror: conflicting types for 'WSAGetLastError'
/cygdrive/c/sds/dev/current/modules/syscalls/gllib/w32sock.h:34: error: previous
 implicit declaration of 'WSAGetLastError' was here
/cygdrive/c/sds/dev/current/modules/syscalls/gllib/gethostname.c:91: warning: no
 previous declaration for 'rpl_gethostname'
make[4]: *** [gethostname.o] Error 1
make[4]: Leaving directory `/cygdrive/c/sds/dev/current/build-mingw-1/syscalls/g
llib'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/cygdrive/c/sds/dev/current/build-mingw-1/syscalls/g


when I do "make syscalls" again, I get this:

make[2]: Entering directory `/cygdrive/c/sds/dev/current/build-mingw-1/syscalls/gllib'
.deps/close-hook.Po:1: *** multiple target patterns.  Stop.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]