<br><font size=2 face="sans-serif">Hi,</font>
<br>
<br><font size=2 face="sans-serif">I'm trying to compile Nagios-2.0b3 on a Solaris 9 box.</font>
<br>
<br><font size=2 face="sans-serif">When I compiled Nagios without the "--with-gd-lib and --with-gd-inc" options, everything works fine.</font>
<br><font size=2 face="sans-serif">As I am interested in Trends, Status Map, ... I had to recompile it with the options above.</font>
<br>
<br><font size=2 face="sans-serif">This is what I did :</font>
<br>
<br><font size=2 face="sans-serif">./configure --prefix=/opt/nagios-2.0 CC=/usr/local/bin/gcc --with-gd-lib=/opt/csw/lib --with-gd-inc=/opt/csw/include</font>
<br>
<br><font size=2 face="sans-serif">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</font>
<br>
<br><font size=2 face="sans-serif">make[1]: Entering directory `/opt/installs/nagios/nagios-2.0b3/module'</font>
<br><font size=2 face="sans-serif">gcc -g -O2 -I/opt/csw/include -DHAVE_CONFIG_H -o helloworld.o helloworld.c -L/opt/csw/lib -shared -lrt</font>
<br><font size=2 face="sans-serif">Text relocation remains referenced</font>
<br><font size=2 face="sans-serif"> against symbol offset in file</font>
<br><font size=2 face="sans-serif"><unknown> 0x4 /var/tmp//ccFUBZZt.o</font>
<br><font size=2 face="sans-serif"><unknown> 0x10 /var/tmp//ccFUBZZt.o</font>
<br><font size=2 face="sans-serif"><unknown> 0x18 /var/tmp//ccFUBZZt.o</font>
<br><font size=2 face="sans-serif"><unknown> 0x1c /var/tmp//ccFUBZZt.o</font>
<br><font size=2 face="sans-serif"><unknown> 0x4c /var/tmp//ccFUBZZt.o</font>
<br><font size=2 face="sans-serif"><unknown> 0x50 /var/tmp//ccFUBZZt.o</font>
<br><font size=2 face="sans-serif"><unknown> 0x94 /var/tmp//ccFUBZZt.o</font>
<br><font size=2 face="sans-serif"><unknown> 0x98 /var/tmp//ccFUBZZt.o</font>
<br><font size=2 face="sans-serif"><unknown> 0xc8 /var/tmp//ccFUBZZt.o</font>
<br><font size=2 face="sans-serif"><unknown> 0xd0 /var/tmp//ccFUBZZt.o</font>
<br><font size=2 face="sans-serif">reminder_message 0x54 /var/tmp//ccFUBZZt.o</font>
<br><font size=2 face="sans-serif">reminder_message 0x58 /var/tmp//ccFUBZZt.o</font>
<br><font size=2 face="sans-serif">write_to_all_logs 0xc /var/tmp//ccFUBZZt.o</font>
<br><font size=2 face="sans-serif">write_to_all_logs 0x34 /var/tmp//ccFUBZZt.o</font>
<br><font size=2 face="sans-serif">write_to_all_logs 0xb0 /var/tmp//ccFUBZZt.o</font>
<br><font size=2 face="sans-serif">write_to_all_logs 0xe8 /var/tmp//ccFUBZZt.o</font>
<br><font size=2 face="sans-serif">time 0x3c /var/tmp//ccFUBZZt.o</font>
<br><font size=2 face="sans-serif">snprintf 0x24 /var/tmp//ccFUBZZt.o</font>
<br><font size=2 face="sans-serif">snprintf 0xa0 /var/tmp//ccFUBZZt.o</font>
<br><font size=2 face="sans-serif">snprintf 0xd8 /var/tmp//ccFUBZZt.o</font>
<br><font size=2 face="sans-serif">schedule_new_event 0x7c /var/tmp//ccFUBZZt.o</font>
<br><font size=2 face="sans-serif">ld: fatal: relocations remain against allocatable but non-writable sections</font>
<br><font size=2 face="sans-serif">collect2: ld returned 1 exit status</font>
<br><font size=2 face="sans-serif">make[1]: *** [helloworld.o] Error 1</font>
<br><font size=2 face="sans-serif">make[1]: Leaving directory `/opt/installs/nagios/nagios-2.0b3/module'</font>
<br><font size=2 face="sans-serif">make: *** [all] Error 2</font>
<br>
<br>
<br><font size=2 face="sans-serif">Can anyone tell me what's going on here?</font>
<br>
<br><font size=2 face="sans-serif">TIA</font>
<br><font size=2 face="sans-serif">Stefaan.<br>
</font><font size=3 face="Arial">_______________________</font>
<p><font size=2 face="Comic Sans MS">Stefaan Margot</font>
<p><font size=1 face="Comic Sans MS">UNIX System Administrator</font>
<p><font size=1 face="Comic Sans MS">AGFA GICS/IFS/UCC</font>
<p><font size=1 face="Comic Sans MS">+32 3 4449088</font>
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click