[ expat-Bugs-693747 ] compile problem on HP-UX 11 with expat version > 1.95.4
"SourceForge.net" <[email protected]>
| Newsgroups | gmane.text.xml.expat.bugs |
|---|---|
| Message-ID | <[email protected]> |
Bugs item #693747, was opened at 2003-02-26 11:47 Message generated for change (Settings changed) made by fdrake You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=110127&aid=693747&group_id=10127 Category: Build control Group: Platform Specific Status: Open Resolution: None Priority: 5 Submitted By: Nobody/Anonymous (nobody) Assigned to: Greg Stein (gstein) >Summary: compile problem on HP-UX 11 with expat version > 1.95.4 Initial Comment: complie problem on HP-UX 11 with expat version > 1.95.4 ---------------------------------------- cc -w -O2 -I./lib -I. -o xmlwf/xmlwf.o -c xmlwf/xmlwf.c cc: "xmlwf/xmlwf.c", line 602: error 1000: Unexpected symbol: "*". cc: error 2017: Cannot recover from earlier errors, terminating. make: *** [xmlwf/xmlwf.o] Error 1 ______________________ ---------------------------------------------------------------------- Comment By: Chris Liebman (liebman) Date: 2004-01-18 18:09 Message: Logged In: YES user_id=55478 I get the same error when compiling on a system that has an older version of expat.h already installed. In my case I'm adding additional include dirs... they are being placed befor -I./lib and -I. resulting in: gcc -g -O2 -Wall -Wmissing-prototypes -Wstrict-prototypes -fexceptions -I/home/liebman/ats-rt/include -I/home/liebman/ats-rt/ext/include -I./lib -I. -o xmlwf/xmlwf.o -c xmlwf/xmlwf.c In file included from xmlwf/xmlwf.c:10: /home/liebman/ats-rt/ext/include/expat.h:704: warning: function declaration isn't a prototype xmlwf/xmlwf.c: In function `showVersion': xmlwf/xmlwf.c:602: error: syntax error before '*' token xmlwf/xmlwf.c:613: error: `features' undeclared (first use in this function) xmlwf/xmlwf.c:613: error: (Each undeclared identifier is reported only once xmlwf/xmlwf.c:613: error: for each function it appears in.) xmlwf/xmlwf.c:613: error: `XML_FEATURE_END' undeclared (first use in this function) make: *** [xmlwf/xmlwf.o] Error 1 ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=110127&aid=693747&group_id=10127