[Expat-bugs] [ expat-Bugs-230878 ] make: Fatal error: Command failed for target `xmltok.lo'

noreply@sourceforge.net noreply@sourceforge.net
Wed, 04 Apr 2001 18:30:42 -0700


Bugs item #230878, was updated on 2001-02-02 07:38
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=110127&aid=230878&group_id=10127

Category: Build control
Group: None
Status: Open
Priority: 5
Submitted By: Bob Nurre (bobn)
>Assigned to: Greg Stein (gstein)
Summary: make: Fatal error: Command failed for target `xmltok.lo'

Initial Comment:
gcc -traditional -DHAVE_CONFIG_H -DPACKAGE=\expat\ -DVERSION=\expat_1.95.1\ -I. -I.. -g -O2 -Wp,-MD,.deps/xmltok.pp -c xmltok.c  -fPIC -DPIC -o .libs/xmltok.lo
In file included from xmltok.c:1551:
xmltok_ns.c:31: macro `NS' used with too many (4) args
xmltok_ns.c:38: macro `NS' used with too many (4) args
xmltok_ns.c:43: macro `NS' used with too many (3) args
xmltok_ns.c:58: macro `NS' used with too many (3) args
xmltok_ns.c:85: macro `NS' used with too many (10) args
*** Error code 1
make: Fatal error: Command failed for target `xmltok.lo'

------

gcc -v
Reading specs from /usr/local/lib/gcc-lib/sparc-sun-solaris2.6/2.8.1/specs
gcc version 2.8.1


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

Comment By: Bob Nurre (bobn)
Date: 2001-02-02 13:10

Message:
To by-pass this problem, remove '-traditional' from gcc.

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

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