winewrap.c bombs when building on mingw

Steven Edwards steven_ed4153 at yahoo.com
Fri Dec 13 10:44:59 CST 2002


Not that we need winewrap to port a windows apps to linux under mingw so I guess it could just be
removed from the build process.

gcc -D__MINGW__ -D_WINDOWS -DWINE_NOWINSOCK -Wall -mpreferred-stack-boundary=2
-o mingwrap mingwrap.o
gcc -c -I. -I. -I../include -I../include  -D__MINGW__ -D_WINDOWS -DWINE_NOWINSOC
K -Wall -mpreferred-stack-boundary=2  -DNO_LIBWINE -DLEX_OUTPUT_ROOT="\"lex.yy\"
" -DINCLUDEDIR="\"/usr/local/include/wine\"" -D_REENTRANT -o winewrap.o winewrap
.c
winewrap.c:28:22: sys/wait.h: No such file or directory
winewrap.c: In function `spawn':
winewrap.c:122: warning: implicit declaration of function `fork'
winewrap.c:123: warning: implicit declaration of function `wait'
winewrap.c:125: warning: implicit declaration of function `WEXITSTATUS'
winewrap.c: In function `main':
winewrap.c:258: `S_IRGRP' undeclared (first use in this function)
winewrap.c:258: (Each undeclared identifier is reported only once
winewrap.c:258: for each function it appears in.)
winewrap.c:258: `S_IXGRP' undeclared (first use in this function)
winewrap.c:258: `S_IROTH' undeclared (first use in this function)
winewrap.c:258: `S_IXOTH' undeclared (first use in this function)
make[1]: *** [winewrap.o] Error 1
make[1]: Leaving directory `/g/src/wine-dev/wine/tools'
make: *** [tools] Error 2

__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com



More information about the wine-devel mailing list