[rrd-users] Re: FW: Compiling problems on HP-UX 10.20 with rr dtool rrdtool-1.0.28

yves.wouters at belgacom.be yves.wouters at belgacom.be
Thu Oct 12 14:34:35 MEST 2000


Hi Clifton,

Changing cc into gcc in the makefile has no result.

CC = gcc
CCCDLFLAGS = +z
CCDLFLAGS = -Wl,-E -Wl,-B,deferred
DLEXT = sl
DLSRC = dl_hpux.xs
LD = ld
"Makefile" 814 lines, 22571 characters
# make
        gcc -c -I../src -I../gd1.3 -Ae -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -O +Onolimit      -DVERSION=\"1.000281\"
-DXS_VERSION=\"1.000281\" +z -I/opt/perl5/lib/5.6.0/PA-RISC1.1/CORE
-DPERLPATCHLEVEL=6 RRDs.c
gcc: +Onolimit: No such file or directory
gcc: +z: No such file or directory
*Initialization*:1: missing token-sequence in `#assert'
*** Error exit code 1



Thanx for your suggestion.

Yves...



-----Original Message-----
From: Clifton Royston [ mailto:cliftonr at lava.net <mailto:cliftonr at lava.net>
]
Sent: Wednesday, October 11, 2000 9:43 PM
To: yves.wouters at belgacom.be
Cc: rrd-users at list.ee.ethz.ch
Subject: [rrd-users] Re: FW: Compiling problems on HP-UX 10.20 with
rrdtool rrdtool-1.0.28



On Wed, Oct 11, 2000 at 11:24:05AM +0200, yves.wouters at belgacom.be wrote:
> 
> I am trying to install rrdtool-1.0.28 on a HP-UX server but I encountered
> some problems.
> Compiling the "perl-shared" section gives me the following error.
> 
>          cc -c -I../src -I../gd1.3 -Ae -D_LARGEFILE_SOURCE
           ^^
> -D_FILE_OFFSET_BITS=64 -O +Onolimit      -DVERSION=\"1.000281\"
> -DXS_VERSION=\"1.000281\" +z -I/opt/perl5/lib/5.6.0/PA-RISC1.1/CORE
> -DPERLPATCHLEVEL=6 RRDs.c
> cc: +Onolimit: No such file or directory
> cc: +z: No such file or directory

  ^^

> *Initialization*:1: missing token-sequence in `#assert'
> *** Error exit code 1
>
> When I modify the makefile manualy (removing the +Onolimit and +z Flag)
> I received the following error.
>        
>     cc -c -I../src -I../gd1.3 -Ae -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64
      ^^

> -DVERSION=\"1.000281\"  -DXS_VERSION=\"1.000281\"
> -I/opt/perl5/lib/5.6.0/PA-RISC1.1/CORE -DPERLPATCHLEVEL=6 RRDs.c
> *Initialization*:1: missing token-sequence in `#assert'
> *** Error exit code 1
> 
> 
> I am using :
> 
> gcc -v
  ^^^

Are you sure "cc" maps to "gcc"?  HP used to ship with their own C
compiler as cc.  Instead of deleting those options, try explicitly
setting CC=gcc in your makefile.

  -- Clifton

--
 Clifton Royston  --  LavaNet Systems Architect --  cliftonr at lava.net
      The named which can be named is not the Eternal named.


--
Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe
<mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe> 
Help        mailto:rrd-users-request at list.ee.ethz.ch?subject=help
<mailto:rrd-users-request at list.ee.ethz.ch?subject=help> 
Archive     http://www.ee.ethz.ch/~slist/rrd-users
<http://www.ee.ethz.ch/~slist/rrd-users> 
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi
<http://www.ee.ethz.ch/~slist/lsg2.cgi> 



**** DISCLAIMER **** 
"This e-mail and any attachments thereto may contain information 
which is confidential and/or protected by intellectual property 
rights and are intended for the sole use of the recipient(s) named above. 
Any use of the information contained herein (including, but not limited to, 
total or partial reproduction, communication or distribution in any form) 
by persons other than the designated recipient(s) is prohibited. 
If you have received this e-mail in error, please notify the sender either 
by telephone or by e-mail and delete the material from any computer. 
Thank you for your cooperation."


--
Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe
Help        mailto:rrd-users-request at list.ee.ethz.ch?subject=help
Archive     http://www.ee.ethz.ch/~slist/rrd-users
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi



More information about the rrd-users mailing list