[rrd-users] Re: Compile problems on solaris 8
Schierer, Luke S
luke.schierer at titan.com
Wed Jun 16 18:06:43 MEST 2004
interestingly enough, the errors below only happen if I compile with tcl support, if I don't, then it compiles fine either way. As I'd like to use the tcl interface, this doesn't help me much.
for reference, I have tcl 8.4 from sunfreeware.com
luke
-----Original Message-----
From: rrd-users-bounce at list.ee.ethz.ch
[mailto:rrd-users-bounce at list.ee.ethz.ch]On Behalf Of Schierer, Luke S
Sent: Wednesday, June 16, 2004 9:46 AM
To: rrd-users at list.ee.ethz.ch
Subject: [rrd-users] Compile problems on solaris 8
I'm trying to compile rrdtool on solaris 8, with the --enable-shared configure flag i get the following error:
Making all in src
make[2]: Entering directory `/usr/share/src/rrdtool-1.0.48/src'
/bin/bash ../libtool --mode=link gcc -g -O2 -Wall -pedantic -Wshadow -Wpointer-arith -Wcast-align -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline -o rrdcgi rrd_cgi.o librrd.la -lm
gcc -g -O2 -Wall -pedantic -Wshadow -Wpointer-arith -Wcast-align -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline -o .libs/rrdcgi rrd_cgi.o ./.libs/librrd.so -lm -R/usr/local/rrdtool-1.0.48/lib
Undefined first referenced
symbol in file
cgiGetValue rrd_cgi.o
cgiDebug rrd_cgi.o
cgiInit rrd_cgi.o
ld: fatal: Symbol referencing errors. No output written to .libs/rrdcgi
collect2: ld returned 1 exit status
make[2]: *** [rrdcgi] Error 1
make[2]: Leaving directory `/usr/share/src/rrdtool-1.0.48/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/share/src/rrdtool-1.0.48'
make: *** [all] Error 2
without --enable-shared i error out at
Making all in tcl
make[2]: Entering directory `/usr/share/src/rrdtool-1.0.48/tcl'
gcc -g -O2 -Wall -pedantic -Wshadow -Wpointer-arith -Wcast-align -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline -I../src -fPIC -I/usr/local/include -I../src -I../gd1.3 -c tclrrd.c -DVERSION=\"1.0.48\"
tclrrd.c:357: warning: no previous prototype for 'Tclrrd_Init'
gcc -pipe -shared -L/usr/local/rrdtool-1.0.48/lib -L../src -L../src/.libs tclrrd.o -o tclrrd.1.0.48.so -lrrd_private -lm
Text relocation remains referenced
against symbol offset in file
<unknown> 0x31a0 ../src/.libs/librrd_private.a(rrd_graph.o)
<unknown> 0x31a4 ../src/.libs/librrd_private.a(rrd_graph.o)
<unknown> 0x31a8 ../src/.libs/librrd_private.a(rrd_graph.o)
<snip long list of similar output>
<unknown> 0x724 ../src/.libs/librrd_private.a(inftrees.o)
<unknown> 0x730 ../src/.libs/librrd_private.a(inftrees.o)
<unknown> 0x73c ../src/.libs/librrd_private.a(inftrees.o)
<unknown> 0x744 ../src/.libs/librrd_private.a(inftrees.o)
ld: fatal: relocations remain against allocatable but non-writable sections
collect2: ld returned 1 exit status
make[2]: *** [tclrrd.1.0.48.so] Error 1
make[2]: Leaving directory `/usr/share/src/rrdtool-1.0.48/tcl'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/share/src/rrdtool-1.0.48'
make: *** [all] Error 2
any advice on what i'm doing wrong or missing is appreciated.
thanks
Luke Schierer
--
Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe
Help mailto:rrd-users-request at list.ee.ethz.ch?subject=help
Archive http://www.ee.ethz.ch/~slist/rrd-users
WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi
--
Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe
Help mailto:rrd-users-request at list.ee.ethz.ch?subject=help
Archive http://www.ee.ethz.ch/~slist/rrd-users
WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi
More information about the rrd-users
mailing list