[ expat-Bugs-445893 ] Make fails

noreply@sourceforge.net noreply@sourceforge.net
Thu Nov 8 20:24:01 2001


Bugs item #445893, was opened at 2001-07-30 02:27
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=110127&aid=445893&group_id=10127

Category: Build control
Group: None
Status: Closed
Resolution: None
Priority: 5
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Fred L. Drake, Jr. (fdrake)
Summary: Make fails

Initial Comment:
Im tryin to compile expat-1.95.2 under redhat 5.2.
But im getting this error:

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 `/root/tmp/expat-1.95.2/lib'
make: *** [lib] Error 2




----------------------------------------------------------------------

>Comment By: Fred L. Drake, Jr. (fdrake)
Date: 2001-11-08 20:20

Message:
Logged In: YES 
user_id=3066

This is at least partially improved by configure.h revision
1.25, which avoids the -fexceptions problem with versions of
GCC that don't support it.

----------------------------------------------------------------------

Comment By: Liang Chen (lchen2001)
Date: 2001-11-08 09:51

Message:
Logged In: YES 
user_id=371181

I got the same error on Sun SPARC Solaris 8 with gcc version 3.0.1.

Can you help to resolve this problem?

----------------------------------------------------------------------

Comment By: Fred L. Drake, Jr. (fdrake)
Date: 2001-08-09 10:39

Message:
Logged In: YES 
user_id=3066

Are you using a compiler other than GCC?  The configure
script seems to think you're using GCC or the -fexceptions
would not be on the command line.  If you are using GCC,
what version?


----------------------------------------------------------------------

Comment By: Gudleik Rasch (rastamatra)
Date: 2001-08-08 02:10

Message:
Logged In: YES 
user_id=273240

I get the same error when trying to compile on FreeBSD
3.4-RELEASE.

----------------------------------------------------------------------

You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=110127&aid=445893&group_id=10127