|
From: Michael C. <MC...@Ne...> - 2004-09-08 14:38:18
|
I am having a very hard time with this for some reason. Perhaps I have to compile a lib from source because I have tried upgrading everything I thought could be related using ports/packages. I am not familiar with the gd.h which seems to be the problem I believe. RTFM's appreciated, finding my stupid mistakes priceless =) bash-2.05b# make make all-recursive Making all in libperfparse Making all in perfparse Making all in db_tools Making all in cgi if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include/mysql -O -pipe -mcpu=pentiumpro -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I../libpe rfparse -g -O2 -Wall -MT perfchart.o -MD -MP -MF ".deps/perfchart.Tpo" -c -o perfchart.o perfchart.c; then mv -f ".deps/perfchart.Tpo" ".deps/perfchart.Po"; els e rm -f ".deps/perfchart.Tpo"; exit 1; fi perfchart.c:33:16: gd.h: No such file or directory perfchart.c:34:21: gdfonts.h: No such file or directory perfchart.c:35:22: gdfontmb.h: No such file or directory perfchart.c:51: error: syntax error before "graph" perfchart.c:51: warning: type defaults to `int' in declaration of `graph' perfchart.c:51: warning: data definition has no type or storage class perfchart.c: In function `main': perfchart.c:249: warning: implicit declaration of function `gdImageRectangle' perfchart.c:253: warning: implicit declaration of function `gdImageFilledRectangle' perfchart.c:267: warning: implicit declaration of function `gdImagePng' perfchart.c: In function `initChartGraphics': perfchart.c:407: warning: implicit declaration of function `gdImageCreate' perfchart.c:411: warning: implicit declaration of function `gdImageColorAllocate' perfchart.c: In function `drawHeadings': perfchart.c:514: warning: implicit declaration of function `gdImageString' perfchart.c:514: error: `gdFontSmall' undeclared (first use in this function) perfchart.c:514: error: (Each undeclared identifier is reported only once perfchart.c:514: error: for each function it appears in.) perfchart.c:515: warning: implicit declaration of function `gdImageLine' perfchart.c:575: error: `gdFontMediumBold' undeclared (first use in this function) perfchart.c: In function `drawYScalePercent': perfchart.c:943: error: `gdFontSmall' undeclared (first use in this function) perfchart.c: In function `drawYScale': perfchart.c:1006: error: `gdFontSmall' undeclared (first use in this function) perfchart.c: In function `drawXScale': perfchart.c:1027: warning: long int format, int arg (arg 3) perfchart.c:1028: error: `gdFontSmall' undeclared (first use in this function) perfchart.c:1122: warning: long int format, int arg (arg 3) perfchart.c:1176: warning: long int format, int arg (arg 3) perfchart.c:1176: warning: long int format, int arg (arg 4) perfchart.c: In function `fail': perfchart.c:1535: error: `gdFontSmall' undeclared (first use in this function) perfchart.c: In function `sql_fail': perfchart.c:1664: error: `gdFontSmall' undeclared (first use in this function) *** Error code 1 Stop in /opt/perfparse-0.100.3/cgi. *** Error code 1 Stop in /opt/perfparse-0.100.3. *** Error code 1 Stop in /opt/perfparse-0.100.3. bash-2.05b# CONFIDENTIALITY NOTE: This electronic transmission, including all attachments, is directed in confidence solely to the person(s) to whom it is addressed, or an authorized recipient, and may not otherwise be distributed, copied or disclosed. The contents of the transmission may also be subject to intellectual property rights and all such rights are expressly claimed and are not waived. If you have received this transmission in error, please notify the sender immediately by return electronic transmission and then immediately delete this transmission, including all attachments, without copying, distributing or disclosing same. |