Hi Israel, The "ceil" function is part of a standard math library, a quick Google search for "undefined reference to `ceil'" (http://www.google.co.uk/search?q=undefined+reference+to+%60ceil'&ie=utf-8&o e=utf-8&aq=t&rls=org.mozilla:en-GB:official&client=firefox-a) reveals that you need to add the flag "-lm" to your linker flags.
E.g., try: LDFLAGS="-L/usr/lib/mysql -lz -lnsl -lmysqlclient -lm" ./configure <rest of your configure line> Andy. -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Israel Brewster Sent: Wednesday, 29 August, 2007 9:31 pm To: Nagios Users mailinglist Subject: [Nagios-users] NDOUtils 1.4b4 OpenBSD build issue Ok, I have now attempted to build ndoutils 1.4b4 on a RHEL 4 box, only to get the following error: gcc -O0 -g -DHAVE_CONFIG_H -D BUILD_NAGIOS_2X -o ndo2db-2x ndo2db.c dbhandlers-2x.o io.o utils.o db.o -L/usr/lib/mysql -lz -lnsl - lmysqlclient utils.o(.text+0x14e): In function `ndo_dbuf_strcat': /root/ndoutils-1.4b4/src/utils.c:67: undefined reference to `ceil' collect2: ld returned 1 exit status make[2]: *** [ndo2db-2x] Error 1 make[2]: Leaving directory `/root/ndoutils-1.4b4/src' make[1]: *** [ndo2db] Error 2 make[1]: Leaving directory `/root/ndoutils-1.4b4/src' Not that building it on the RHEL box would help with the OpenBSD build, mind you, but at least it would show me that the problem isn't in the package. To make things more interesting, if I try building ndoutils 1.4b3 on the RHEL box, it builds just fine. Neither one will build on my OpenBSD box however. Are there any other utilities that perform the same function as ndoutils perhaps? Or anywhere else that I can ask to get a solution? My primary goal here is to be able to use Nagvis, which, to the best of my knowledge, requires this utility. So any help that can be provided in getting this working would be appreciated. Thanks! ----------------------------------------------- Israel Brewster Computer Support Technician Frontier Flying Service Inc. 5245 Airport Industrial Rd Fairbanks, AK 99709 (907) 450-7250 x293 ----------------------------------------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ 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 !DSPAM:37,46d5d7e8107501641318227! ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ 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