[Expat-bugs] [Bug #124334] ERROR: to many arguments to cpp when compiling on HP-UX.11

noreply@sourceforge.net noreply@sourceforge.net
Tue, 5 Dec 2000 08:19:40 -0800


Bug #124334, was updated on 2000-Dec-04 02:08
Here is a current snapshot of the bug.

Project: Expat XML Parser
Category: None
Status: Open
Resolution: None
Bug Group: None
Priority: 5
Submitted by: maspsr
Assigned to : Nobody
Summary: ERROR: to many arguments to cpp when compiling on HP-UX.11

Details: HI,

I have just downloaded the expat-1.95.1 required by a Perl module XML::Parser.
When trying to make I get the following error:

(My platform is HPUX.11.0 using ANSI C compiler and gnus'a make)

# make
cd lib; make
make[1]: Entering directory `/home/packages/expat-1.95.1/lib'
/bin/sh ../libtool --mode=compile cc -DHAVE_CONFIG_H -DPACKAGE=expat -DVERSION=expat_1.95.1 -I. -I..  -g -c xmlparse.c
rm -f .libs/xmlparse.lo
cc -DHAVE_CONFIG_H -DPACKAGE=\"expat\" -DVERSION=\"expat_1.95.1\" -I. -I.. -g -Wp,-MD,.deps/xmlparse.pp -c xmlparse.c  +Z -DPIC -o .libs/xmlparse.lo
cpp: error 3: Too many arguments to cpp.
make[1]: *** [xmlparse.lo] Error 1
make[1]: Leaving directory `/home/packages/expat-1.95.1/lib'
make: *** [lib] Error 2


What is wrong??

regards and thanks

Peter Sørensen/University of Southern Denmark/e-mail: maspsr@dou.sdu.dk

Follow-Ups:

Date: 2000-Dec-05 08:19
By: Nobody

Comment:
What compiler do you use ?
Try /opt/ansic/bin/cc and you will gat rid of this.
BUT I didn't got it running yet !
-------------------------------------------------------

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