[mrtg] Re: FINAL part of 2.8.12
Arif Patel
arif_patel at norampac.com
Tue Apr 4 16:42:44 MEST 2000
Do you have HP's ANSI-C compiler or gcc?
Also, you have to tell the system where all your libraries are located .. like so...
./configure --prefix=/opt/mrtg1 --with-gd-lib=/opt/gd/lib --with-gd-inc=/opt/gd/
include --with-z-lib=/opt/zlib/lib --with-z-inc=/opt/zlib/include --with-png-lib
=/opt/libpng/lib --with-png-inc=/opt/libpng/include --with-xpm-lib=/opt/xpm/lib/
X11 --with-xpm-inc=/opt/xpm/include/X11 --with-freetype-lib=/opt/freetype/lib --
with-freetype-inc=/opt/freetype/include
Hope this helps...
>>> <as108 at daimlerchrysler.com> 04/04 10:01 AM >>>
/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.
(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????
Andy
--
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
--
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