Xymon Mailing List Archive search

Cient for solaris - compile error

list Henrik Størner
Thu, 11 Aug 2005 07:54:38 +0200
Message-Id: <user-d27015a51e69@xymon.invalid>

On Thu, Aug 11, 2005 at 12:10:52PM +0700, Zakki Ashshidiqi wrote:
Dear all,

I just download the snapshot, and then compile it on Sun Solaris.
It is Sun Solaris 5.8 and gcc 3.2.3. I got the following error:

CC="gcc" CFLAGS="-g -O2 -Wall -Wno-unused -D_REENTRANT -DSunOS -I.
-I`pwd`/include -DCLIENTONLY=1" OSDEF="-DSunOS" RPATHOPT=""
PCREINCDIR="" SSLFLAGS="" SSLINCDIR="" SSLLIBS="" NETLIBS="-lresolv
-lsocket -lnsl" BBTOPDIR="/Core/home/bb" BBLOGDIR="" BBHOSTNAME=""
BBHOSTIP="10.16.0.66" BBHOSTOS="" make -C lib client
make[1]: Entering directory `/Core/home/bb/snapshot/lib'
gcc -g -O2 -Wall -Wno-unused -D_REENTRANT -DSunOS -I.
-I/Core/home/bb/snapshot/include -DCLIENTONLY=1 -I. -I../include    -c
-o osdefs.o osdefs.c
gcc: installation problem, cannot exec `as': No such file or directory
There's no assembler installed on your system, so gcc cannot compile
any programs.

Pick up the binutils package from sunfreeware:
http://sunfreeware.com/programlistsparc8.html#binutils


Henrik