[rrd-developers] Built on Cygwin
Marcus Vinicius Ferreira
marcus_ferreira at yahoo.com
Wed Nov 20 14:14:04 MET 2002
I am trying to install RRDToll on Cygwin but it's failing with this error:
ence to `__imp__png_destroy_read_struct'
collect2: ld returned 1 exit status
make: *** [rrdcgi] Error 1
Even after editing src/Makefile.in with "-DPNG_STATIC" appears not to be
working. In fact, I have more errors now than before.
I am using
> Just a quick note to let you know I managed to get RRDtool built under Cygwin
(running under Windows XP). Initially this was failing to link with the PNG
libraries. Seems that unless 'PNG_STATIC' is defined when some of the RRD
objects are compiled the '_imp__' prefix is added to objects, which of course
cannot be found in the static library built for RRD.
> I got this to work by a very simple fix, ammend the following line in
src/Makefile.in and re-run configure:
> CFLAGS = @CFLAGS@ -DPNG_STATIC
> There's probably a better way to do this, but you get the idea. Hope this
ends up in the stock distribution?
Do you Yahoo!?
Yahoo! Web Hosting - Let the expert host your site
Unsubscribe mailto:rrd-developers-request at list.ee.ethz.ch?subject=unsubscribe
Help mailto:rrd-developers-request at list.ee.ethz.ch?subject=help
More information about the rrd-developers