SVN Nagios compiling problem on NetBSD

Marcel webknowledge at gmail.com
Fri Aug 1 01:44:41 CEST 2008


Hello Nagios gurus!!

I'm trying to compile nagios at sdf. Here is the trouble:

[1]:C/nagios> make all
cd ./base && make
gcc -g -O2 -I/usr/pkg/include -DHAVE_CONFIG_H
-I/usr/pkg/include/glib/glib-2.0 -I/usr/pkg/lib/glib-2.0/include   -DNSCORE
-o nagios nagios.c broker.o nebmods.o checks.o config.o commands.o events.o
flapping.o logging.o macros-base.o notifications.o sehandlers.o skiplist.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
-Wl,-export-dynamic -L/usr/pkg/lib  -lm  -lpthread -lltdl -Wl,-R/usr/pkg/lib
-L/usr/pkg/lib -lglib-2.0 -lintl
ld: warning: libintl.so.0, needed by /usr/pkg/lib/libglib-2.0.so, may
conflict with libintl.so.3
utils.o(.text+0x5fb8): In function `command_file_worker_thread':
/home/nagios/C/nagios/base/utils.c:3816: undefined reference to
`pthread__cleanup_push'
utils.o(.text+0x5fbc):/home/nagios/C/nagios/base/utils.c:3816: undefined
reference to `pthread__cleanup_push'
*** Error code 1

Stop.
make: stopped in /home/nagios/C/nagios/base
*** Error code 1

Stop.
make: stopped in /home/nagios/C/nagios
[1]:C/nagios> uname -a
NetBSD sdf 2.1.0_STABLE NetBSD 2.1.0_STABLE (sdf) #0: Fri Mar 30 02:24:32
UTC 2007  root at ol:/var/sys/arch/alpha/compile/sdf alpha
[0]:C/nagios>

Can't seem to workaround this. As this host being super-dimensional-fortress
lonestar dot org, i can't tweak libs nor anything. Nagios-2.5 compiles fine.


Did any of NetBSD sysadmins out-there knows of any way to get svn nagios
compiled on NetBSD 2.1?

TIA,
Marcel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20080731/c1a99c73/attachment.html>
-------------- next part --------------
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
-------------- 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