[Expat-bugs] [Bug #130878] make: Fatal error: Command failed for target `xmltok.lo'

noreply@sourceforge.net noreply@sourceforge.net
Fri, 02 Feb 2001 13:10:37 -0800


Bug #130878, was updated on 2001-Feb-02 07:38
Here is a current snapshot of the bug.

Project: Expat XML Parser
Category: Build control
Status: Open
Resolution: None
Bug Group: None
Priority: 5
Submitted by: bobn
Assigned to : nobody
Summary: make: Fatal error: Command failed for target `xmltok.lo'

Details: 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


Follow-Ups:

Date: 2001-Feb-02 13:10
By: bobn

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

For detailed info, follow this link:
http://sourceforge.net/bugs/?func=detailbug&bug_id=130878&group_id=10127