[Expat-discuss] Compile error using cc
Josh Martin
Josh.Martin@abq.sc.philips.com
Wed Jun 5 17:07:06 2002
You are using the C compiler that comes bundled with HPUX. This compiler is
only meant to be used to re-compile the kernel, and isn't really ANSI standard.
You either need to contact HP and have them send you the HP ANSI C compiler
package (I forget what the product name is, but that should be close enough), or
use the GNU C compiler (gcc), which _can_ be successfully built with the bundled
compiler.
- Josh Martin
> hi,
>
> I am trying to compile on HP UX 11i, it gives following error for make
>
> Entering directory `/home/ritesh/expat-1.95.2/lib'
> /bin/sh ../libtool --mode=compile cc -DHAVE_CONFIG_H -DPACKAGE='"expat"'
-DVERSION='"expat_1.95.2"' -I. -I. -I.. -c xmlparse.c
> cc -DHAVE_CONFIG_H -DPACKAGE=\"expat\" -DVERSION=\"expat_1.95.2\" -I. -I. -I..
-c xmlparse.c -o xmlparse.o
> (Bundled) cc: "expat.h", line 80: error 1000: Unexpected symbol: "XML_Char".
> (Bundled) cc: "expat.h", line 81: error 1000: Unexpected symbol: "*".
> (Bundled) cc: error 2017: Cannot recover from earlier errors, terminating.
>
> Any help is highly appreciated.
>
> Thanx
> Ritesh Garodia