Nag 2.X on Solaris 8

Quanah Gibson-Mount quanah at stanford.edu
Fri Jan 7 18:44:27 CET 2005



--On Friday, January 07, 2005 4:39 PM +0000 "Garrett, Matt M SITI-ITISEEEE" 
<matt.garrett at shell.com> wrote:

>
> Folks
>
> Trying to get Nagios 2.X CVS as of 06/01/2005
>
> To compile on Solaris 8
>
> I get the following error's
>
># make all
> cd ./base && make
> make[1]: Entering directory `/local/data1/nagios-2.0b1/src/base'
> gcc -g -O2 -I/usr/local/include  -fno-strict-aliasing
> -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
> -I/local/perl/lib/5.6.1/sun4-solaris/CORE  -DWITH_THREADS -DHAVE_CONFIG_H
> -DNSCORE -o nagios nagios.c broker.o nebmods.o checks.o config.o
> commands.o events.o flapping.o logging.o notifications.o sehandlers.o
> utils.o retention-base.o xretention-base.o comments-base.o
> xcomments-base.o objects-base.o xobjects-base.o statusdata-base.o
> xstatusdata-base.o perfdata-base.o xperfdata-base.o downtime-base.o
> xdowntime-base.o   perlxsi.o  -L/usr/local/lib -Wl,-E  -L/usr/local/lib
> /local/perl/lib/5.6.1/sun4-solaris/auto/DynaLoader/DynaLoader.a
> -L/local/perl/lib/5.6.1/sun4-solaris/CORE -lperl -lsocket -lnsl -ldl -lm
> -lc -lm -lnsl -lsocket -lpthread -ldl -lrt
>
> /usr/ccs/bin/ld: illegal option -- E
>
> usage: ld [-6:abc:d:e:f:h:il:mo:p:rstu:z:B:CD:F:GI:L:M:N:P:Q:R:S:VY:?]
> file(s)
>
> Any idea's

Use GNU ld instead of Solaris ld?

tribes:~> ld -v
GNU ld version 2.13.2.1

tribes:~> ld -E
ld: no input files

--Quanah

--
Quanah Gibson-Mount
Principal Software Developer
ITSS/Shared Services
Stanford University
GnuPG Public Key: http://www.stanford.edu/~quanah/pgp.html

"These censorship operations against schools and libraries are stronger
than ever in the present religio-political climate. They often focus on
fantasy and sf books, which foster that deadly enemy to bigotry and blind
faith, the imagination." -- Ursula K. Le Guin



-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list