[mrtg] Re: Getting GD1.7.3 to work

AS108 at daimlerchrysler.com AS108 at daimlerchrysler.com
Tue Nov 16 14:36:07 MET 1999

Ok.  I made sure it was able to see a math.h in /usr/include.  No change.
My operating system is 10.20 hp-ux and here is the gd Makefile and the error
is just as below.
(See attached file: Makefile)

AS108 at daimlerchrysler.com wrote:

 Successfully installed,configured,make'd up to this point.
 Running the command 'make' for gd1.7.3, getting this output

 # make
         /opt/gcc/bin/gcc -I/usr/local/include -I/usr/include/X11
 -I/opt/libpng/include pngtogd.o -o pngtogd
 -L. -L/usr/local/lib -L/usr/lib/X11 -L/opt/libpng/lib -lm -lgd -lpng -lz
 collect2: ld returned 1 exit status
 /usr/ccs/bin/ld: Unsatisfied symbols:
    floor (code)
    pow (code)
 *** Error exit code 1

I could be wrong on this but I believe the linker can't find functions
it needs to find.  Both would be defined in the math library (-lm).

Sometimes it helps to alter that particular line in the make script.

If you mention what OS you use (SCO?) perhaps more people can help?

If you find the solution, don't forget to tell Tobi!
 / alex at slot.hollandcasino.nl                  alex at ergens.op.het.net \
| work                                                         private |
| My employer is capable of speaking therefore I speak only for myself |
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Makefile
Type: application/octet-stream
Size: 4690 bytes
Desc: not available
Url : https://lists.oetiker.ch/pipermail/mrtg/attachments/19991116/32a478df/attachment.obj 

More information about the mrtg mailing list