[Nagios-devel] ndoutils compilation problem on Solaris 10

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
Guest

[Nagios-devel] ndoutils compilation problem on Solaris 10

Post by Guest »

Hi,

I tried to compil ndoutils with my Solaris 10 box, and i have these=20
following errors :
# make

cd ./src/; make ; cd ..
make[1]: Entering directory=20
`/export/home/compilation/ndoutils-1.3.1/src'
gcc -g -O2 -DHAVE_CONFIG_H -c -o io.o io.c
gcc -g -O2 -DHAVE_CONFIG_H -c -o utils.o utils.c
gcc -g -O2 -DHAVE_CONFIG_H -o file2sock file2sock.c io.o utils.o -lm=20=

-lnsl -lsocket
Symbole premi=E8re r=E9f=E9rence
non d=E9fini dans le fichier
SUN_LEN io.o
ld: fatal : Erreurs dans le r=E9f=E9rencement des symboles. Aucun =
r=E9sultat=20
n'a =E9t=E9 =E9crit dans file2sock
collect2: ld returned 1 exit status
make[1]: *** [file2sock] Error 1
make[1]: Leaving directory `/export/home/compilation/ndoutils-1.3.1/src'


(Sorry i have french box)

It seems that SUN_LEN doesn't exist on Solaris...

Anyone have a small patch ?

Thx in advance,

Damien=






This post was automatically imported from historical nagios-devel mailing list archives
Original poster: [email protected]
Locked