[Nagios-devel] Nagios 2.0b3 on Solaris 9

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] Nagios 2.0b3 on Solaris 9

Post by Guest »

Hi,

I'm trying to compile Nagios-2.0b3 on a Solaris 9 box.

When I compiled Nagios without the "--with-gd-lib and --with-gd-inc" options, everything works fine.
As I am interested in Trends, Status Map, ... I had to recompile it with the options above.

This is what I did :

./configure --prefix=/opt/nagios-2.0 CC=/usr/local/bin/gcc --with-gd-lib=/opt/csw/lib --with-gd-inc=/opt/csw/include

Which works fine and tells me that the gd lib has been found, but when I execute the "make all" command it quits with an error when making the modules

make[1]: Entering directory `/opt/installs/nagios/nagios-2.0b3/module'
gcc -g -O2 -I/opt/csw/include -DHAVE_CONFIG_H  -o helloworld.o helloworld.c -L/opt/csw/lib -shared -lrt
Text relocation remains                         referenced
    against symbol                  offset      in file
<unknown>                           0x4         /var/tmp//ccFUBZZt.o
<unknown>                           0x10        /var/tmp//ccFUBZZt.o
<unknown>                           0x18        /var/tmp//ccFUBZZt.o
<unknown>                           0x1c        /var/tmp//ccFUBZZt.o
<unknown>                           0x4c        /var/tmp//ccFUBZZt.o
<unknown>                           0x50        /var/tmp//ccFUBZZt.o
<unknown>                           0x94        /var/tmp//ccFUBZZt.o
<unknown>                           0x98        /var/tmp//ccFUBZZt.o
<unknown>                           0xc8        /var/tmp//ccFUBZZt.o
<unknown>                           0xd0        /var/tmp//ccFUBZZt.o
reminder_message                    0x54        /var/tmp//ccFUBZZt.o
reminder_message                    0x58        /var/tmp//ccFUBZZt.o
write_to_all_logs                   0xc         /var/tmp//ccFUBZZt.o
write_to_all_logs  

...[email truncated]...


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