[Expat-bugs] [ expat-Bugs-224334 ] ERROR: to many arguments to cpp when compiling on HP-UX.11

noreply@sourceforge.net noreply@sourceforge.net
Mon, 26 Mar 2001 07:56:21 -0800


Bugs item #224334, was updated on 2000-12-04 02:08
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=110127&aid=224334&group_id=10127

Category: Build control
Group: None
Status: Open
Priority: 5
Submitted By: Peter Sørensen (maspsr)
Assigned to: Nobody/Anonymous (nobody)
Summary: ERROR: to many arguments to cpp when compiling on HP-UX.11

Initial Comment:
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

----------------------------------------------------------------------

Comment By: Ed Novack (enovack)
Date: 2001-03-26 07:56

Message:
Logged In: YES 
user_id=181381

I also have this problem, and I do use your suggested compiler.


----------------------------------------------------------------------

Comment By: Nobody/Anonymous (nobody)
Date: 2000-12-05 08:19

Message:
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 !

----------------------------------------------------------------------

You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=110127&aid=224334&group_id=10127