From: Bobby J. <bo...@pl...> - 2005-01-28 00:16:06
|
I uninstalled devel/glibc-1.2.10 and installed 2.4.5. Now I get another error, see below. Also forgot to mention before. This is perfparse 0.105.2 and 0.104.9 with the argv= line moved. I have gd 1.8.3 installed. The needed headers are in /usr/local/include and seem to have these funcions. My gcc is 2.95. gcc -g -O2 -Wall -o .libs/perfchart.png perfchart_png-perfchart.o perfchart_png-cgi.o -L/root/nagios/perfparse-0.104.9/libpp_mysql -L/root/nagios/perfparse-0.104.9/libpp_mysql/.libs -lpp_mysql -L/root/nagios/perfparse-0.104.9/libpp_common -L/root/nagios/perfparse-0.104.9/libpp_common/.libs -lpp_common -L/usr/local/lib/mysql -lmysqlclient -L/usr/lib -lz -lssl -lcrypto -L/usr/local/lib -lglib-2.0 -lintl -liconv -lm -Wl,-rpath,/usr/local/lib -Wl,-rpath,/usr/local/lib/mysql perfchart_png-perfchart.o(.text+0x1e7): In function `main': /root/nagios/perfparse-0.104.9/cgi/perfchart.c:276: undefined reference to `gdImageRectangle' perfchart_png-perfchart.o(.text +0x211):/root/nagios/perfparse-0.104.9/cgi/perfchart.c:277: undefined reference to `gdImageRectangle' perfchart_png-perfchart.o(.text +0x234):/root/nagios/perfparse-0.104.9/cgi/perfchart.c:280: undefined reference to `gdImageFilledRectangle' perfchart_png-perfchart.o(.text +0x261):/root/nagios/perfparse-0.104.9/cgi/perfchart.c:281: undefined reference to `gdImageFilledRectangle' ****cut****** perfchart_png-perfchart.o(.text +0x30c3):/root/nagios/perfparse-0.104.9/cgi/perfchart.c:1720: undefined reference to `gdImageString' perfchart_png-perfchart.o(.text +0x30e8):/root/nagios/perfparse-0.104.9/cgi/perfchart.c:1727: undefined reference to `gdImagePng' collect2: ld returned 1 exit status *** Error code 1 Stop in /root/nagios/perfparse-0.104.9/cgi (line 370 of Makefile). *** Error code 1 Stop in /root/nagios/perfparse-0.104.9 (line 356 of Makefile). *** Error code 1 Stop in /root/nagios/perfparse-0.104.9 (line 267 of Makefile). On Wed, 2005-01-26 at 17:27 -0700, Bobby Johnson wrote: > # ./configure --with-glib12=/usr/local/include/glib-1.2/ > --prefix=/usr/local --with-imagedir=/var/www/htdocs/nagios/share/images/ > --with-cgidir=/var/www/cgi-bin/nagios/ > --with-http_image_path=/nagios/images > > > *********CUT********** > > > # make > > ********CUT********* > > /bin/sh ../libtool --mode=link gcc -g -O2 -Wall -o perfparsed > perfparsed-perfparsed.o perfparsed-perfparse-common.o > perfparsed-server_parser.o perfparsed-log_reader.o perfparsed-storage.o > perfparsed-storage_history.o -lz -L../libpp_common -lpp_common > -L../libnagios_perfdata_parser -lnagios_perfdata_parser -L/usr/local/lib > -lglib -L/usr/local/lib -lintl -L/usr/local/lib -liconv -lm > gcc -g -O2 -Wall -o .libs/perfparsed perfparsed-perfparsed.o perfparsed-perfparse-common.o perfparsed-server_parser.o perfparsed-log_reader.o perfparsed-storage.o perfparsed-storage_history.o -L/root/nagios/perfparse-0.105.2/libpp_common -L/root/nagios/perfparse-0.105.2/libpp_common/.libs -lpp_common -lz -L/root/nagios/perfparse-0.105.2/libnagios_perfdata_parser -L/root/nagios/perfparse-0.105.2/libnagios_perfdata_parser/.libs -lnagios_perfdata_parser -L/usr/local/lib -lglib -lintl -liconv -lm -Wl,-rpath,/usr/local/lib > perfparsed-storage.o(.text+0x6cc): In function `storage_periodic_cleanup': > /root/nagios/perfparse-0.105.2/perfparse/storage.c:269: undefined reference to `g_path_get_basename' > collect2: ld returned 1 exit status > *** Error code 1 > > Stop in /root/nagios/perfparse-0.105.2/perfparse (line 358 of Makefile). > *** Error code 1 > > Stop in /root/nagios/perfparse-0.105.2 (line 361 of Makefile). > *** Error code 1 > > Stop in /root/nagios/perfparse-0.105.2 (line 272 of Makefile). > # > > I'm running OpenBSD 3.6 > glibc 1.2.10 devel > > Please help. I can attach any other output if needed. > > Bobby > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting > Tool for open source databases. Create drag-&-drop reports. Save time > by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. > Download a FREE copy at http://www.intelliview.com/go/osdn_nl > _______________________________________________ > Perfparse-users mailing list > Per...@li... > https://lists.sourceforge.net/lists/listinfo/perfparse-users > |