#20 ERROR: to many arguments to cpp when compiling on HP-UX.11

closed-fixed
nobody
5
2001-04-05
2000-12-04
Peter Sřrensen
No

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

Discussion

  • 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 !

     
    • labels: 100100 --> Build control
     
  • Eileen Novack
    Eileen Novack
    2001-03-26

    Logged In: YES
    user_id=181381

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

     
  • Eileen Novack
    Eileen Novack
    2001-03-26

    Logged In: YES
    user_id=181381

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

     
    • status: open --> closed-fixed
     
  • Logged In: YES
    user_id=3066

    Several of those options have disappeared in the CVS version. If the CVS version still fails for you, please open a new bug report.