From: Sand P. <Phi...@sy...> - 2006-11-01 10:31:36
|
Hi, when I run make to compile perfparse 0.106.1 on a Red Hat Enterprise = Linux ES release 4 Server, I get the following error messages: [...] make[2]: Leaving directory = `/root/Nagios-Stuff/perfparse-0.106.1/db_tools' Making all in cgi make[2]: Entering directory `/root/Nagios-Stuff/perfparse-0.106.1/cgi' /bin/sh ../libtool --mode=3Dlink --tag=3DCC gcc -g -O2 -Wall -o = perfchart.png perfchart_png-perfchart.o perfchart_png-cgi.o = -L../libpp_mysql -lpp_mysql -L/usr/lib/mysql -lmysqlclient -lz -lcrypt = -lnsl -lm -L/usr/lib -lssl -lcrypto -L../libpp_common -lpp_common = -lglib-2.0 -ldl -lm gcc -g -O2 -Wall -o .libs/perfchart.png perfchart_png-perfchart.o = perfchart_png-cgi.o -L/root/Nagios-Stuff/perfparse-0.106.1/libpp_mysql = /root/Nagios-Stuff/perfparse-0.106.1/libpp_mysql/.libs/libpp_mysql.so = -L/usr/lib/mysql -lmysqlclient -lcrypt -lnsl -L/usr/lib -lssl -lcrypto = -L/root/Nagios-Stuff/perfparse-0.106.1/libpp_common = /root/Nagios-Stuff/perfparse-0.106.1/libpp_common/.libs/libpp_common.so = -lz -lglib-2.0 -ldl -lm -Wl,--rpath -Wl,/usr/local/nagios/lib perfchart_png-perfchart.o(.text+0x1d): In function `initChartGraphics': /root/Nagios-Stuff/perfparse-0.106.1/cgi/perfchart.c:464: undefined = reference to `gdImageCreate' perfchart_png-perfchart.o(.text+0x4a):/root/Nagios-Stuff/perfparse-0.106.= 1/cgi/perfchart.c:468: undefined reference to `gdImageColorAllocate' perfchart_png-perfchart.o(.text+0x74):/root/Nagios-Stuff/perfparse-0.106.= 1/cgi/perfchart.c:469: undefined reference to `gdImageColorAllocate' perfchart_png-perfchart.o(.text+0x9e):/root/Nagios-Stuff/perfparse-0.106.= 1/cgi/perfchart.c:470: undefined reference to `gdImageColorAllocate' perfchart_png-perfchart.o(.text+0xc8):/root/Nagios-Stuff/perfparse-0.106.= 1/cgi/perfchart.c:471: undefined reference to `gdImageColorAllocate' perfchart_png-perfchart.o(.text+0xf2):/root/Nagios-Stuff/perfparse-0.106.= 1/cgi/perfchart.c:472: undefined reference to `gdImageColorAllocate' perfchart_png-perfchart.o(.text+0x11c):/root/Nagios-Stuff/perfparse-0.106= .1/cgi/perfchart.c:473: more undefined references to = `gdImageColorAllocate' follow perfchart_png-perfchart.o(.text+0x54b): In function = `print_failure_html': /root/Nagios-Stuff/perfparse-0.106.1/cgi/perfchart.c:1614: undefined = reference to `gdImageFilledRectangle' perfchart_png-perfchart.o(.text+0x570):/root/Nagios-Stuff/perfparse-0.106= .1/cgi/perfchart.c:1616: undefined reference to `gdFontSmall' perfchart_png-perfchart.o(.text+0x59b):/root/Nagios-Stuff/perfparse-0.106= .1/cgi/perfchart.c:1616: undefined reference to `gdImageString' perfchart_png-perfchart.o(.text+0x5c0):/root/Nagios-Stuff/perfparse-0.106= .1/cgi/perfchart.c:1617: undefined reference to `gdFontSmall' perfchart_png-perfchart.o(.text+0x5d1):/root/Nagios-Stuff/perfparse-0.106= .1/cgi/perfchart.c:1617: undefined reference to `gdImageString' perfchart_png-perfchart.o(.text+0x5e7):/root/Nagios-Stuff/perfparse-0.106= .1/cgi/perfchart.c:1620: undefined reference to `gdImagePng' perfchart_png-perfchart.o(.text+0x6ce): In function `drawHeadings': /root/Nagios-Stuff/perfparse-0.106.1/cgi/perfchart.c:600: undefined = reference to `gdImageRectangle' perfchart_png-perfchart.o(.text+0x714):/root/Nagios-Stuff/perfparse-0.106= .1/cgi/perfchart.c:605: undefined reference to `gdFontSmall' perfchart_png-perfchart.o(.text+0x725):/root/Nagios-Stuff/perfparse-0.106= .1/cgi/perfchart.c:605: undefined reference to `gdImageString' perfchart_png-perfchart.o(.text+0x7a1):/root/Nagios-Stuff/perfparse-0.106= .1/cgi/perfchart.c:621: undefined reference to `gdFontSmall' perfchart_png-perfchart.o(.text+0x7b2):/root/Nagios-Stuff/perfparse-0.106= .1/cgi/perfchart.c:621: undefined reference to `gdImageString' perfchart_png-perfchart.o(.text+0x826):/root/Nagios-Stuff/perfparse-0.106= .1/cgi/perfchart.c:632: undefined reference to `gdFontMediumBold' perfchart_png-perfchart.o(.text+0x83b):/root/Nagios-Stuff/perfparse-0.106= .1/cgi/perfchart.c:632: undefined reference to `gdImageString' perfchart_png-perfchart.o(.text+0x86c):/root/Nagios-Stuff/perfparse-0.106= .1/cgi/perfchart.c:595: undefined reference to `gdFontSmall' perfchart_png-perfchart.o(.text+0x880):/root/Nagios-Stuff/perfparse-0.106= .1/cgi/perfchart.c:595: undefined reference to `gdImageString' perfchart_png-perfchart.o(.text+0x8b2):/root/Nagios-Stuff/perfparse-0.106= .1/cgi/perfchart.c:596: undefined reference to `gdImageLine' perfchart_png-perfchart.o(.text+0x8de):/root/Nagios-Stuff/perfparse-0.106= .1/cgi/perfchart.c:597: undefined reference to `gdImageLine' perfchart_png-perfchart.o(.text+0x90a):/root/Nagios-Stuff/perfparse-0.106= .1/cgi/perfchart.c:589: undefined reference to `gdFontSmall' perfchart_png-perfchart.o(.text+0x91b):/root/Nagios-Stuff/perfparse-0.106= .1/cgi/perfchart.c:589: undefined reference to `gdImageString' perfchart_png-perfchart.o(.text+0x953):/root/Nagios-Stuff/perfparse-0.106= .1/cgi/perfchart.c:590: undefined reference to `gdImageLine' perfchart_png-perfchart.o(.text+0x97f):/root/Nagios-Stuff/perfparse-0.106= .1/cgi/perfchart.c:591: undefined reference to `gdImageLine' perfchart_png-perfchart.o(.text+0x9b1):/root/Nagios-Stuff/perfparse-0.106= .1/cgi/perfchart.c:583: undefined reference to `gdFontSmall' perfchart_png-perfchart.o(.text+0x9c5):/root/Nagios-Stuff/perfparse-0.106= .1/cgi/perfchart.c:583: undefined reference to `gdImageString' perfchart_png-perfchart.o(.text+0x9f7):/root/Nagios-Stuff/perfparse-0.106= .1/cgi/perfchart.c:584: undefined reference to `gdImageLine' perfchart_png-perfchart.o(.text+0xa23):/root/Nagios-Stuff/perfparse-0.106= .1/cgi/perfchart.c:585: undefined reference to `gdImageLine' perfchart_png-perfchart.o(.text+0xa53):/root/Nagios-Stuff/perfparse-0.106= .1/cgi/perfchart.c:577: undefined reference to `gdFontSmall' perfchart_png-perfchart.o(.text+0xa64):/root/Nagios-Stuff/perfparse-0.106= .1/cgi/perfchart.c:577: undefined reference to `gdImageString' perfchart_png-perfchart.o(.text+0xa9c):/root/Nagios-Stuff/perfparse-0.106= .1/cgi/perfchart.c:578: undefined reference to `gdImageLine' perfchart_png-perfchart.o(.text+0xac8):/root/Nagios-Stuff/perfparse-0.106= .1/cgi/perfchart.c:579: undefined reference to `gdImageLine' perfchart_png-perfchart.o(.text+0xafd):/root/Nagios-Stuff/perfparse-0.106= .1/cgi/perfchart.c:571: undefined reference to `gdFontSmall' perfchart_png-perfchart.o(.text+0xb11):/root/Nagios-Stuff/perfparse-0.106= .1/cgi/perfchart.c:571: undefined reference to `gdImageString' perfchart_png-perfchart.o(.text+0xb3d):/root/Nagios-Stuff/perfparse-0.106= .1/cgi/perfchart.c:572: undefined reference to `gdImageLine' perfchart_png-perfchart.o(.text+0xb69):/root/Nagios-Stuff/perfparse-0.106= .1/cgi/perfchart.c:573: undefined reference to `gdImageLine' perfchart_png-perfchart.o(.text+0xe24): In function `drawPoints': /root/Nagios-Stuff/perfparse-0.106.1/cgi/perfchart.c:812: undefined = reference to `gdImageLine' perfchart_png-perfchart.o(.text+0xe54):/root/Nagios-Stuff/perfparse-0.106= .1/cgi/perfchart.c:809: undefined reference to `gdImageLine' perfchart_png-perfchart.o(.text+0xe8d):/root/Nagios-Stuff/perfparse-0.106= .1/cgi/perfchart.c:810: undefined reference to `gdImageLine' perfchart_png-perfchart.o(.text+0xec6):/root/Nagios-Stuff/perfparse-0.106= .1/cgi/perfchart.c:811: more undefined references to `gdImageLine' = follow perfchart_png-perfchart.o(.text+0x1494): In function `drawYScale': /root/Nagios-Stuff/perfparse-0.106.1/cgi/perfchart.c:1072: undefined = reference to `gdFontSmall' perfchart_png-perfchart.o(.text+0x14ad):/root/Nagios-Stuff/perfparse-0.10= 6.1/cgi/perfchart.c:1072: undefined reference to `gdImageString' perfchart_png-perfchart.o(.text+0x1601): In function = `drawYScalePercent': /root/Nagios-Stuff/perfparse-0.106.1/cgi/perfchart.c:1002: undefined = reference to `gdFontSmall' perfchart_png-perfchart.o(.text+0x161c):/root/Nagios-Stuff/perfparse-0.10= 6.1/cgi/perfchart.c:1002: undefined reference to `gdImageString' perfchart_png-perfchart.o(.text+0x169a): In function `drawGrid': /root/Nagios-Stuff/perfparse-0.106.1/cgi/perfchart.c:904: undefined = reference to `gdImageLine' perfchart_png-perfchart.o(.text+0x181b):/root/Nagios-Stuff/perfparse-0.10= 6.1/cgi/perfchart.c:985: undefined reference to `gdImageLine' perfchart_png-perfchart.o(.text+0x188b):/root/Nagios-Stuff/perfparse-0.10= 6.1/cgi/perfchart.c:911: undefined reference to `gdImageLine' perfchart_png-perfchart.o(.text+0x18e1):/root/Nagios-Stuff/perfparse-0.10= 6.1/cgi/perfchart.c:937: undefined reference to `gdImageLine' perfchart_png-perfchart.o(.text+0x192c):/root/Nagios-Stuff/perfparse-0.10= 6.1/cgi/perfchart.c:931: undefined reference to `gdImageLine' perfchart_png-perfchart.o(.text+0x1992):/root/Nagios-Stuff/perfparse-0.10= 6.1/cgi/perfchart.c:946: more undefined references to `gdImageLine' = follow perfchart_png-perfchart.o(.text+0x1e8d): In function `drawXScale': /root/Nagios-Stuff/perfparse-0.106.1/cgi/perfchart.c:1243: undefined = reference to `gdFontSmall' perfchart_png-perfchart.o(.text+0x1e9e):/root/Nagios-Stuff/perfparse-0.10= 6.1/cgi/perfchart.c:1243: undefined reference to `gdImageString' perfchart_png-perfchart.o(.text+0x1f31):/root/Nagios-Stuff/perfparse-0.10= 6.1/cgi/perfchart.c:1094: undefined reference to `gdFontSmall' perfchart_png-perfchart.o(.text+0x1f42):/root/Nagios-Stuff/perfparse-0.10= 6.1/cgi/perfchart.c:1094: undefined reference to `gdImageString' perfchart_png-perfchart.o(.text+0x1fcc):/root/Nagios-Stuff/perfparse-0.10= 6.1/cgi/perfchart.c:1138: undefined reference to `gdFontSmall' perfchart_png-perfchart.o(.text+0x1fdd):/root/Nagios-Stuff/perfparse-0.10= 6.1/cgi/perfchart.c:1138: undefined reference to `gdImageString' perfchart_png-perfchart.o(.text+0x2038):/root/Nagios-Stuff/perfparse-0.10= 6.1/cgi/perfchart.c:1136: undefined reference to `gdFontSmall' perfchart_png-perfchart.o(.text+0x2049):/root/Nagios-Stuff/perfparse-0.10= 6.1/cgi/perfchart.c:1136: undefined reference to `gdImageString' perfchart_png-perfchart.o(.text+0x2112):/root/Nagios-Stuff/perfparse-0.10= 6.1/cgi/perfchart.c:1189: undefined reference to `gdFontSmall' perfchart_png-perfchart.o(.text+0x2123):/root/Nagios-Stuff/perfparse-0.10= 6.1/cgi/perfchart.c:1189: undefined reference to `gdImageString' perfchart_png-perfchart.o(.text+0x2fc7): In function = `print_sql_failure_image': /root/Nagios-Stuff/perfparse-0.106.1/cgi/perfchart.c:1746: undefined = reference to `gdImageFilledRectangle' perfchart_png-perfchart.o(.text+0x2fec):/root/Nagios-Stuff/perfparse-0.10= 6.1/cgi/perfchart.c:1748: undefined reference to `gdFontSmall' perfchart_png-perfchart.o(.text+0x3017):/root/Nagios-Stuff/perfparse-0.10= 6.1/cgi/perfchart.c:1748: undefined reference to `gdImageString' perfchart_png-perfchart.o(.text+0x3029):/root/Nagios-Stuff/perfparse-0.10= 6.1/cgi/perfchart.c:1749: undefined reference to `gdFontSmall' perfchart_png-perfchart.o(.text+0x304a):/root/Nagios-Stuff/perfparse-0.10= 6.1/cgi/perfchart.c:1749: undefined reference to `gdImageString' perfchart_png-perfchart.o(.text+0x306f):/root/Nagios-Stuff/perfparse-0.10= 6.1/cgi/perfchart.c:1751: undefined reference to `gdFontSmall' perfchart_png-perfchart.o(.text+0x309a):/root/Nagios-Stuff/perfparse-0.10= 6.1/cgi/perfchart.c:1751: undefined reference to `gdImageString' perfchart_png-perfchart.o(.text+0x30ac):/root/Nagios-Stuff/perfparse-0.10= 6.1/cgi/perfchart.c:1752: undefined reference to `gdFontSmall' perfchart_png-perfchart.o(.text+0x30cd):/root/Nagios-Stuff/perfparse-0.10= 6.1/cgi/perfchart.c:1752: undefined reference to `gdImageString' perfchart_png-perfchart.o(.text+0x30f3):/root/Nagios-Stuff/perfparse-0.10= 6.1/cgi/perfchart.c:1759: undefined reference to `gdImagePng' perfchart_png-perfchart.o(.text+0x3927): In function `main': /root/Nagios-Stuff/perfparse-0.106.1/cgi/perfchart.c:277: undefined = reference to `gdImageRectangle' perfchart_png-perfchart.o(.text+0x3965):/root/Nagios-Stuff/perfparse-0.10= 6.1/cgi/perfchart.c:278: undefined reference to `gdImageRectangle' perfchart_png-perfchart.o(.text+0x399f):/root/Nagios-Stuff/perfparse-0.10= 6.1/cgi/perfchart.c:281: undefined reference to `gdImageFilledRectangle' perfchart_png-perfchart.o(.text+0x39dd):/root/Nagios-Stuff/perfparse-0.10= 6.1/cgi/perfchart.c:282: undefined reference to `gdImageFilledRectangle' perfchart_png-perfchart.o(.text+0x3a0b):/root/Nagios-Stuff/perfparse-0.10= 6.1/cgi/perfchart.c:295: undefined reference to `gdImagePng' collect2: ld returned 1 exit status make[2]: *** [perfchart.png] Error 1 make[2]: Leaving directory `/root/Nagios-Stuff/perfparse-0.106.1/cgi' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/root/Nagios-Stuff/perfparse-0.106.1' make: *** [all] Error 2 any suggestions? Thanks in advance, Philipp =A0 |