Compilation errors
frank.bourdeau at dga.defense.gouv.fr
frank.bourdeau at dga.defense.gouv.fr
Thu Sep 14 11:14:15 CEST 2006
Hi the list,
Here is the error result for nagios compilation. I don't know why this
compilation failed. I've upgraded my OS, and perl was also upgraded (5.8.3
-> 5.8.7).
Have you encountered this problem and how have you resolved it ?
Thanks in advance for replies
Best regards
make nagios
cd ./base && make
make[1]: Entering directory `/usr/local/src/nagios-2.5/base'
gcc -g -O2 -DPERL_DISABLE_PMC -fno-strict-aliasing -pipe
-I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
-I/usr/include/gdbm -I/usr/lib/perl5/5.8.7/i386-linux/CORE
-DHAVE_CONFIG_H -DNSCORE -c -o perlxsi.o perlxsi.c
gcc -g -O2 -DPERL_DISABLE_PMC -fno-strict-aliasing -pipe
-I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
-I/usr/include/gdbm -I/usr/lib/perl5/5.8.7/i386-linux/CORE
-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 -Wl,-export-dynamic -Wl,-E
-Wl,-rpath,/usr/lib/perl5/5.8.7/i386-linux/CORE -L/usr/local/lib
/usr/lib/perl5/5.8.7/i386-linux/auto/DynaLoader/DynaLoader.a
-L/usr/lib/perl5/5.8.7/i386-linux/CORE -lperl -lnsl -ldl -lm -lcrypt
-lutil -lc -lm -lpthread -lltdl
checks.o: In function `run_service_check':
/usr/local/src/nagios-2.5/base/checks.c:123: undefined reference to
`PL_thr_key'
utils.o: In function `my_system':
/usr/local/src/nagios-2.5/base/utils.c:2585: undefined reference to
`PL_thr_key'
utils.o: In function `deinit_embedded_perl':
/usr/local/src/nagios-2.5/base/utils.c:4602: undefined reference to
`PL_op_mutex'
/usr/local/src/nagios-2.5/base/utils.c:4606: undefined reference to
`Perl_croak_nocontext'
collect2: ld returned 1 exit status
make[1]: *** [nagios] Erreur 1
make[1]: Leaving directory `/usr/local/src/nagios-2.5/base'
make: *** [nagios] Erreur 2
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20060914/c915a6b6/attachment.html>
-------------- next part --------------
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
-------------- next part --------------
_______________________________________________
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