[rrd-users] Re: problem compiling rrd
peckck at staff.superinternet.com.sg
peckck at staff.superinternet.com.sg
Wed Jun 7 05:26:07 MEST 2000
Hi Mike,
I think for my problem.. it exist even compiling ...these is some
of the error output fro m ./configure. What do you think can be the problem
??
What my Linux(slackware) uses is -
------make---------
GNU Make version 3.77, by Richard Stallman and Roland McGrath.
Copyright (C) 1988, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98
------gcc----------
Reading specs from /usr/lib/gcc-lib/i386-slackware-linux/egcs-2.91.66/specs
gcc version egcs-2.91.66 19990314/Linux (egcs-1.1.2 release)
-------configure errors------------------
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
configure:587: checking host system type
configure:608: checking target system type
configure:626: checking build system type
configure:661: checking for a BSD compatible install
configure:714: checking whether build environment is sane
configure:771: checking whether make sets ${MAKE}
configure:817: checking for working aclocal
configure:830: checking for working autoconf
configure:843: checking for working automake
configure:856: checking for working autoheader
configure:869: checking for working makeinfo
configure:906: checking for perl
configure:944: checking for shared library extension
configure:960: checking for tclConfig.sh in
configure:996: checking for gcc
configure:1109: checking whether the C compiler (gcc ) works
configure:1125: gcc -o conftest conftest.c 1>&5
configure:1151: checking whether the C compiler (gcc ) is a cross-compiler
configure:1156: checking whether we are using GNU C
configure:1165: gcc -E conftest.c
configure:1184: checking whether gcc accepts -g
configure:1216: checking how to run the C preprocessor
configure:1237: gcc -E conftest.c >/dev/null 2>conftest.out
configure:1369: checking for ranlib
configure:1408: checking for ld used by GCC
configure:1470: checking if the linker (/usr/i386-slackware-linux/bin/ld) is
GNU ld
GNU ld version 2.9.1 (with BFD 2.9.1.0.25)
configure:1486: checking for BSD-compatible nm
configure:1522: checking whether ln -s works
ltconfig:603: checking for object suffix
ltconfig:604: gcc -c -g -O2 conftest.c 1>&5
ltconfig:629: checking for executable suffix
ltconfig:630: gcc -o conftest -g -O2 conftest.c 1>&5
ltconfig:776: checking if gcc PIC flag -fPIC works
ltconfig:777: gcc -c -g -O2 -fPIC -DPIC conftest.c 1>&5
ltconfig:829: checking if gcc supports -c -o file.o
ltconfig:830: gcc -c -g -O2 -o out/conftest2.o conftest.c 1>&5
ltconfig:862: checking if gcc supports -c -o file.lo
ltconfig:863: gcc -c -g -O2 -c -o conftest.lo conftest.c 1>&5
ltconfig:914: checking if gcc supports -fno-rtti -fno-exceptions
ltconfig:915: gcc -c -g -O2 -fno-rtti -fno-exceptions -c conftest.c
conftest.c 1>&5
ltconfig:958: checking if gcc static flag -static works
ltconfig:959: gcc -o conftest -g -O2 -static conftest.c 1>&5
GNU ld version 2.9.1 (with BFD 2.9.1.0.25)
ltconfig:1592: checking if global_symbol_pipe works
ltconfig:1593: gcc -c -g -O2 conftest.c 1>&5
ltconfig:1596: eval "/usr/bin/nm -B conftest.o | sed -n -e 's/^.*[
]\([ABCDGISTW]\)[ ][ ]*\(\)\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2\3
\3/p' > conftest.nm"
ltconfig:1648: gcc -o conftest -g -O2 -fno-builtin -fno-rtti -fno-exceptions
conftest.c conftstm.o 1>&5
configure:1708: checking for ANSI C header files
configure:1721: gcc -E conftest.c >/dev/null 2>conftest.out
configure:1788: gcc -o conftest -g -O2 conftest.c 1>&5
configure:1815: checking for fcntl.h
configure:1825: gcc -E conftest.c >/dev/null 2>conftest.out
configure:1815: checking for fp_class.h
configure:1825: gcc -E conftest.c >/dev/null 2>conftest.out
configure:1821: fp_class.h: No such file or directory
configure: failed program was:
#line 1820 "configure"
#include "confdefs.h"
#include <fp_class.h>
configure:1815: checking for malloc.h
configure:1825: gcc -E conftest.c >/dev/null 2>conftest.out
configure:1815: checking for unistd.h
configure:1825: gcc -E conftest.c >/dev/null 2>conftest.out
configure:1815: checking for ieeefp.h
configure:1825: gcc -E conftest.c >/dev/null 2>conftest.out
configure:1821: ieeefp.h: No such file or directory
configure: failed program was:
#line 1820 "configure"
#include "confdefs.h"
#include <ieeefp.h>
configure:1815: checking for math.h
configure:1825: gcc -E conftest.c >/dev/null 2>conftest.out
configure:1815: checking for sys/time.h
configure:1825: gcc -E conftest.c >/dev/null 2>conftest.out
configure:1815: checking for sys/times.h
configure:1825: gcc -E conftest.c >/dev/null 2>conftest.out
configure:1815: checking for sys/param.h
configure:1825: gcc -E conftest.c >/dev/null 2>conftest.out
configure:1815: checking for sys/resource.h
configure:1825: gcc -E conftest.c >/dev/null 2>conftest.out
configure:1815: checking for float.h
configure:1825: gcc -E conftest.c >/dev/null 2>conftest.out
configure:1853: checking for working const
configure:1907: gcc -c -g -O2 conftest.c 1>&5
configure:1928: checking whether time.h and sys/time.h may both be included
configure:1942: gcc -c -g -O2 conftest.c 1>&5
configure:1963: checking whether struct tm is in sys/time.h or time.h
configure:1976: gcc -c -g -O2 conftest.c 1>&5
configure:1998: checking for acos
configure:2026: gcc -o conftest -g -O2 conftest.c 1>&5
/tmp/cc8NrBUo.o: In function `main':
/usr/src/rrdtool-1.0.21/configure:2020: undefined reference to `acos'
collect2: ld returned 1 exit status
configure: failed program was:
#line 2003 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char acos(); below. */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
char acos();
int main() {
/* The GNU C library defines this for functions which it implements
to always fail with ENOSYS. Some functions are actually named
something starting with __ and the normal name is an alias. */
#if defined (__stub_acos) || defined (__stub___acos)
choke me
#else
acos();
#endif
; return 0; }
configure:2044: checking for acos in -lm
configure:2063: gcc -o conftest -g -O2 conftest.c -lm 1>&5
configure:2098: checking for nroff
configure:2138: checking if we can use GCC-specific compiler options
configure:2150: gcc -c -g -O2 -Wall -pedantic -Wshadow -Wpointer-arith
-Wcast-align -Wmissing-prototypes -Wmissing-declarations -Wnested-externs
-Winline conftest.c 1>&5
configure:2173: checking for strftime
configure:2201: gcc -o conftest -g -O2 -Wall -pedantic -Wshadow
-Wpointer-arith -Wcast-align -Wmissing-prototypes -Wmissing-declarations
-Wnested-externs -Winline -fPIC conftest.c -lm 1>&5
configure:2269: checking for vprintf
configure:2297: gcc -o conftest -g -O2 -Wall -pedantic -Wshadow
-Wpointer-arith -Wcast-align -Wmissing-prototypes -Wmissing-declarations
-Wnested-externs -Winline -fPIC conftest.c -lm 1>&5
configure:2378: checking for snprintf
configure:2406: gcc -o conftest -g -O2 -Wall -pedantic -Wshadow
-Wpointer-arith -Wcast-align -Wmissing-prototypes -Wmissing-declarations
-Wnested-externs -Winline -fPIC conftest.c -lm 1>&5
configure:2378: checking for vsnprintf
configure:2406: gcc -o conftest -g -O2 -Wall -pedantic -Wshadow
-Wpointer-arith -Wcast-align -Wmissing-prototypes -Wmissing-declarations
-Wnested-externs -Winline -fPIC conftest.c -lm 1>&5
configure:2378: checking for fpclass
configure:2406: gcc -o conftest -g -O2 -Wall -pedantic -Wshadow
-Wpointer-arith -Wcast-align -Wmissing-prototypes -Wmissing-declarations
-Wnested-externs -Winline -fPIC conftest.c -lm 1>&5
/tmp/ccqo0kFm.o: In function `main':
/usr/src/rrdtool-1.0.21/configure:2400: undefined reference to `fpclass'
collect2: ld returned 1 exit status
configure: failed program was:
#line 2383 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char fpclass(); below. */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
char fpclass();
int main() {
/* The GNU C library defines this for functions which it implements
to always fail with ENOSYS. Some functions are actually named
something starting with __ and the normal name is an alias. */
#if defined (__stub_fpclass) || defined (__stub___fpclass)
choke me
#else
fpclass();
#endif
; return 0; }
configure:2378: checking for class
configure:2406: gcc -o conftest -g -O2 -Wall -pedantic -Wshadow
-Wpointer-arith -Wcast-align -Wmissing-prototypes -Wmissing-declarations
-Wnested-externs -Winline -fPIC conftest.c -lm 1>&5
/tmp/ccKe03GI.o: In function `main':
/usr/src/rrdtool-1.0.21/configure:2400: undefined reference to `class'
collect2: ld returned 1 exit status
configure: failed program was:
#line 2383 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char class(); below. */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
char class();
int main() {
/* The GNU C library defines this for functions which it implements
to always fail with ENOSYS. Some functions are actually named
something starting with __ and the normal name is an alias. */
#if defined (__stub_class) || defined (__stub___class)
choke me
#else
class();
#endif
; return 0; }
configure:2378: checking for fp_class
configure:2406: gcc -o conftest -g -O2 -Wall -pedantic -Wshadow
-Wpointer-arith -Wcast-align -Wmissing-prototypes -Wmissing-declarations
-Wnested-externs -Winline -fPIC conftest.c -lm 1>&5
/tmp/ccGb5Nip.o: In function `main':
/usr/src/rrdtool-1.0.21/configure:2400: undefined reference to `fp_class'
collect2: ld returned 1 exit status
configure: failed program was:
#line 2383 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char fp_class(); below. */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
char fp_class();
int main() {
/* The GNU C library defines this for functions which it implements
to always fail with ENOSYS. Some functions are actually named
something starting with __ and the normal name is an alias. */
#if defined (__stub_fp_class) || defined (__stub___fp_class)
choke me
#else
fp_class();
#endif
; return 0; }
configure:2378: checking for isnan
configure:2406: gcc -o conftest -g -O2 -Wall -pedantic -Wshadow
-Wpointer-arith -Wcast-align -Wmissing-prototypes -Wmissing-declarations
-Wnested-externs -Winline -fPIC conftest.c -lm 1>&5
configure:2378: checking for memmove
configure:2406: gcc -o conftest -g -O2 -Wall -pedantic -Wshadow
-Wpointer-arith -Wcast-align -Wmissing-prototypes -Wmissing-declarations
-Wnested-externs -Winline -fPIC conftest.c -lm 1>&5
configure:2378: checking for strchr
configure:2406: gcc -o conftest -g -O2 -Wall -pedantic -Wshadow
-Wpointer-arith -Wcast-align -Wmissing-prototypes -Wmissing-declarations
-Wnested-externs -Winline -fPIC conftest.c -lm 1>&5
configure:2378: checking for mktime
configure:2406: gcc -o conftest -g -O2 -Wall -pedantic -Wshadow
-Wpointer-arith -Wcast-align -Wmissing-prototypes -Wmissing-declarations
-Wnested-externs -Winline -fPIC conftest.c -lm 1>&5
configure:2378: checking for getrusage
configure:2406: gcc -o conftest -g -O2 -Wall -pedantic -Wshadow
-Wpointer-arith -Wcast-align -Wmissing-prototypes -Wmissing-declarations
-Wnested-externs -Winline -fPIC conftest.c -lm 1>&5
configure:2378: checking for gettimeofday
configure:2406: gcc -o conftest -g -O2 -Wall -pedantic -Wshadow
-Wpointer-arith -Wcast-align -Wmissing-prototypes -Wmissing-declarations
-Wnested-externs -Winline -fPIC conftest.c -lm 1>&5
configure:2434: checking for fpclassify
configure:2462: gcc -o conftest -g -O2 -Wall -pedantic -Wshadow
-Wpointer-arith -Wcast-align -Wmissing-prototypes -Wmissing-declarations
-Wnested-externs -Winline -fPIC conftest.c -lm 1>&5
/tmp/ccok0tr7.o: In function `main':
/usr/src/rrdtool-1.0.21/configure:2456: undefined reference to `fpclassify'
collect2: ld returned 1 exit status
configure: failed program was:
#line 2439 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char fpclassify(); below. */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
char fpclassify();
int main() {
/* The GNU C library defines this for functions which it implements
to always fail with ENOSYS. Some functions are actually named
something starting with __ and the normal name is an alias. */
#if defined (__stub_fpclassify) || defined (__stub___fpclassify)
choke me
#else
fpclassify();
#endif
; return 0; }
configure:2484: checking for fpclassify with <math.h>
configure:2493: gcc -o conftest -g -O2 -Wall -pedantic -Wshadow
-Wpointer-arith -Wcast-align -Wmissing-prototypes -Wmissing-declarations
-Wnested-externs -Winline -fPIC conftest.c -lm 1>&5
configure: In function `main':
configure:2489: warning: implicit declaration of function `fpclassify'
/tmp/ccatxL1m.o: In function `main':
/usr/src/rrdtool-1.0.21/configure:2489: undefined reference to `fpclassify'
collect2: ld returned 1 exit status
configure: failed program was:
#line 2486 "configure"
#include "confdefs.h"
#include <math.h>
int main() {
float f = 0.0; fpclassify(f)
; return 0; }
configure:2513: checking for finite
configure:2541: gcc -o conftest -g -O2 -Wall -pedantic -Wshadow
-Wpointer-arith -Wcast-align -Wmissing-prototypes -Wmissing-declarations
-Wnested-externs -Winline -fPIC conftest.c -lm 1>&5
configure:2647: checking for isinf
configure:2675: gcc -o conftest -g -O2 -Wall -pedantic -Wshadow
-Wpointer-arith -Wcast-align -Wmissing-prototypes -Wmissing-declarations
-Wnested-externs -Winline -fPIC conftest.c -lm 1>&5
configure:2726: checking if realloc can deal with NULL
configure:2744: gcc -o conftest -g -O2 -Wall -pedantic -Wshadow
-Wpointer-arith -Wcast-align -Wmissing-prototypes -Wmissing-declarations
-Wnested-externs -Winline -fPIC conftest.c -lm 1>&5
configure:2772: checking if IEEE math works out of the box
configure:2848: gcc -o conftest -g -O2 -Wall -pedantic -Wshadow
-Wpointer-arith -Wcast-align -Wmissing-prototypes -Wmissing-declarations
-Wnested-externs -Winline -fPIC conftest.c -lm 1>&5
configure: In function `main':
configure:2829: warning: unused variable `d'
configure:4007: checking in
--------------------------------------------------
CK
--
Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe
Help mailto:rrd-users-request at list.ee.ethz.ch?subject=help
Archive http://www.ee.ethz.ch/~slist/rrd-users
More information about the rrd-users
mailing list