[ expat-Bugs-693747 ] compile problem on HP-UX 11 with expat version > 1.95.4
"SourceForge.net" <[email protected]> Thu, 27 Jan 2005 20:39:24 -0800
| 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 (Comment added) 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: None >Status: Closed >Resolution: Fixed Priority: 5 Submitted By: Nobody/Anonymous (nobody) >Assigned to: Fred L. Drake, Jr. (fdrake) 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: Fred L. Drake, Jr. (fdrake) Date: 2005-01-27 23:39 Message: Logged In: YES user_id=3066 The problem fixed by liebman is fixed in Makefile.in revision 1.50 (Expat 1.95.9). I'm closing this report under the suspicion that this is the same problem as described by the original poster. If the original problem persists with the changed Makefile, please follow up to this report or submit a new report. ---------------------------------------------------------------------- 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