Hello, 

Since the version 1.2.x of rrdtool hit the ports I've been trying to build
it, but since it has been committed it hasn't built for me, it always gives
the same error. Have anyone successfully built this? I really wanted this
version because of the anti aliased fonts!

Here's the log of what happens to me during the compilation:

(cd .libs && rm -f librrd_th.la && ln -s ../librrd_th.la librrd_th.la)
/usr/local/bin/libtool  --tag=CC --mode=link cc  -O2 -pipe
-fno-strict-aliasing -Wall -std=gnu99 -pedantic -Wshadow -Wpointer-arith
-Wcast-align -Wmissing-prototypes -Wmissing-declarations -Wnested-externs
-Winline -W  -fPIC -DPIC  -L/usr/local/lib -L/usr/X11R6/lib -o rrdtool
librrd.la
cc -O2 -pipe -fno-strict-aliasing -Wall -std=gnu99 -pedantic -Wshadow
-Wpointer-arith -Wcast-align -Wmissing-prototypes -Wmissing-declarations
-Wnested-externs -Winline -W -fPIC -DPIC -o .libs/rrdtool  -L/usr/local/lib
-L/usr/X11R6/lib -L./.libs -lrrd -lart_lgpl_2 -lm -lz -lpng -lfreetype
-Wl,-rpath,/usr/local/lib
/usr/local/lib/librrd.so.0.0: warning: strcpy() is almost always misused,
please use strlcpy()
/usr/local/lib/librrd.so.0.0: warning: sprintf() is often misused, please
use snprintf()
/usr/local/lib/librrd.so.0.0: warning: strcat() is almost always misused,
please use strlcat()
/usr/bin/ld: warning: libpng.so.5.2, needed by /usr/local/lib/librrd.so.0.0,
may conflict with libpng.so.6.0
/usr/lib/crt0.o(.text+0xa4): In function `___start':
: undefined reference to `main'
collect2: ld returned 1 exit status
gmake[2]: *** [rrdtool] Error 1
gmake[2]: Leaving directory
`/usr/ports/net/rrdtool/w-rrdtool-1.2.23/rrdtool-1.2.23/src'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory
`/usr/ports/net/rrdtool/w-rrdtool-1.2.23/rrdtool-1.2.23'
gmake: *** [all] Error 2
*** Error code 2

Reply via email to