compile errors with glibc 2.3.3

Nerijus Baliunas nerijus at users.sourceforge.net
Mon Mar 22 20:25:23 CST 2004


Hello,

trying to build wine-20040309 in separate build directory.
../wine-20040309/configure completed correctly, but running
make depend gives me:

cd ./tools && make `basename tools/makedep`
make[1]: Entering directory `/usr/src/wine-build/tools'
gcc -c -I../../wine-20040309/tools -I. -I../../wine-20040309/include -I../include  -DLEX_OUTPUT_ROOT="\"lex.yy\""  -Wall -pipe -mpreferred-stack-boundary=2 -fno-strict-aliasing -gstabs+ -Wpointer-arith  -g -O2 -o makedep.o ../../wine-20040309/tools/makedep.c
In file included from ../../wine-20040309/tools/makedep.c:21:
../include/config.h:871:27: missing terminating " character

config.h line 871 is:
#define SONAME_LIBNCURSES "libncurses.so.5
(really missing terminating " here)

configure output was:
checking ncurses.h usability... yes
checking ncurses.h presence... yes
checking for ncurses.h... yes
checking for waddch in -lncurses... yes
...
checking for -lncurses soname... libncurses.so.5
libncurses.so.4
checking for -lcurses soname... libcurses.so

I have both libncurses.so.4 and libncurses.so.5 on my system:
# rpm -qf libncurses.so.4.0 libncurses.so.5.3
ncurses4-5.0-12
ncurses-5.3-9

After adding missing " I get the next error:

In file included from ../../wine-20040309/tools/makedep.c:23:
../../wine-20040309/include/wine/port.h:53: error: conflicting types for `mode_t'
/usr/include/sys/types.h:72: error: previous declaration of `mode_t'

# rpm -qf /usr/include/sys/types.h
glibc-headers-2.3.3-17 (from Fedora devel)

types.h 71 line:
#ifndef __mode_t_defined 
typedef __mode_t mode_t;
# define __mode_t_defined 
#endif 

After commenting out lines 52-72 of include/wine/port.h
make depend completed successfully, but make failed with more
errors:

In file included from ../../../wine-20040309/libs/port/getpagesize.c:22:
../../../wine-20040309/include/wine/port.h:251: error: conflicting types for `getpagesize'
/usr/include/unistd.h:872: error: previous declaration of `getpagesize'
../../../wine-20040309/include/wine/port.h:259: error: conflicting types for `lstat'
/usr/include/sys/stat.h:365: error: previous declaration of `lstat'
...

After fixing these by commenting out more lines I got more errors
and stopped here.

Regards,
Nerijus



More information about the wine-devel mailing list