[Nagios-users] installation problem of nagios with make all command
/usr/local/src/nagios-3.2.0 make all cd ./base make gcc -g -O2 -I/usr/local/include -DHAVE_CONFIG_H -DNSCORE -o nagios nagios.c broker.o nebmods.o checks.o config.o commands.o events.o flapping.o logging.o macros-base.o netutils.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 ../common/snprintf.o -L/usr/local/lib -lm -lpthread -lltdl -lrt Undefined first referenced symbol in file recvnetutils.o sendnetutils.o socket netutils.o getsockopt netutils.o connect netutils.o getaddrinfo netutils.o freeaddrinfonetutils.o ld: fatal: Symbol referencing errors. No output written to nagios collect2: ld returned 1 exit status *** Error code 1 make: Fatal error: Command failed for target `nagios' Current working directory /usr/local/src/nagios-3.2.0/base *** Error code 1 make: Fatal error: Command failed for target `all' /usr/local/src/nagios-3.2.0 Best regards, -Najeeb --- Najeeb Aslam Unix Systems Administrator Youthnet UK - 50 Featherstone St, London, EC1Y 8RT Direct: 0207 250 5750 | Switchboard: 0207 250 5700 | Email: najeeb.as...@youthnet.orgmailto:najeeb.as...@youthnet.org Websites: www.youthnet.orghttp://www.youthnet.org/ | www.do-it.org.uk | www.thesite.org | www.lifetracks.comhttp://www.lifetracks.com/ P Before printing, please think about the environment YouthNet UK is a limited company registered in England and Wales. Company registration number: 3031098. Charity registration number 1048995. Registered office: 100 Victoria Embankment, London, EC4Y 0DH. -- Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference___ Nagios-users mailing list Nagios-users@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
Re: [Nagios-users] installation problem of nagios with make all command
just as it says... undefined symbol recv in file netutils.o comes up with SOCKETLIBS= -lnsl -lsocket or furthermore compiling with gcc and gmake. ./configure ... 'CC=gcc' ... Kind regards, Michael Najeeb Aslam wrote the following on 13.10.2009 12:32: /usr/local/src/nagios-3.2.0 make all cd ./base make gcc -g -O2 -I/usr/local/include -DHAVE_CONFIG_H -DNSCORE -o nagios nagios.c broker.o nebmods.o checks.o config.o commands.o events.o flapping.o logging.o macros-base.o netutils.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 ../common/snprintf.o -L/usr/local/lib -lm -lpthread -lltdl -lrt Undefined first referenced symbol in file recvnetutils.o sendnetutils.o socket netutils.o getsockopt netutils.o connect netutils.o getaddrinfo netutils.o freeaddrinfonetutils.o ld: fatal: Symbol referencing errors. No output written to nagios collect2: ld returned 1 exit status *** Error code 1 make: Fatal error: Command failed for target `nagios' Current working directory /usr/local/src/nagios-3.2.0/base *** Error code 1 make: Fatal error: Command failed for target `all' /usr/local/src/nagios-3.2.0 Best regards, -Najeeb *---*** *Najeeb Aslam * *Unix Systems Administrator* *Youthnet UK - **50 Featherstone St, London, EC1Y 8RT* *Direct:* 0207 250 5750 | *Switchboard:* 0207 250 5700 | *Email:* *_najeeb.as...@youthnet.org mailto:najeeb.as...@youthnet.org_* *Websites:* *_www.youthnet.org http://www.youthnet.org/_* | *_www.do-it.org.uk_* | *_www.thesite.org_* | *_www.lifetracks.com http://www.lifetracks.com/_*__ P Before printing, please think about the environment YouthNet UK is a limited company registered in England and Wales. Company registration number: 3031098. Charity registration number 1048995. Registered office: 100 Victoria Embankment, London, EC4Y 0DH. -- Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference ___ Nagios-users mailing list Nagios-users@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 -- DI (FH) Michael Friedrich michael.friedr...@univie.ac.at Tel: +43 1 4277 14359 Vienna University Computer Center Universitaetsstrasse 7 A-1010 Vienna, Austria -- Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference___ Nagios-users mailing list Nagios-users@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
Re: [Nagios-users] installation problem of nagios with make all command
Najeeb Aslam wrote the following on 13.10.2009 14:19: Any further ideas? this one? SOCKETLIBS= -lnsl -lsocket Kind regards, Michael -- Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference___ Nagios-users mailing list Nagios-users@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
[Nagios-users] installation problem
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, everybody i'm trying to install Nagios on Opensuse 11.0 and i get this message after ./configure in the config.log: . configure:3149: checking pthreads.h usability configure:3161: gcc -c -g -O2 conftest.c 5 conftest.c:68:22: error: pthreads.h: No such file or directory configure:3167: $? = 1 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME | #define PACKAGE_TARNAME | #define PACKAGE_VERSION | #define PACKAGE_STRING | #define PACKAGE_BUGREPORT | #define STDC_HEADERS 1 ... the make is not created Do you know what's the problem? Many thanks -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.9 (GNU/Linux) Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org iEYEARECAAYFAkiEV8oACgkQbG/s30EAZ3UcKgCdGr8Df+2409FkK0nGnFxi6zHE r4kAnjVMNQcKa0+YKnGj8Pk0igrcUbQE =8f4D -END PGP SIGNATURE- - 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=100url=/ ___ Nagios-users mailing list Nagios-users@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
Re: [Nagios-users] installation problem
On Jul 21, 2008, at 4:32 AM, Thierry Granier wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, everybody i'm trying to install Nagios on Opensuse 11.0 and i get this message after ./configure in the config.log: . configure:3149: checking pthreads.h usability configure:3161: gcc -c -g -O2 conftest.c 5 conftest.c:68:22: error: pthreads.h: No such file or directory configure:3167: $? = 1 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME | #define PACKAGE_TARNAME | #define PACKAGE_VERSION | #define PACKAGE_STRING | #define PACKAGE_BUGREPORT | #define STDC_HEADERS 1 ... I this the end of config.log or just an error you found? -- Marc - 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=100url=/ ___ Nagios-users mailing list Nagios-users@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
Re: [Nagios-users] installation problem
Please always respond on list. Other comments below -- On Jul 21, 2008, at 7:39 AM, Thierry Granier wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Marc Powell a écrit : On Jul 21, 2008, at 4:32 AM, Thierry Granier wrote: configure:3149: checking pthreads.h usability configure:3161: gcc -c -g -O2 conftest.c 5 conftest.c:68:22: error: pthreads.h: No such file or directory ... I this the end of config.log or just an error you found? This is not the end of config/log it's an error in the file This is almost certainly not the problem as it is not necessary for this test to succeed. Please post the entire config.log. -- Marc - 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=100url=/ ___ Nagios-users mailing list Nagios-users@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