[mrtg] getting 2.8.6 to work

AS108 at daimlerchrysler.com AS108 at daimlerchrysler.com
Wed Aug 18 16:25:37 MEST 1999


I grabbed mrtg-2_8_6_tar.
For that to work, I need gd-1_6_3_tar.
Now that gd does png and not gif, I need
libpng-1_0_3_tar
and zlib-1_1_3_tar
along with the usual
gcc-2_8_1-sd-10_20_depot,
binutils-2_9_1-sd-10_20_depot,
and sed-3_02-sd-10_20_depot.

I don't just need to get these and install them though,
I gunzip or swinstall it for HP unix, then I need to build and compile.

SO, this is where I'm at.  I've got everything installed,
I'm trying to do the 'make test' for libpng and I get these errors:

# make test
        cc -I/opt/zlib-1.1.3 -O -Ae +DA1.1 +DS2.0 -c pngtest.c
(Bundled) cc: warning 480: The -O option is available only with the C/ANSI C
product; ignored.
(Bundled) cc: warning 480: The -A option is available only with the C/ANSI C
product; ignored.
(Bundled) cc: "pngtest.c", line 61: error 1000: Unexpected symbol: "png_ptr".
(Bundled) cc: "pngtest.c", line 61: error 1705: Function prototypes are an ANSI
feature.
(Bundled) cc: "pngtest.c", line 61: error 1573: Type of "row_number" is
undefined due to an illegal declaration.
(Bundled) cc: "pngtest.c", line 63: error 1588: "png_ptr" undefined.
(Bundled) cc: "pngtest.c", line 63: error 1563: Expression in if must be scalar.
(Bundled) cc: "pngtest.c", line 80: error 1000: Unexpected symbol: "png_ptr".
(Bundled) cc: "pngtest.c", line 80: error 1705: Function prototypes are an ANSI
feature.
(Bundled) cc: "pngtest.c", line 80: error 1573: Type of "row_number" is
undefined due to an illegal declaration.
(Bundled) cc: "pngtest.c", line 82: error 1588: "png_ptr" undefined.
(Bundled) cc: "pngtest.c", line 82: error 1563: Expression in if must be scalar.
(Bundled) cc: "pngtest.c", line 94: error 1000: Unexpected symbol: "png_ptr".
(Bundled) cc: "pngtest.c", line 94: error 1000: Unexpected symbol: ")".
(Bundled) cc: "pngtest.c", line 96: error 1616: Unable to open intrinsic file
"/usr/local/lib/sysintr".
(Bundled) cc: "pngtest.c", line 96: error 1000: Unexpected symbol: "dp".
(Bundled) cc: error 2017: Cannot recover from earlier errors, terminating.
*** Error exit code 1

Stop.
#


This is mostly a c question but it does relate to getting MRTG to work.
(See attached file: makefile)

Any help is greatly appreciated.

thanks in advance.....

Andy
-------------- next part --------------
A non-text attachment was scrubbed...
Name: makefile
Type: application/octet-stream
Size: 1801 bytes
Desc: not available
Url : https://lists.oetiker.ch/pipermail/mrtg/attachments/19990818/d79d2bc1/attachment.obj 


More information about the mrtg mailing list