[mrtg] Re: FINAL part of 2.8.12

Carlos dos Santos Carlos.Santos at informatik.fh-wiesbaden.de
Tue Apr 4 18:38:23 MEST 2000


Hello,

I installed mrtg under HP-UX 10.20. I used the gcc-compiler.

as108 at daimlerchrysler.com wrote:
> 
> /opt/mrtg-2.8.12 $ make
>         LD_RUN_PATH=../libpng:../zlib:../gd-1.7.3 cc -I../gd-1.7.3
> -I../zlib -I../libpng -DGFORM_GD=gdImagePng -Wall -pedantic s
> rc/rateup.c -L../gd-1.7.3 -lgd -L../zlib -L../libpng -lm -lpng -lz -lm -o
> run/rateup
> (Bundled) cc: warning 480: The -p option is available only with the C/ANSI
> C product; ignored.
> (Bundled) cc: warning 480: The -e option is available only with the C/ANSI
> C product; ignored.

this means you are using the default (stupid) HP-Compiler. You should use HPs
Ansi C-Compiler or gcc.

> (Bundled) cc: "../gd-1.7.3/gd_io.h", line 11: warning 5: "const" will
> become a keyword.
> (Bundled) cc: "../gd-1.7.3/gd_io.h", line 11: error 1000: Unexpected
> symbol: "const".
> (Bundled) cc: "../gd-1.7.3/gd_io.h", line 13: warning 5: "const" will
> become a keyword.
> (Bundled) cc: "../gd-1.7.3/gd_io.h", line 13: error 1000: Unexpected
> symbol: "const".
> (Bundled) cc: "../gd-1.7.3/gd_io.h", line 22: error 1000: Unexpected
> symbol: "gdIOCtx".
> (Bundled) cc: "../gd-1.7.3/gd_io.h", line 23: error 1000: Unexpected
> symbol: "gdIOCtx".
> (Bundled) cc: "../gd-1.7.3/gd_io.h", line 25: warning 5: "const" will
> become a keyword.
> (Bundled) cc: "../gd-1.7.3/gd_io.h", line 25: error 1000: Unexpected symbol: "unsigned".
> (Bundled) cc: "../gd-1.7.3/gd_io.h", line 25: error 1000: Unexpected symbol: "*".
> (Bundled) cc: "../gd-1.7.3/gd_io.h", line 26: warning 5: "const" will become a keyword.
> (Bundled) cc: error 2017: Cannot recover from earlier errors, terminating.
> *** Error exit code 1
> 
> Stop.
> 
> on an hpux 10.20 box, I have 2.8.9 running on the same box, not sure, I think someone
> last time told me to take out or move around the libraries,
> would that be something good to try????
no it´s the compiler. I had problems to link gd-tools (pngtogd), because the
gd-Library was after libm (-lm -lgd), this resulted into: unresolved reference
floor.

> 
> Andy
> 

Hope this helps,

Carlos dos Santos

--
Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
Archive     http://www.ee.ethz.ch/~slist/mrtg
FAQ         http://faq.mrtg.org    Homepage     http://www.mrtg.org



More information about the mrtg mailing list