[icinga-devel] Problems building icinga 1.0.1 on Debian

Matthew Delves m.delves at ballarat.edu.au
Fri Mar 12 01:09:22 CET 2010


Hey folks,
I'm trying to build Icinga on Debian Lenny (5.0) though am having problems when it tries to build the modules directory. The output I get is:

make[2]: Entering directory `/home/UOB/mdelves/icinga_old/icinga-1.0.1/module'
gcc -fPIC -g -O2   -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64  -I/usr/lib/perl/5.10/CORE  -I/usr/include/openssl -I/usr/include -DHAVE_CONFIG_H -o helloworld.o helloworld.c -shared -Wl,-z,defs  -L/usr/lib -lssl -lcrypto
/tmp/cc6kEntd.o: In function `helloworld_handle_data':
/home/UOB/mdelves/icinga_old/icinga-1.0.1/module/helloworld.c:130: undefined reference to `write_to_all_logs'
/tmp/cc6kEntd.o: In function `helloworld_reminder_message':
/home/UOB/mdelves/icinga_old/icinga-1.0.1/module/helloworld.c:108: undefined reference to `write_to_all_logs'
/tmp/cc6kEntd.o: In function `nebmodule_deinit':
/home/UOB/mdelves/icinga_old/icinga-1.0.1/module/helloworld.c:90: undefined reference to `neb_deregister_callback'
/home/UOB/mdelves/icinga_old/icinga-1.0.1/module/helloworld.c:95: undefined reference to `write_to_all_logs'
/tmp/cc6kEntd.o: In function `nebmodule_init':
/home/UOB/mdelves/icinga_old/icinga-1.0.1/module/helloworld.c:58: undefined reference to `neb_set_module_info'
/home/UOB/mdelves/icinga_old/icinga-1.0.1/module/helloworld.c:59: undefined reference to `neb_set_module_info'
/home/UOB/mdelves/icinga_old/icinga-1.0.1/module/helloworld.c:60: undefined reference to `neb_set_module_info'
/home/UOB/mdelves/icinga_old/icinga-1.0.1/module/helloworld.c:61: undefined reference to `neb_set_module_info'
/home/UOB/mdelves/icinga_old/icinga-1.0.1/module/helloworld.c:62: undefined reference to `neb_set_module_info'
/tmp/cc6kEntd.o:/home/UOB/mdelves/icinga_old/icinga-1.0.1/module/helloworld.c:63: more undefined references to `neb_set_module_info' follow
/tmp/cc6kEntd.o: In function `nebmodule_init':
/home/UOB/mdelves/icinga_old/icinga-1.0.1/module/helloworld.c:66: undefined reference to `write_to_all_logs'
/home/UOB/mdelves/icinga_old/icinga-1.0.1/module/helloworld.c:71: undefined reference to `write_to_all_logs'
/home/UOB/mdelves/icinga_old/icinga-1.0.1/module/helloworld.c:76: undefined reference to `schedule_new_event'
/home/UOB/mdelves/icinga_old/icinga-1.0.1/module/helloworld.c:79: undefined reference to `neb_register_callback'
collect2: ld returned 1 exit status
make[2]: *** [helloworld.o] Error 1
make[2]: Leaving directory `/home/UOB/mdelves/icinga_old/icinga-1.0.1/module'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/UOB/mdelves/icinga_old/icinga-1.0.1'
make: *** [build-arch-stamp] Error 2


As for the configure parameters, I'm using:
./configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-init-dir=/etc/init.d --with-cgiurl=/icinga/cgi-bin --with-htmurl=/icinga --enable-idoutils --libexecdir=/usr/lib/icinga/plugins --datarootdir=/usr/share/icinga --sysconfdir=/etc/icinga --localstatedir=/var/log/icinga --enable-embedded-perl --with-template-object --with-template-extinfo --enable-ssl --disable-module


Thanks,
Matt Delves





More information about the icinga-devel mailing list