[Expat-discuss] Re: possible build issue fix

Carlos Pereira carlos@pehoe.civil.ist.utl.pt
Thu Nov 8 13:40:02 2001


>Did the final (successful) make include in the output?

>cc1: Invalid option `-fexceptions'

Definitely not, see below the whole output,
in out (make 2> out) I got a single line with this warning:
(as I said, this is a rather old Linux distribution ;-) ...)

xmlrole.c:7: warning: `RCSId' defined but not used

Carlos

-------------------------------------------------------
make 2> out
cd lib && make
make[1]: Entering directory `/tmp/expat-1.95.2/lib'
/bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -DPACKAGE='"@PACKAGE@"' -DVERSION='"@PACKAGE@_@VERSION@"' -I. -I. -I..  -g -O2 -Wall -Wmissing-prototypes -Wstrict-prototypes -c xmlparse.c
mkdir .libs
gcc -DHAVE_CONFIG_H -DPACKAGE=\"@PACKAGE@\" -DVERSION=\"@PACKAGE@_@VERSION@\" -I. -I. -I.. -g -O2 -Wall -Wmissing-prototypes -Wstrict-prototypes -c xmlparse.c  -fPIC -DPIC -o .libs/xmlparse.lo
gcc -DHAVE_CONFIG_H -DPACKAGE=\"@PACKAGE@\" -DVERSION=\"@PACKAGE@_@VERSION@\" -I. -I. -I.. -g -O2 -Wall -Wmissing-prototypes -Wstrict-prototypes -c xmlparse.c -o xmlparse.o >/dev/null 2>&1
mv -f .libs/xmlparse.lo xmlparse.lo
/bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -DPACKAGE='"@PACKAGE@"' -DVERSION='"@PACKAGE@_@VERSION@"' -I. -I. -I..  -g -O2 -Wall -Wmissing-prototypes -Wstrict-prototypes -c xmltok.c
rm -f .libs/xmltok.lo
gcc -DHAVE_CONFIG_H -DPACKAGE=\"@PACKAGE@\" -DVERSION=\"@PACKAGE@_@VERSION@\" -I. -I. -I.. -g -O2 -Wall -Wmissing-prototypes -Wstrict-prototypes -c xmltok.c  -fPIC -DPIC -o .libs/xmltok.lo
gcc -DHAVE_CONFIG_H -DPACKAGE=\"@PACKAGE@\" -DVERSION=\"@PACKAGE@_@VERSION@\" -I. -I. -I.. -g -O2 -Wall -Wmissing-prototypes -Wstrict-prototypes -c xmltok.c -o xmltok.o >/dev/null 2>&1
mv -f .libs/xmltok.lo xmltok.lo
/bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -DPACKAGE='"@PACKAGE@"' -DVERSION='"@PACKAGE@_@VERSION@"' -I. -I. -I..  -g -O2 -Wall -Wmissing-prototypes -Wstrict-prototypes -c xmlrole.c
rm -f .libs/xmlrole.lo
gcc -DHAVE_CONFIG_H -DPACKAGE=\"@PACKAGE@\" -DVERSION=\"@PACKAGE@_@VERSION@\" -I. -I. -I.. -g -O2 -Wall -Wmissing-prototypes -Wstrict-prototypes -c xmlrole.c  -fPIC -DPIC -o .libs/xmlrole.lo
gcc -DHAVE_CONFIG_H -DPACKAGE=\"@PACKAGE@\" -DVERSION=\"@PACKAGE@_@VERSION@\" -I. -I. -I.. -g -O2 -Wall -Wmissing-prototypes -Wstrict-prototypes -c xmlrole.c -o xmlrole.o >/dev/null 2>&1
mv -f .libs/xmlrole.lo xmlrole.lo
/bin/sh ../libtool --mode=link  gcc -version-info 1:0:1 -g -O2 -Wall -Wmissing-prototypes -Wstrict-prototypes  -o libexpat.la -rpath /usr/local/lib  xmlparse.lo xmltok.lo xmlrole.lo
rm -fr .libs/libexpat.la .libs/libexpat.* .libs/libexpat.*
gcc -shared  xmlparse.lo xmltok.lo xmlrole.lo  -lc  -Wl,-soname -Wl,libexpat.so.0 -o .libs/libexpat.so.0.1.0
(cd .libs && rm -f libexpat.so.0 && ln -s libexpat.so.0.1.0 libexpat.so.0)
(cd .libs && rm -f libexpat.so && ln -s libexpat.so.0.1.0 libexpat.so)
ar cru .libs/libexpat.a  xmlparse.o xmltok.o xmlrole.o 
ranlib .libs/libexpat.a
creating libexpat.la
(cd .libs && rm -f libexpat.la && ln -s ../libexpat.la libexpat.la)
make[1]: Leaving directory `/tmp/expat-1.95.2/lib'
cd xmlwf && make
make[1]: Entering directory `/tmp/expat-1.95.2/xmlwf'
gcc -g -O2 -Wall -Wmissing-prototypes -Wstrict-prototypes -I../lib   -c xmlwf.c -o xmlwf.o
gcc -g -O2 -Wall -Wmissing-prototypes -Wstrict-prototypes -I../lib   -c xmlfile.c -o xmlfile.o
gcc -g -O2 -Wall -Wmissing-prototypes -Wstrict-prototypes -I../lib   -c codepage.c -o codepage.o
gcc -g -O2 -Wall -Wmissing-prototypes -Wstrict-prototypes -I../lib   -c unixfilemap.c -o unixfilemap.o
gcc -o xmlwf -static xmlwf.o xmlfile.o codepage.o unixfilemap.o -L../lib/.libs -lexpat
make[1]: Leaving directory `/tmp/expat-1.95.2/xmlwf'