On Tue, Aug 23, 2005 at 11:30:48AM +0200, Miroslav Kubik wrote: > Hi > > This application looks great but I can't still compile it. I tryed it on > OpenBSD 3.7 and 3.5 but without success. There is problem with libpng. > configure says that I have no libpng but I've compiled libpng 1.2.8. > > configure: error: Bandwidthd requires but cannot libpng > > config.log > ------ > configure:2858: gcc -o > onftest -g -O2 -I/usr/local/include -L/usr/local/lib c > onftest.c -lpng -liconv -lm -lresolv >&5 > /usr/local/lib/libpng.so.4.0: undefined reference to `deflate' > /usr/local/lib/libpng.so.4.0: undefined reference to `inflate' > /usr/local/lib/libpng.so.4.0: undefined reference to `inflateInit_' > /usr/local/lib/libpng.so.4.0: undefined reference to `crc32' > /usr/local/lib/libpng.so.4.0: undefined reference to `deflateInit2_' > /usr/local/lib/libpng.so.4.0: undefined reference to `inflateReset' > /usr/local/lib/libpng.so.4.0: undefined reference to `deflateReset' > /usr/local/lib/libpng.so.4.0: undefined reference to `inflateEnd' > /usr/local/lib/libpng.so.4.0: undefined reference to `deflateEnd' > > Could you please help me? > MK
-lz.