Problems with the new -DNO_LIBWINE on i386-mingw

Steven Edwards Steven_Ed4153 at yahoo.com
Tue May 7 06:47:33 CDT 2002


Should I need to build libwine if I'm just building tools, programs and
dlls? I have no need of wineserver for the mingw port but I will need it
for the cygwin port. Here is the command line I have been using with the
new port.h changes

./configure --host=mingw32 --target=mingw32 --build=mingw32
CFLAGS="-D__MINGW__ -D_WINDOWS -DWINE_NOWINSOCK -DNO_LIBWINE" CC="gcc
-mno-cygwin" CXX="gcc -mno-cygwin"

winebuild:
gcc -mno-cygwin -c -I. -I. -I../../include -I../../include  -D__MINGW__
-D_WINDO
WS -DWINE_NOWINSOCK -DNO_LIBWINE -Wall -mpreferred-stack-boundary=2
-D__WINE__ -
D_REENTRANT  -o import.o import.c
import.c: In function `warn_unused':
import.c:289: `strcasecmp_is_not_portable' undeclared (first use in this
functio
n)
import.c:289: (Each undeclared identifier is reported only once
import.c:289: for each function it appears in.)
import.c:289: parse error before `strcasecmp_is_not_portable'
import.c:295: `strncasecmp_is_not_portable' undeclared (first use in
this functi
on)
import.c:295: parse error before `strncasecmp_is_not_portable'
import.c:287: warning: unused variable `len'
make: *** [import.o] Error 1

wrc:
utils.c: In function `dup_basename':
utils.c:177: `strcasecmp_is_not_portable' undeclared (first use in this
function
)
utils.c:177: (Each undeclared identifier is reported only once
utils.c:177: for each function it appears in.)
utils.c:177: parse error before `strcasecmp_is_not_portable'
utils.c:161: warning: unused variable `extlen'
utils.c:180: warning: control reaches end of non-void function
utils.c: In function `compare_name_id':
utils.c:273: `strcasecmp_is_not_portable' undeclared (first use in this
function
)
utils.c:273: parse error before `strcasecmp_is_not_portable'
make: *** [utils.o] Error 1

If I need to build libwine with my port even though I don't really need
a libwine.dll I can, it just is a little waste of time.

Thanks
Steven

"Every revolution was once a thought in one man's mind"
- Ralph Waldo Emerson 




More information about the wine-devel mailing list