Menu

#7 IBM-AIX 5.1: Symbol .floorf not found in check_swap

open
nobody
None
5
2006-10-24
2006-10-24
No

Version 1.4.4
The Message:
/bin/sh ../libtool --tag=CC --mode=link gcc -g -O2 -
L. -L/usr/local/ssl/lib -o check_swap check_swap.o -
lm
utils.o ../lib/libnagiosplug.a ../lib/libcoreutils.a
popen.o -lssl -lcrypto
gcc -g -O2 -o check_swap check_swap.o utils.o
popen.o -L/home/brunken/nag/nagios-plugins-
1.4.4/plugins -L/usr/local/ssl/lib -
lm ../lib/libnagiosplug.a ../lib/libcoreutils.a -lssl -
lcrypto
ld: 0711-317 ERROR: Undefined symbol: .floorf
ld: 0711-345 Use the -bloadmap or -bnoquiet option to
obtain more information.
collect2: ld returned 8 exit status
make[2]: *** [check_swap] Fehler 1
make[2]: Leaving directory `/home/brunken/nag/nagios-
plugins-1.4.4/plugins'
make[1]: *** [all-recursive] Fehler 1
make[1]: Leaving directory `/home/brunken/nag/nagios-
plugins-1.4.4'
make: *** [all] Fehler 2

Looking at 1583340:
The extension in plugin/common.h does not help.
static inline float floorf (float x) { return floor(x);

setting floorf to .floorf is not allowed by the
compiler

The Version 1.4.3 could be compiled

Version Info:

gcc --version
gcc (GCC) 4.0.0

Workaround:
Removing all Entries for check_swap from Makefile and
plugins/Makefile
helps.

Discussion


Log in to post a comment.

MongoDB Logo MongoDB