[mrtg] Re: OpenBSD and GD

Fridtjof Busse fridtjof.busse at gmx.de
Thu Jul 18 19:24:52 MEST 2002


On Thursday 18 July 2002 19:20, Fridtjof Busse wrote:
> ./configure --prefix=/usr/local/mrtg --includedir=/usr/local/include
> --with-gd-inc=/usr/local/include --with-gd-lib=/usr/local/lib works.

But the next problem occurs immediatly:
$ make
gcc -I/usr/local/include -DGFORM_GD=gdImagePng -g -O2 -Wall 
-Wpointer-arith -Wcast-align -Wmissing-declarations -Wnested-externs 
-Winline -W -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 
-DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 
-DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_UNISTD_H=1 
-DHAVE_UNSIGNED_LONG_LONG=1 -DHAVE_LONG_LONG=1 -DLIBM=1 -DHAVE_LIBM=1 
-c ./src/rateup.c -o bin/rateup.o
LD_RUN_PATH=/usr/local/lib gcc bin/rateup.o -o bin/rateup 
-L/usr/local/lib -lm  -Wl,-Bstatic -lgd -lpng -lz -Wl,-Bdynamic -lm
gd_png.o: Undefined symbol `_gdGetBuf' referenced from text segment
gd_png.o: Undefined symbol `_gdPutBuf' referenced from text segment
gd_png.o: Undefined symbol `_gdNewFileCtx' referenced from text segment
gd_png.o: Undefined symbol `_gdGetBuf' referenced from text segment
gd_png.o: Undefined symbol `_gdNewFileCtx' referenced from text segment
gd_png.o: Undefined symbol `_gdNewDynamicCtx' referenced from text 
segment
gd_png.o: Undefined symbol `_gdDPExtractData' referenced from text 
segment
collect2: ld returned 1 exit status
*** Error code 1

-- 
Fridtjof Busse
BOFH excuse #318:
Your EMAIL is now being delivered by the USPS.

--
Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
Archive     http://www.ee.ethz.ch/~slist/mrtg
FAQ         http://faq.mrtg.org    Homepage     http://www.mrtg.org
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi



More information about the mrtg mailing list