Crossfire Mailing List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Crossedit compile errors.




There was a request to see what errors get reported when crossedit fails to compile.  Below is a script  
of my make.  I'm on a NeXT running NS 3.2, gcc 2.5.6, and the latest X11R5 MouseX.  I've tried several  
variations, using the systems cc (Which is gcc 2.2.2. This reports "undefined type" instead of "parse  
error", but generally in exactly the same places.)  Also by defining __POSIX in Posix.h as someone  
recommended.  Any help or suggestions would be greatly appreciated.

Michael

------------- Begin script --------------
make[1]: Entering directory `/Internal/stuff/crossfire/crossfire-0.90.1/crossedit/Cnv'
gcc -DNeXT -DBSD -DMACH -O2   -I. -I../include -I../../include   -DX_NOT_POSIX -DX_NOT_STDC_ENV  
-DX_LOCALE -DLONGJUMP -DStupidSunHeaders -DXpm_Pix -DFUNCPROTO=7 -DNARROWPROTO  
-DFONTDIR=\"/games/lib/crossfiredir/fonts\" -DFONTNAME=\"crossfire\"           
-DLIBDIR=\"/games/lib/crossfiredir\" -DCOMPRESS=\"/usr/local/bin/gzip\"  
-DUNCOMPRESS=\"/usr/local/bin/gunzip\" -DCOMPRESS_SUFFIX=\".gz\"   -c test.c -o test.o
In file included from ../include/Posix.h:23,
                 from Cnv.h:27,
                 from test.c:1:
/usr/local/lib/gcc-lib/next-mach3.2/2.5.6/include/bsd/sys/stat.h:76: parse error before `mode_t'
/usr/local/lib/gcc-lib/next-mach3.2/2.5.6/include/bsd/sys/stat.h:76: warning: no semicolon at end of  
struct or union
/usr/local/lib/gcc-lib/next-mach3.2/2.5.6/include/bsd/sys/stat.h:78: warning: data definition has no  
type or storage class
/usr/local/lib/gcc-lib/next-mach3.2/2.5.6/include/bsd/sys/stat.h:99: parse error before `}'
/usr/local/lib/gcc-lib/next-mach3.2/2.5.6/include/bsd/sys/stat.h:219: parse error before `mode_t'
/usr/local/lib/gcc-lib/next-mach3.2/2.5.6/include/bsd/sys/stat.h:220: parse error before `mode_t'
/usr/local/lib/gcc-lib/next-mach3.2/2.5.6/include/bsd/sys/stat.h:221: parse error before `mode_t'
/usr/local/lib/gcc-lib/next-mach3.2/2.5.6/include/bsd/sys/stat.h:222: parse error before `umask'
/usr/local/lib/gcc-lib/next-mach3.2/2.5.6/include/bsd/sys/stat.h:222: parse error before `cmask'
/usr/local/lib/gcc-lib/next-mach3.2/2.5.6/include/bsd/sys/stat.h:222: warning: data definition has no  
type or storage class
In file included from /NextDeveloper/Headers/bsd/dirent.h:12,
                 from ../include/Posix.h:29,
                 from Cnv.h:27,
                 from test.c:1:
/NextDeveloper/Headers/bsd/sys/dirent.h:60: `NAME_MAX' undeclared here (not in a function)
/NextDeveloper/Headers/bsd/sys/dirent.h:60: size of array `d_name' has non-integer type
In file included from /NextDeveloper/Headers/bsd/fcntl.h:1,
                 from ../include/Posix.h:33,
                 from Cnv.h:27,
                 from test.c:1:
/usr/local/lib/gcc-lib/next-mach3.2/2.5.6/include/bsd/sys/fcntl.h:161: parse error before `pid_t'
/usr/local/lib/gcc-lib/next-mach3.2/2.5.6/include/bsd/sys/fcntl.h:161: warning: no semicolon at end of  
struct or union
/usr/local/lib/gcc-lib/next-mach3.2/2.5.6/include/bsd/sys/fcntl.h:167: parse error before `}'
/usr/local/lib/gcc-lib/next-mach3.2/2.5.6/include/bsd/sys/fcntl.h:171: parse error before `mode_t'