[rrd-users] Re: Solaris 8 Compile Errors

Randy Bey Randy.Bey at rivernorthsys.com
Mon Jul 15 14:44:34 MEST 2002


Please be sure to DE-install GNU binutils if you have it installed.
Use native Solaris stuff that's in /usr/ccs/bin.
If you don't want to deinstall the binutils, move /usr/ccs/bin ahead of where binutils is installed in your PATH.

Randy Bey
RiverNorth Systems
7300 W 147th St Suite 300
Apple Valley, MN 55124
http://www.rivernorthsys.com


-----Original Message-----
From: Abid Khwaja [mailto:abid at tyrann.net] 
Sent: Saturday, July 13, 2002 4:43 PM
To: rrd-users at list.ee.ethz.ch
Subject: [rrd-users] Solaris 8 Compile Errors


Trying to compile rrdtool 1.0.39 on Solaris 8 box but getting compile
errors.  Please help!

I¹ve searched the archives but couldn¹t find anything specific to my
problem.  I¹ve got all the GNU packages installed and am running Perl 5.6.1.
All GNU packages and Perl were precompiled versions.  Configure completes
successfully but make generates the following errors:

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 gzio.c -o gzio.o
echo timestamp > gzio.lo
/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
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 -o infblock.o
/usr/ccs/bin/as: "/var/tmp/ccVBGjU5.s", line 1654: error: unknown opcode
".subsection"
/usr/ccs/bin/as: "/var/tmp/ccVBGjU5.s", line 1654: error: statement
syntax
/usr/ccs/bin/as: "/var/tmp/ccVBGjU5.s", line 1667: error: unknown opcode
".previous"
/usr/ccs/bin/as: "/var/tmp/ccVBGjU5.s", line 1667: error: statement
syntax
make[1]: *** [infblock.lo] Error 1
make[1]: Leaving directory `/tmp/rrdtool-1.0.39/zlib-1.1.4'
make: *** [all-recursive] Error 1

The Solaris 8 distribution is:

[host2] # uname -a
SunOS host2 5.8 Generic_108528-12 sun4u sparc SUNW,Ultra-80
[host2] # cat /etc/release
                        Solaris 8 10/01 s28s_u6wos_08a SPARC
            Copyright 2001 Sun Microsystems, Inc.  All Rights Reserved.
                            Assembled 12 September 2001

Add-on packages I¹ve installed are (everything is in /usr/local):

[host2] # pkginfo -x `pkginfo | grep SMC | awk ' { print $2 } '`
SMCautoc        autoconf
                 (sparc) 2.53
SMCautom        automake
                 (sparc) 1.6
SMCgcc301       gcc
                 (sparc) 3.0.1
SMCgzip         gzip
                 (sparc) 1.3
SMClibt         libtool
                 (sparc) 1.4
SMCmake         make
                 (sparc) 3.79.1
SMCntp          ntp
                 (sparc) 4.0.99mrc2
SMCossh         openssh
                 (sparc) 3.1p1
SMCosslc        openssl
                 (sparc) 0.9.6c
SMCprl561       perl
                 (sparc) 5.6.1
SMCprngd        prngd
                 (sparc) 0.9.23
SMCzlib         zlib
                 (sparc) 1.1.4

My environment looks like:

[host2] # env
HOME=/
PATH=/usr/symcli/bin:/bin:/usr/bin:/usr/sbin:/usr/local/bin:/opt/SUNWspro/
bin:/usr/ucb:/etc:/usr/openwin/bin:/opt/SUNWmd/sbin:/usr/opt/WIZCOM/bin:/sbi
n/nsr:/usr/bin/nsr:/opt/VRTSvxva/bin:/opt/VRTSvmsa/bin:/etc/vx/bin:/usr/lib/
fs/vxfs:/opt/VRTSvcs/bin:/usr/ccs/bin:/opt/RICHPse/bin:.
LOGNAME=root
HZ=100
TZ=US/Eastern
TERM=vt100
SHELL=/bin/csh
PWD=/tmp/rrdtool-1.0.39
USER=root
VMSAHOME=/opt/VRTSvmsa
VCS_CONF=/etc/VRTSvcs
VCS_HOME=/opt/VRTSvcs
VCS_LOG=/var/VRTSvcs
ORACLE_HOME=/u21/app/oracle/product/102
ORACLE_SID=FORG
SEPATH=/opt/RICHPse/examples:/opt/RICHPse/toptool
EDITOR=vi
MANPATH=/usr/man:/opt/VRTSvxvm/man:/opt/VRTSvmsa/man:/opt/VRTSvcs/man:/usr/
dt/man:/usr/local/man:/usr/openwin/man:/usr/local/lib/perl5/5.00503/man
SYMCLI_HOME=/usr/symcli
SYMCLI_SID=184701546

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