[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 10:00:20 MEST 2000


Hi Clifton,

I am quite sure than I am using the gcc instead of the cc.

$ whereis cc
cc: /usr/bin/cc /usr/bin/cc.old /usr/ccs/bin/cc

$ whereis gcc
gcc: /opt/gcc/bin/gcc /opt/gcc/man/man1/gcc.1

$ ls -al /usr/bin/cc
lrwxrwxrwx   1 root       sys             16 Sep 14 18:22 /usr/bin/cc ->
/opt/gcc/bin/gcc

Because the original cc is pointing to gcc. I 've tried to compile
with the HP compiler but I found that the HP compiler is real crap. 

Thanx for your answer.

Yves...

-----Original Message-----
From: Clifton Royston [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
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

**** 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