Hi.
Yesterday I tried to compile rrdtoo 1.2.15 on my OpenBSD machine.
./configure doesn't complain about an error but the compilation
fails with:

[... snipp ...]
ranlib .libs/librrd_th.a
creating librrd_th.la
(cd .libs && rm -f librrd_th.la && ln -s ../librrd_th.la librrd_th.la)
/bin/sh ../libtool --tag=CC --mode=link gcc  -g -O2 -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/local/lib     -L/usr/X11R6/lib -o rrdtool   
librrd.la -lz -lm  -lart_lgpl_2   -lpng -lz -lm   -lfreetype
gcc -g -O2 -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 -lpng -lz -lm -lfreetype 
-Wl,-rpath,/usr/local/rrdtool/1.2.15/lib -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/lib/crt0.o(.text+0xd7): In function `___start':
: undefined reference to `main'
collect2: ld returned 1 exit status
*** Error code 1

Stop in /tmp/rrdtool-1.2.15/src (line 490 of Makefile).
*** Error code 1

Stop in /tmp/rrdtool-1.2.15 (line 335 of Makefile).
*** Error code 1

Stop in /tmp/rrdtool-1.2.15 (line 242 of Makefile).

The system runs:

OpenBSD gorg.badphish.dyndns.org 3.9 GORG#4 amd64

(OpenBSD 3.9-STABLE).

I tested it with rrdtool 1.2.11 - 15 but each version
gives this error. Whats puzzling me is that it
prints warnings about a (installed) librrd.so
in /usr/local/lib 

Version 1.0.x (tested with 1.0.50) compiles fine.

Does anybody know how to get rid of this?

Many thanks in advance,

Andreas.

-- 
Dipl.-Ing. Andreas Maus             science+computing ag
System Administration               Hagellocher Weg 73
mail: [EMAIL PROTECTED]   72070 Tuebingen, Germany
tel.: +49 7071 9457 456             www.science-computing.de

-- Binary/unsupported file stripped by Ecartis --
-- Err : No filename to use for decode, file stripped.
-- Type: application/pgp-signature


--
Unsubscribe mailto:[EMAIL PROTECTED]
Help        mailto:[EMAIL PROTECTED]
Archive     http://lists.ee.ethz.ch/rrd-users
WebAdmin    http://lists.ee.ethz.ch/lsg2.cgi

Reply via email to