NDOUtils 1.3.1: Compilation error

Andreas Tillner a.tillner at gmx.de
Fri Feb 17 19:31:33 CET 2006


Hallo,

yesterday, I compiled NDOUtils 1.3.1 on a SUSE 10.0 (32Bit) Box and
everything works fine.
Today, I try the same on a 64Bit SUSE 10.0 Server and I got the following
error.

/tmp/ndoutils-1.3.1$ make
cd ./src/; make ; cd ..
make[1]: Entering directory `/tmp/ndoutils-1.3.1/src'
gcc -g -O2 -DHAVE_CONFIG_H -c -o io.o io.c
...
make[2]: Leaving directory `/tmp/ndoutils-1.3.1/src'
make ndomod-2x.o
make[2]: Entering directory `/tmp/ndoutils-1.3.1/src'
gcc -fPIC -g -O2 -DHAVE_CONFIG_H -D BUILD_NAGIOS_2X -o ndomod-2x.o ndomod.c
io.o utils.o -shared -lnsl
/usr/lib64/gcc/x86_64-suse-linux/4.0.2/../../../../x86_64-su
se-linux/bin/ld: io.o: relocation R_X86_64_32 against `a local symbol' can
not be used when making a shared object; recompile with -fPIC
io.o: could not read symbols: Bad value

collect2: ld returned 1 exit status
make[2]: *** [ndomod-2x.o] Error 1
make[1]: *** [ndomod] Error 2
make[2]: Leaving directory `/tmp/ndoutils-1.3.1/src'


Is there something I have to change on the 64Bit Box ?

Regards,

  Andreas

-- 
DSL-Aktion wegen großer Nachfrage bis 28.2.2006 verlängert:
GMX DSL-Flatrate 1 Jahr kostenlos* http://www.gmx.net/de/go/dsl


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
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