[rrd-users] Still can't compile RRD

EddyConway at att.net EddyConway at att.net
Sat Oct 20 03:34:53 MEST 2001


I have a Solaris 2.6 server with Perl 5.6.1
and gcc 3.0.1, and I can't compile RRD. This has
failed twice now, and I can't deploy Cricket
because of it.

The first time it failed because I did not include
/usr/ccs/bin in my path. 

Now 'sh configure' appears to succeed, and 
'sh configure --enable-shared' seems to do even better,
but the make fails when it gets to the zlib piece.

After several runs, make output looks like this:

ciscoworks.dhcp.pc-bisnet.com: make
Making all in cgilib-0.4
make[1]: Entering directory
`/opt/cricket/RRD/rrdtool-1.0.33/cgilib-0.4'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory
`/opt/cricket/RRD/rrdtool-1.0.33/cgilib-0.4'
Making all in config
make[1]: Entering directory
`/opt/cricket/RRD/rrdtool-1.0.33/config'
make[1]: Leaving directory
`/opt/cricket/RRD/rrdtool-1.0.33/config'
Making all in gd1.3
make[1]: Entering directory
`/opt/cricket/RRD/rrdtool-1.0.33/gd1.3'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory
`/opt/cricket/RRD/rrdtool-1.0.33/gd1.3'
Making all in zlib-1.1.3
make[1]: Entering directory
`/opt/cricket/RRD/rrdtool-1.0.33/zlib-1.1.3'
/bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I.
-I. -I../config     -g -O2 -Wall -pedantic -Wshadow
-Wpointer-arith -Wcast-align -Wmissing-prototypes
-Wmissing-declarations -Wnested-externs -Winline  -fPIC
-c infblock.c
rm -f .libs/infblock.lo
gcc -DHAVE_CONFIG_H -I. -I. -I../config -g -O2 -Wall
-pedantic -Wshadow -Wpointer-arith -Wcast-align
-Wmissing-prototypes -Wmissing-declarations
-Wnested-externs -Winline -fPIC -c  -fPIC -DPIC
infblock.c -o .libs/infblock.lo
/usr/ccs/bin/as: "/var/tmp/ccifYna6.s", line 1642: error:
unknown opcode ".subsection"
/usr/ccs/bin/as: "/var/tmp/ccifYna6.s", line 1642: error:
statement syntax
/usr/ccs/bin/as: "/var/tmp/ccifYna6.s", line 1655: error:
unknown opcode ".previous"
/usr/ccs/bin/as: "/var/tmp/ccifYna6.s", line 1655: error:
statement syntax
make[1]: *** [infblock.lo] Error 1
make[1]: Leaving directory
`/opt/cricket/RRD/rrdtool-1.0.33/zlib-1.1.3'
make: *** [all-recursive] Error 1
ciscoworks.dhcp.pc-bisnet.com: 


The part that is suspicious is the call to
/usr/ccs/bin/as on the file /var/tmp/cc ...
There is no /var/tmp/cc.. file when I go look for it.
Has the compiler already done cleanup? Why is an
assembler being called at all?

Should I get zlib and install that?

Thanks for any help you can give ... I can send
the Makefile and my env to anyone who is interested ...


--
EddyConway at att.net
(808) 282-0747
1050 Bishop Street
Number 202
Honolulu, HI 96813

--
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