EPN and Perlcache With Debian Sarge

Tavis P tavis.lists at galaxytelecom.net
Sat Jun 10 03:55:12 CEST 2006


I've not been able to compile EPN or Perlcache support into nagios
2(.3.1 or 4) on a Debian Sarge system

The following error is encountered

I wasn't able to find any information about the supported perl/gcc
configurations to get EPN to work, does anyone have an idea about whats
going on here?





gcc -L/var/jails/mysqld.1/mysql-build/lib    
-L/opt/radiusclient-ng/lib      -O2 -march=pentium4    
-I/var/jails/mysqld.1/mysql-build/include    
-I/opt/radiusclient-ng/include   -D_REENTRANT -D_GNU_SOURCE
-DTHREADS_HAVE_PIDS -DDEBIAN -fno-strict-aliasing -I/usr/local/include
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64  -I/usr/lib/perl/5.8/CORE 
-DHAVE_CONFIG_H -DNSCORE   -c -o perlxsi.o perlxsi.c
gcc -L/var/jails/mysqld.1/mysql-build/lib    
-L/opt/radiusclient-ng/lib      -O2 -march=pentium4    
-I/var/jails/mysqld.1/mysql-build/include    
-I/opt/radiusclient-ng/include   -D_REENTRANT -D_GNU_SOURCE
-DTHREADS_HAVE_PIDS -DDEBIAN -fno-strict-aliasing -I/usr/local/include
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64  -I/usr/lib/perl/5.8/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 
-L/var/jails/mysqld.1/mysql-build/lib     -L/opt/radiusclient-ng/lib 
-Wl,-E  -L/usr/local/lib /usr/lib/perl/5.8/auto/DynaLoader/DynaLoader.a
-L/usr/lib/perl/5.8/CORE -ldl -lm -lpthread -lc -lcrypt -lm  -lpthread
-lltdl
checks.o(.text+0x26): In function `run_service_check':
: undefined reference to `PL_thr_key'
checks.o(.text+0x50f): In function `run_service_check':
: undefined reference to `Perl_push_scope'
checks.o(.text+0x51e): In function `run_service_check':
: undefined reference to `Perl_save_int'
checks.o(.text+0x575): In function `run_service_check':
: undefined reference to `Perl_newSVpv'
checks.o(.text+0x581): In function `run_service_check':
: undefined reference to `Perl_sv_2mortal'
checks.o(.text+0x5ba): In function `run_service_check':
: undefined reference to `Perl_newSVpv'
checks.o(.text+0x5c6): In function `run_service_check':
: undefined reference to `Perl_sv_2mortal'
checks.o(.text+0x5ff): In function `run_service_check':
: undefined reference to `Perl_newSVpv'
checks.o(.text+0x60b): In function `run_service_check':
: undefined reference to `Perl_sv_2mortal'
checks.o(.text+0x644): In function `run_service_check':
: undefined reference to `Perl_newSVpv'
checks.o(.text+0x650): In function `run_service_check':
: undefined reference to `Perl_sv_2mortal'
checks.o(.text+0x679): In function `run_service_check':
: undefined reference to `Perl_call_pv'
checks.o(.text+0x77f): In function `run_service_check':
: undefined reference to `Perl_newSVsv'
checks.o(.text+0x7a1): In function `run_service_check':
: undefined reference to `Perl_pop_scope'
checks.o(.text+0xa95): In function `run_service_check':
: undefined reference to `Perl_push_scope'
checks.o(.text+0xaa4): In function `run_service_check':
: undefined reference to `Perl_save_int'
checks.o(.text+0xafb): In function `run_service_check':
: undefined reference to `Perl_newSVpv'
checks.o(.text+0xb07): In function `run_service_check':
: undefined reference to `Perl_sv_2mortal'
checks.o(.text+0xb40): In function `run_service_check':
: undefined reference to `Perl_newSVpv'
checks.o(.text+0xb4c): In function `run_service_check':
: undefined reference to `Perl_sv_2mortal'
checks.o(.text+0xbae): In function `run_service_check':
: undefined reference to `Perl_newSVpv'
checks.o(.text+0xbba): In function `run_service_check':
: undefined reference to `Perl_sv_2mortal'
checks.o(.text+0xbe3): In function `run_service_check':
: undefined reference to `Perl_call_pv'
checks.o(.text+0xc6f): In function `run_service_check':
: undefined reference to `Perl_pop_scope'
checks.o(.text+0xcee): In function `run_service_check':
: undefined reference to `Perl_free_tmps'
checks.o(.text+0xcff): In function `run_service_check':
: undefined reference to `Perl_sv_2iv'
checks.o(.text+0xd22): In function `run_service_check':
: undefined reference to `Perl_sv_2pv_flags'
checks.o(.text+0xd47): In function `run_service_check':
: undefined reference to `Perl_stack_grow'
checks.o(.text+0xd6a): In function `run_service_check':
: undefined reference to `Perl_stack_grow'
checks.o(.text+0xd8d): In function `run_service_check':
: undefined reference to `Perl_stack_grow'
checks.o(.text+0xdb6): In function `run_service_check':
: undefined reference to `Perl_stack_grow'
checks.o(.text+0xdc9): In function `run_service_check':
: undefined reference to `Perl_markstack_grow'
checks.o(.text+0xdfb): In function `run_service_check':
: undefined reference to `Perl_free_tmps'
checks.o(.text+0xe43): In function `run_service_check':
: undefined reference to `Perl_sv_2bool'
checks.o(.text+0xe6e): In function `run_service_check':
: undefined reference to `Perl_stack_grow'
checks.o(.text+0xe91): In function `run_service_check':
: undefined reference to `Perl_stack_grow'
checks.o(.text+0xeb4): In function `run_service_check':
: undefined reference to `Perl_stack_grow'
checks.o(.text+0xedd): In function `run_service_check':
: undefined reference to `Perl_stack_grow'
checks.o(.text+0xef0): In function `run_service_check':
: undefined reference to `Perl_markstack_grow'
utils.o(.text+0x450c): In function `my_system':
: undefined reference to `PL_thr_key'
utils.o(.text+0x468d): In function `my_system':
: undefined reference to `Perl_push_scope'
utils.o(.text+0x469c): In function `my_system':
: undefined reference to `Perl_save_int'
utils.o(.text+0x46ee): In function `my_system':
: undefined reference to `Perl_newSVpv'
utils.o(.text+0x46fa): In function `my_system':
: undefined reference to `Perl_sv_2mortal'
utils.o(.text+0x4729): In function `my_system':
: undefined reference to `Perl_newSVpv'
utils.o(.text+0x4735): In function `my_system':
: undefined reference to `Perl_sv_2mortal'
utils.o(.text+0x4764): In function `my_system':
: undefined reference to `Perl_newSVpv'
utils.o(.text+0x4770): In function `my_system':
: undefined reference to `Perl_sv_2mortal'
utils.o(.text+0x479f): In function `my_system':
: undefined reference to `Perl_newSVpv'
utils.o(.text+0x47ab): In function `my_system':
: undefined reference to `Perl_sv_2mortal'
utils.o(.text+0x47c7): In function `my_system':
: undefined reference to `Perl_call_pv'
utils.o(.text+0x4888): In function `my_system':
: undefined reference to `Perl_newSVsv'
utils.o(.text+0x48a4): In function `my_system':
: undefined reference to `Perl_pop_scope'
utils.o(.text+0x4a19): In function `my_system':
: undefined reference to `Perl_push_scope'
utils.o(.text+0x4a28): In function `my_system':
: undefined reference to `Perl_save_int'
utils.o(.text+0x4a7a): In function `my_system':
: undefined reference to `Perl_newSVpv'
utils.o(.text+0x4a86): In function `my_system':
: undefined reference to `Perl_sv_2mortal'
utils.o(.text+0x4ab5): In function `my_system':
: undefined reference to `Perl_newSVpv'
utils.o(.text+0x4ac1): In function `my_system':
: undefined reference to `Perl_sv_2mortal'
utils.o(.text+0x4b0b): In function `my_system':
: undefined reference to `Perl_newSVpv'
utils.o(.text+0x4b17): In function `my_system':
: undefined reference to `Perl_sv_2mortal'
utils.o(.text+0x4b33): In function `my_system':
: undefined reference to `Perl_call_pv'
utils.o(.text+0x4ba7): In function `my_system':
: undefined reference to `Perl_pop_scope'
utils.o(.text+0x4bff): In function `my_system':
: undefined reference to `Perl_free_tmps'
utils.o(.text+0x4c0d): In function `my_system':
: undefined reference to `Perl_sv_2iv'
utils.o(.text+0x4c30): In function `my_system':
: undefined reference to `Perl_sv_2pv_flags'
utils.o(.text+0x4c4f): In function `my_system':
: undefined reference to `Perl_stack_grow'
utils.o(.text+0x4c6e): In function `my_system':
: undefined reference to `Perl_stack_grow'
utils.o(.text+0x4c8d): In function `my_system':
: undefined reference to `Perl_stack_grow'
utils.o(.text+0x4cac): In function `my_system':
: undefined reference to `Perl_stack_grow'
utils.o(.text+0x4cbb): In function `my_system':
: undefined reference to `Perl_markstack_grow'
utils.o(.text+0x512b): In function `my_system':
: undefined reference to `Perl_free_tmps'
utils.o(.text+0x5173): In function `my_system':
: undefined reference to `Perl_sv_2bool'
utils.o(.text+0x519e): In function `my_system':
: undefined reference to `Perl_stack_grow'
utils.o(.text+0x51bd): In function `my_system':
: undefined reference to `Perl_stack_grow'
utils.o(.text+0x51dc): In function `my_system':
: undefined reference to `Perl_stack_grow'
utils.o(.text+0x51fb): In function `my_system':
: undefined reference to `Perl_stack_grow'
utils.o(.text+0x520a): In function `my_system':
: undefined reference to `Perl_markstack_grow'
utils.o(.text+0x70f9): In function `init_embedded_perl':
: undefined reference to `PL_sigfpe_saved'
utils.o(.text+0x70fe): In function `init_embedded_perl':
: undefined reference to `perl_alloc'
utils.o(.text+0x710f): In function `init_embedded_perl':
: undefined reference to `perl_construct'
utils.o(.text+0x713d): In function `init_embedded_perl':
: undefined reference to `perl_parse'
utils.o(.text+0x7157): In function `init_embedded_perl':
: undefined reference to `perl_run'
utils.o(.text+0x71c6): In function `deinit_embedded_perl':
: undefined reference to `perl_destruct'
utils.o(.text+0x71d3): In function `deinit_embedded_perl':
: undefined reference to `perl_free'
utils.o(.text+0x71da): In function `deinit_embedded_perl':
: undefined reference to `PL_op_mutex'
utils.o(.text+0x7209): In function `deinit_embedded_perl':
: undefined reference to `Perl_croak_nocontext'
perlxsi.o(.text+0x25): In function `xs_init':
: undefined reference to `Perl_newXS'
/usr/lib/perl/5.8/auto/DynaLoader/DynaLoader.a(DynaLoader.o)(.text+0x41):
In function `dl_generic_private_init':
: undefined reference to `Perl_hv_fetch'
/usr/lib/perl/5.8/auto/DynaLoader/DynaLoader.a(DynaLoader.o)(.text+0x57):
In function `dl_generic_private_init':
: undefined reference to `Perl_newSV'
/usr/lib/perl/5.8/auto/DynaLoader/DynaLoader.a(DynaLoader.o)(.text+0x7b):
In function `dl_generic_private_init':
: undefined reference to `Perl_sv_setuv'
/usr/lib/perl/5.8/auto/DynaLoader/DynaLoader.a(DynaLoader.o)(.text+0x96):
In function `dl_generic_private_init':
: undefined reference to `Perl_newSVpvn'
/usr/lib/perl/5.8/auto/DynaLoader/DynaLoader.a(DynaLoader.o)(.text+0x121):
In function `SaveError':
: undefined reference to `Perl_hv_fetch'
/usr/lib/perl/5.8/auto/DynaLoader/DynaLoader.a(DynaLoader.o)(.text+0x14a):
In function `SaveError':
: undefined reference to `Perl_vmess'
/usr/lib/perl/5.8/auto/DynaLoader/DynaLoader.a(DynaLoader.o)(.text+0x17b):
In function `SaveError':
: undefined reference to `Perl_sv_setpvn'
/usr/lib/perl/5.8/auto/DynaLoader/DynaLoader.a(DynaLoader.o)(.text+0x19f):
In function `SaveError':
: undefined reference to `Perl_sv_2pv_flags'
/usr/lib/perl/5.8/auto/DynaLoader/DynaLoader.a(DynaLoader.o)(.text+0x1af):
In function `SaveError':
: undefined reference to `Perl_sv_2uv'
/usr/lib/perl/5.8/auto/DynaLoader/DynaLoader.a(DynaLoader.o)(.text+0x284):
In function `XS_DynaLoader_dl_load_file':
: undefined reference to `Perl_hv_fetch'
/usr/lib/perl/5.8/auto/DynaLoader/DynaLoader.a(DynaLoader.o)(.text+0x2cc):
In function `XS_DynaLoader_dl_load_file':
: undefined reference to `Perl_sv_newmortal'
/usr/lib/perl/5.8/auto/DynaLoader/DynaLoader.a(DynaLoader.o)(.text+0x2f2):
In function `XS_DynaLoader_dl_load_file':
: undefined reference to `Perl_sv_setiv'
/usr/lib/perl/5.8/auto/DynaLoader/DynaLoader.a(DynaLoader.o)(.text+0x338):
In function `XS_DynaLoader_dl_load_file':
: undefined reference to `Perl_sv_2uv'
/usr/lib/perl/5.8/auto/DynaLoader/DynaLoader.a(DynaLoader.o)(.text+0x349):
In function `XS_DynaLoader_dl_load_file':
: undefined reference to `Perl_sv_2iv'
/usr/lib/perl/5.8/auto/DynaLoader/DynaLoader.a(DynaLoader.o)(.text+0x35a):
In function `XS_DynaLoader_dl_load_file':
: undefined reference to `Perl_sv_2pv_nolen'
/usr/lib/perl/5.8/auto/DynaLoader/DynaLoader.a(DynaLoader.o)(.text+0x371):
In function `XS_DynaLoader_dl_load_file':
: undefined reference to `Perl_croak'
/usr/lib/perl/5.8/auto/DynaLoader/DynaLoader.a(DynaLoader.o)(.text+0x429):
In function `XS_DynaLoader_dl_unload_file':
: undefined reference to `Perl_sv_setiv'
/usr/lib/perl/5.8/auto/DynaLoader/DynaLoader.a(DynaLoader.o)(.text+0x458):
In function `XS_DynaLoader_dl_unload_file':
: undefined reference to `Perl_mg_set'
/usr/lib/perl/5.8/auto/DynaLoader/DynaLoader.a(DynaLoader.o)(.text+0x484):
In function `XS_DynaLoader_dl_unload_file':
: undefined reference to `Perl_sv_newmortal'
/usr/lib/perl/5.8/auto/DynaLoader/DynaLoader.a(DynaLoader.o)(.text+0x498):
In function `XS_DynaLoader_dl_unload_file':
: undefined reference to `Perl_sv_2iv'
/usr/lib/perl/5.8/auto/DynaLoader/DynaLoader.a(DynaLoader.o)(.text+0x4af):
In function `XS_DynaLoader_dl_unload_file':
: undefined reference to `Perl_croak'
/usr/lib/perl/5.8/auto/DynaLoader/DynaLoader.a(DynaLoader.o)(.text+0x541):
In function `XS_DynaLoader_dl_find_symbol':
: undefined reference to `Perl_sv_newmortal'
/usr/lib/perl/5.8/auto/DynaLoader/DynaLoader.a(DynaLoader.o)(.text+0x567):
In function `XS_DynaLoader_dl_find_symbol':
: undefined reference to `Perl_sv_setiv'
/usr/lib/perl/5.8/auto/DynaLoader/DynaLoader.a(DynaLoader.o)(.text+0x5a8):
In function `XS_DynaLoader_dl_find_symbol':
: undefined reference to `Perl_sv_2pv_nolen'
/usr/lib/perl/5.8/auto/DynaLoader/DynaLoader.a(DynaLoader.o)(.text+0x5b9):
In function `XS_DynaLoader_dl_find_symbol':
: undefined reference to `Perl_sv_2iv'
/usr/lib/perl/5.8/auto/DynaLoader/DynaLoader.a(DynaLoader.o)(.text+0x5d6):
In function `XS_DynaLoader_dl_find_symbol':
: undefined reference to `Perl_croak'
/usr/lib/perl/5.8/auto/DynaLoader/DynaLoader.a(DynaLoader.o)(.text+0x642):
In function `XS_DynaLoader_dl_undef_symbols':
: undefined reference to `Perl_croak'
/usr/lib/perl/5.8/auto/DynaLoader/DynaLoader.a(DynaLoader.o)(.text+0x6fb):
In function `XS_DynaLoader_dl_install_xsub':
: undefined reference to `Perl_newXS'
/usr/lib/perl/5.8/auto/DynaLoader/DynaLoader.a(DynaLoader.o)(.text+0x707):
In function `XS_DynaLoader_dl_install_xsub':
: undefined reference to `Perl_newRV'
/usr/lib/perl/5.8/auto/DynaLoader/DynaLoader.a(DynaLoader.o)(.text+0x713):
In function `XS_DynaLoader_dl_install_xsub':
: undefined reference to `Perl_sv_2mortal'
/usr/lib/perl/5.8/auto/DynaLoader/DynaLoader.a(DynaLoader.o)(.text+0x738):
In function `XS_DynaLoader_dl_install_xsub':
: undefined reference to `Perl_sv_2pv_nolen'
/usr/lib/perl/5.8/auto/DynaLoader/DynaLoader.a(DynaLoader.o)(.text+0x748):
In function `XS_DynaLoader_dl_install_xsub':
: undefined reference to `Perl_sv_2iv'
/usr/lib/perl/5.8/auto/DynaLoader/DynaLoader.a(DynaLoader.o)(.text+0x759):
In function `XS_DynaLoader_dl_install_xsub':
: undefined reference to `Perl_sv_2pv_nolen'
/usr/lib/perl/5.8/auto/DynaLoader/DynaLoader.a(DynaLoader.o)(.text+0x776):
In function `XS_DynaLoader_dl_install_xsub':
: undefined reference to `Perl_croak'
/usr/lib/perl/5.8/auto/DynaLoader/DynaLoader.a(DynaLoader.o)(.text+0x805):
In function `XS_DynaLoader_dl_error':
: undefined reference to `Perl_hv_fetch'
/usr/lib/perl/5.8/auto/DynaLoader/DynaLoader.a(DynaLoader.o)(.text+0x82b):
In function `XS_DynaLoader_dl_error':
: undefined reference to `Perl_sv_setpv'
/usr/lib/perl/5.8/auto/DynaLoader/DynaLoader.a(DynaLoader.o)(.text+0x868):
In function `XS_DynaLoader_dl_error':
: undefined reference to `Perl_mg_set'
/usr/lib/perl/5.8/auto/DynaLoader/DynaLoader.a(DynaLoader.o)(.text+0x878):
In function `XS_DynaLoader_dl_error':
: undefined reference to `Perl_sv_2uv'
/usr/lib/perl/5.8/auto/DynaLoader/DynaLoader.a(DynaLoader.o)(.text+0x884):
In function `XS_DynaLoader_dl_error':
: undefined reference to `Perl_sv_newmortal'
/usr/lib/perl/5.8/auto/DynaLoader/DynaLoader.a(DynaLoader.o)(.text+0x89e):
In function `XS_DynaLoader_dl_error':
: undefined reference to `Perl_croak'
/usr/lib/perl/5.8/auto/DynaLoader/DynaLoader.a(DynaLoader.o)(.text+0x9e6):
In function `boot_DynaLoader':
: undefined reference to `Perl_croak'
/usr/lib/perl/5.8/auto/DynaLoader/DynaLoader.a(DynaLoader.o)(.text+0xa32):
In function `boot_DynaLoader':
: undefined reference to `Perl_newXS'
/usr/lib/perl/5.8/auto/DynaLoader/DynaLoader.a(DynaLoader.o)(.text+0xa58):
In function `boot_DynaLoader':
: undefined reference to `Perl_newXS'
/usr/lib/perl/5.8/auto/DynaLoader/DynaLoader.a(DynaLoader.o)(.text+0xa7b):
In function `boot_DynaLoader':
: undefined reference to `Perl_newXS'
/usr/lib/perl/5.8/auto/DynaLoader/DynaLoader.a(DynaLoader.o)(.text+0xa9e):
In function `boot_DynaLoader':
: undefined reference to `Perl_newXS'
/usr/lib/perl/5.8/auto/DynaLoader/DynaLoader.a(DynaLoader.o)(.text+0xac1):
In function `boot_DynaLoader':
: undefined reference to `Perl_newXS'
/usr/lib/perl/5.8/auto/DynaLoader/DynaLoader.a(DynaLoader.o)(.text+0xae7):
more undefined references to `Perl_newXS' follow
/usr/lib/perl/5.8/auto/DynaLoader/DynaLoader.a(DynaLoader.o)(.text+0xb3e):
In function `boot_DynaLoader':
: undefined reference to `Perl_sv_2pv_flags'
/usr/lib/perl/5.8/auto/DynaLoader/DynaLoader.a(DynaLoader.o)(.text+0xb7a):
In function `boot_DynaLoader':
: undefined reference to `Perl_form'
/usr/lib/perl/5.8/auto/DynaLoader/DynaLoader.a(DynaLoader.o)(.text+0xb8f):
In function `boot_DynaLoader':
: undefined reference to `Perl_get_sv'
/usr/lib/perl/5.8/auto/DynaLoader/DynaLoader.a(DynaLoader.o)(.text+0xbc6):
In function `boot_DynaLoader':
: undefined reference to `Perl_form'
/usr/lib/perl/5.8/auto/DynaLoader/DynaLoader.a(DynaLoader.o)(.text+0xbdb):
In function `boot_DynaLoader':
: undefined reference to `Perl_get_sv'
/usr/lib/perl/5.8/auto/DynaLoader/DynaLoader.a(DynaLoader.o)(.text+0xc05):
In function `boot_DynaLoader':
: undefined reference to `Perl_sv_2pv_flags'
collect2: ld returned 1 exit status
make[1]: *** [nagios] Error 1
make[1]: Leaving directory `/usr/src/daemon/nagios-2.4/base'
make: *** [all] Error 2



_______________________________________________
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