[Expat-discuss] expat compilation

Carlos Pereira carlos@pehoe.civil.ist.utl.pt
Thu Sep 6 10:39:08 2001


Hi there,

I sucessfully compiled expat-1.2, expat-1.95.0 and expat-1.95.1
on my Intel-based system running GNU/Linux Red Hat 5.2, with
the usual ./configure, make, make install method.

However, when I try the same with expat-1.95.2 I get
the error below, during compilation. Disabling
the -fexceptions on lib/Makefile and xmlwf/Makefile 
doesn't help either.

What should I try? Thanks!

Carlos

make[1]: Entering directory `/tmp/expat-1.95.2/lib'
/bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -DPACKAGE='"expat"' -DVERSION='"expat_1.95.2"' -I. -I. -I..  -g -O2 -Wall -Wmissing-prototypes -Wstrict-prototypes -fexceptions -c xmlparse.c
mkdir .libs
gcc -DHAVE_CONFIG_H -DPACKAGE=\"expat\" -DVERSION=\"expat_1.95.2\" -I. -I. -I.. -g -O2 -Wall -Wmissing-prototypes -Wstrict-prototypes -fexceptions -c xmlparse.c  -fPIC -DPIC -o .libs/xmlparse.lo
cc1: Invalid option `-fexceptions'
xmlparse.c: In function `XML_GetBuffer':
xmlparse.c:1178: `punting' undeclared (first use this function)
xmlparse.c:1178: (Each undeclared identifier is reported only once
xmlparse.c:1178: for each function it appears in.)
xmlparse.c:1178: parse error before `on'
make[1]: *** [xmlparse.lo] Error 1
make[1]: Leaving directory `/tmp/expat-1.95.2/lib'
make: *** [lib] Error 2