On 20 Mar 2003, Norbert Koch <- viteno(a)xemacs.org wrote:
Using the current CVS sources for 21.4.12, I get the following build
error on CYGWIN_NT-5.0 1.3.21(0.77/3/2) i686:
gcc -c -g -O3 -Wall -Wno-switch -Winline -Wmissing-prototypes
-Wsign-compare -Wshadow -Wpointer-arith -Demacs -I. -DHAVE_CONFIG_H
-Wno-sign-compare -fno-caller-saves -I/usr/X11R6/include abbrev.c
In file included from abbrev.c:35:
lisp.h:2268: conflicting types for `intptr_t'
/usr/include/cygwin/types.h:172: previous declaration of `intptr_t'
lisp.h:2269: conflicting types for `uintptr_t'
/usr/include/cygwin/types.h:167: previous declaration of `uintptr_t'
make[1]: *** [abbrev.o] Error 1
I saw something similar on FreeBSD, but this has been fixed.
I don't know if it helps but I see here the same for 21.5.11
gcc -c -I/usr/lib/gcc-lib/i686-pc-cygwin/3.2/../../../../include/noX
-I/usr/lib/gcc-lib/i686-pc-cygwin/3.2/../../../../include/noX -Wall -Wno-switch -Winline
-Wmissing-prototypes -Wsign-compare -Wundef -Wstrict-prototypes -Wpacked -Wshadow
-Wmissing-declarations -Wpointer-arith -g -O3 -Demacs -I. -DHAVE_CONFIG_H
-I/usr/include/libpng/ -fno-caller-saves abbrev.c
In file included from abbrev.c:36:
lisp.h:801: conflicting types for `intptr_t'
/usr/include/cygwin/types.h:172: previous declaration of `intptr_t'
lisp.h:802: conflicting types for `uintptr_t'
/usr/include/cygwin/types.h:167: previous declaration of `uintptr_t'
make[1]: *** [abbrev.o] Error 1
make[1]: Leaving directory `/usr/src/cvs/xemacs-21.5/src'
make: *** [src] Fehler 2
Before that build I had the same error at another place
make[1]: Entering directory `/usr/src/cvs/xemacs-21.5/modules/postgresql'
gcc -I/usr/lib/gcc-lib/i686-pc-cygwin/3.2/../../../../include/noX
-I/usr/lib/gcc-lib/i686-pc-cygwin/3.2/../../../../include/noX -Wall -Wno-switch -Winline
-Wmissing-prototypes -Wsign-compare -Wundef -Wstrict-prototypes -Wpacked -Wshadow
-Wmissing-declarations -Wpointer-arith -g -O3 -I../../src
-I/usr/src/cvs/xemacs-21.5/modules/postgresql/../../src -c postgresql.c
In file included from postgresql.c:99:
../../src/lisp.h:801: conflicting types for `intptr_t'
/usr/include/cygwin/types.h:172: previous declaration of `intptr_t'
../../src/lisp.h:802: conflicting types for `uintptr_t'
/usr/include/cygwin/types.h:167: previous declaration of `uintptr_t'
make[1]: *** [postgresql.o] Error 1
make[1]: Leaving directory `/usr/src/cvs/xemacs-21.5/modules/postgresql'
make: *** [modules/postgresql] Fehler 2
Therefore I added `with-modules=no' to configure options but it didn't
help.
bye
Karl
--
'Twas brillig, and the slithy toves
Did gyre and gimble in the wabe;
All mimsy were the borogoves,
And the mome raths outgrabe. "Lewis Carroll" "Jabberwocky"