[collectd] error when make source on centos
fuyong
sum2000 at live.cn
Tue Jun 9 09:52:58 CEST 2015
Hi,
The error is the following :
[root at test22 collectd-5.5.0]# make
Making all in libltdl
make[1]: Entering directory `/opt/tools/collectd-5.5.0/libltdl'
make all-am
make[2]: Entering directory `/opt/tools/collectd-5.5.0/libltdl'
/bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -DLT_CONFIG_H='<config.h>' -DLTDL -I. -I. -Ilibltdl -I./libltdl -I./libltdl -g -O2 -MT dlopen.lo -MD -MP -MF .deps/dlopen.Tpo -c -o dlopen.lo `test -f 'loaders/dlopen.c' || echo './'`loaders/dlopen.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. "-DLT_CONFIG_H=<config.h>" -DLTDL -I. -I. -Ilibltdl -I./libltdl -I./libltdl -g -O2 -MT dlopen.lo -MD -MP -MF .deps/dlopen.Tpo -c loaders/dlopen.c -fPIC -DPIC -o .libs/dlopen.o
libtool: compile: gcc -DHAVE_CONFIG_H -I. "-DLT_CONFIG_H=<config.h>" -DLTDL -I. -I. -Ilibltdl -I./libltdl -I./libltdl -g -O2 -MT dlopen.lo -MD -MP -MF .deps/dlopen.Tpo -c loaders/dlopen.c -o dlopen.o >/dev/null 2>&1
mv -f .deps/dlopen.Tpo .deps/dlopen.Plo
/bin/sh ./libtool --tag=CC --mode=link gcc -g -O2 -module -avoid-version -o dlopen.la dlopen.lo -ldl -ldl
libtool: link: ar cru .libs/dlopen.a .libs/dlopen.o
libtool: link: ranlib .libs/dlopen.a
libtool: link: ( cd ".libs" && rm -f "dlopen.la" && ln -s "../dlopen.la" "dlopen.la" )
/bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -DLTDLOPEN=libltdlc -DLT_CONFIG_H='<config.h>' -DLTDL -I. -I. -Ilibltdl -I./libltdl -I./libltdl -g -O2 -MT libltdlc_la-preopen.lo -MD -MP -MF .deps/libltdlc_la-preopen.Tpo -c -o libltdlc_la-preopen.lo `test -f 'loaders/preopen.c' || echo './'`loaders/preopen.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -DLTDLOPEN=libltdlc "-DLT_CONFIG_H=<config.h>" -DLTDL -I. -I. -Ilibltdl -I./libltdl -I./libltdl -g -O2 -MT libltdlc_la-preopen.lo -MD -MP -MF .deps/libltdlc_la-preopen.Tpo -c loaders/preopen.c -fPIC -DPIC -o .libs/libltdlc_la-preopen.o
libtool: compile: gcc -DHAVE_CONFIG_H -I. -DLTDLOPEN=libltdlc "-DLT_CONFIG_H=<config.h>" -DLTDL -I. -I. -Ilibltdl -I./libltdl -I./libltdl -g -O2 -MT libltdlc_la-preopen.lo -MD -MP -MF .deps/libltdlc_la-preopen.Tpo -c loaders/preopen.c -o libltdlc_la-preopen.o >/dev/null 2>&1
mv -f .deps/libltdlc_la-preopen.Tpo .deps/libltdlc_la-preopen.Plo
/bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -DLTDLOPEN=libltdlc -DLT_CONFIG_H='<config.h>' -DLTDL -I. -I. -Ilibltdl -I./libltdl -I./libltdl -g -O2 -MT libltdlc_la-lt__alloc.lo -MD -MP -MF .deps/libltdlc_la-lt__alloc.Tpo -c -o libltdlc_la-lt__alloc.lo `test -f 'lt__alloc.c' || echo './'`lt__alloc.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -DLTDLOPEN=libltdlc "-DLT_CONFIG_H=<config.h>" -DLTDL -I. -I. -Ilibltdl -I./libltdl -I./libltdl -g -O2 -MT libltdlc_la-lt__alloc.lo -MD -MP -MF .deps/libltdlc_la-lt__alloc.Tpo -c lt__alloc.c -fPIC -DPIC -o .libs/libltdlc_la-lt__alloc.o
libtool: compile: gcc -DHAVE_CONFIG_H -I. -DLTDLOPEN=libltdlc "-DLT_CONFIG_H=<config.h>" -DLTDL -I. -I. -Ilibltdl -I./libltdl -I./libltdl -g -O2 -MT libltdlc_la-lt__alloc.lo -MD -MP -MF .deps/libltdlc_la-lt__alloc.Tpo -c lt__alloc.c -o libltdlc_la-lt__alloc.o >/dev/null 2>&1
mv -f .deps/libltdlc_la-lt__alloc.Tpo .deps/libltdlc_la-lt__alloc.Plo
/bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -DLTDLOPEN=libltdlc -DLT_CONFIG_H='<config.h>' -DLTDL -I. -I. -Ilibltdl -I./libltdl -I./libltdl -g -O2 -MT libltdlc_la-lt_dlloader.lo -MD -MP -MF .deps/libltdlc_la-lt_dlloader.Tpo -c -o libltdlc_la-lt_dlloader.lo `test -f 'lt_dlloader.c' || echo './'`lt_dlloader.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -DLTDLOPEN=libltdlc "-DLT_CONFIG_H=<config.h>" -DLTDL -I. -I. -Ilibltdl -I./libltdl -I./libltdl -g -O2 -MT libltdlc_la-lt_dlloader.lo -MD -MP -MF .deps/libltdlc_la-lt_dlloader.Tpo -c lt_dlloader.c -fPIC -DPIC -o .libs/libltdlc_la-lt_dlloader.o
libtool: compile: gcc -DHAVE_CONFIG_H -I. -DLTDLOPEN=libltdlc "-DLT_CONFIG_H=<config.h>" -DLTDL -I. -I. -Ilibltdl -I./libltdl -I./libltdl -g -O2 -MT libltdlc_la-lt_dlloader.lo -MD -MP -MF .deps/libltdlc_la-lt_dlloader.Tpo -c lt_dlloader.c -o libltdlc_la-lt_dlloader.o >/dev/null 2>&1
mv -f .deps/libltdlc_la-lt_dlloader.Tpo .deps/libltdlc_la-lt_dlloader.Plo
/bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -DLTDLOPEN=libltdlc -DLT_CONFIG_H='<config.h>' -DLTDL -I. -I. -Ilibltdl -I./libltdl -I./libltdl -g -O2 -MT libltdlc_la-lt_error.lo -MD -MP -MF .deps/libltdlc_la-lt_error.Tpo -c -o libltdlc_la-lt_error.lo `test -f 'lt_error.c' || echo './'`lt_error.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -DLTDLOPEN=libltdlc "-DLT_CONFIG_H=<config.h>" -DLTDL -I. -I. -Ilibltdl -I./libltdl -I./libltdl -g -O2 -MT libltdlc_la-lt_error.lo -MD -MP -MF .deps/libltdlc_la-lt_error.Tpo -c lt_error.c -fPIC -DPIC -o .libs/libltdlc_la-lt_error.o
libtool: compile: gcc -DHAVE_CONFIG_H -I. -DLTDLOPEN=libltdlc "-DLT_CONFIG_H=<config.h>" -DLTDL -I. -I. -Ilibltdl -I./libltdl -I./libltdl -g -O2 -MT libltdlc_la-lt_error.lo -MD -MP -MF .deps/libltdlc_la-lt_error.Tpo -c lt_error.c -o libltdlc_la-lt_error.o >/dev/null 2>&1
mv -f .deps/libltdlc_la-lt_error.Tpo .deps/libltdlc_la-lt_error.Plo
/bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -DLTDLOPEN=libltdlc -DLT_CONFIG_H='<config.h>' -DLTDL -I. -I. -Ilibltdl -I./libltdl -I./libltdl -g -O2 -MT libltdlc_la-ltdl.lo -MD -MP -MF .deps/libltdlc_la-ltdl.Tpo -c -o libltdlc_la-ltdl.lo `test -f 'ltdl.c' || echo './'`ltdl.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -DLTDLOPEN=libltdlc "-DLT_CONFIG_H=<config.h>" -DLTDL -I. -I. -Ilibltdl -I./libltdl -I./libltdl -g -O2 -MT libltdlc_la-ltdl.lo -MD -MP -MF .deps/libltdlc_la-ltdl.Tpo -c ltdl.c -fPIC -DPIC -o .libs/libltdlc_la-ltdl.o
libtool: compile: gcc -DHAVE_CONFIG_H -I. -DLTDLOPEN=libltdlc "-DLT_CONFIG_H=<config.h>" -DLTDL -I. -I. -Ilibltdl -I./libltdl -I./libltdl -g -O2 -MT libltdlc_la-ltdl.lo -MD -MP -MF .deps/libltdlc_la-ltdl.Tpo -c ltdl.c -o libltdlc_la-ltdl.o >/dev/null 2>&1
mv -f .deps/libltdlc_la-ltdl.Tpo .deps/libltdlc_la-ltdl.Plo
/bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -DLTDLOPEN=libltdlc -DLT_CONFIG_H='<config.h>' -DLTDL -I. -I. -Ilibltdl -I./libltdl -I./libltdl -g -O2 -MT libltdlc_la-slist.lo -MD -MP -MF .deps/libltdlc_la-slist.Tpo -c -o libltdlc_la-slist.lo `test -f 'slist.c' || echo './'`slist.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -DLTDLOPEN=libltdlc "-DLT_CONFIG_H=<config.h>" -DLTDL -I. -I. -Ilibltdl -I./libltdl -I./libltdl -g -O2 -MT libltdlc_la-slist.lo -MD -MP -MF .deps/libltdlc_la-slist.Tpo -c slist.c -fPIC -DPIC -o .libs/libltdlc_la-slist.o
libtool: compile: gcc -DHAVE_CONFIG_H -I. -DLTDLOPEN=libltdlc "-DLT_CONFIG_H=<config.h>" -DLTDL -I. -I. -Ilibltdl -I./libltdl -I./libltdl -g -O2 -MT libltdlc_la-slist.lo -MD -MP -MF .deps/libltdlc_la-slist.Tpo -c slist.c -o libltdlc_la-slist.o >/dev/null 2>&1
mv -f .deps/libltdlc_la-slist.Tpo .deps/libltdlc_la-slist.Plo
/bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -DLT_CONFIG_H='<config.h>' -DLTDL -I. -I. -Ilibltdl -I./libltdl -I./libltdl -g -O2 -MT lt__strl.lo -MD -MP -MF .deps/lt__strl.Tpo -c -o lt__strl.lo lt__strl.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. "-DLT_CONFIG_H=<config.h>" -DLTDL -I. -I. -Ilibltdl -I./libltdl -I./libltdl -g -O2 -MT lt__strl.lo -MD -MP -MF .deps/lt__strl.Tpo -c lt__strl.c -fPIC -DPIC -o .libs/lt__strl.o
libtool: compile: gcc -DHAVE_CONFIG_H -I. "-DLT_CONFIG_H=<config.h>" -DLTDL -I. -I. -Ilibltdl -I./libltdl -I./libltdl -g -O2 -MT lt__strl.lo -MD -MP -MF .deps/lt__strl.Tpo -c lt__strl.c -o lt__strl.o >/dev/null 2>&1
mv -f .deps/lt__strl.Tpo .deps/lt__strl.Plo
/bin/sh ./libtool --tag=CC --mode=link gcc -g -O2 -no-undefined -dlpreopen dlopen.la -o libltdlc.la libltdlc_la-preopen.lo libltdlc_la-lt__alloc.lo libltdlc_la-lt_dlloader.lo libltdlc_la-lt_error.lo libltdlc_la-ltdl.lo libltdlc_la-slist.lo lt__strl.lo -ldl
libtool: link: rm -f .libs/libltdlc.nm .libs/libltdlc.nmS .libs/libltdlc.nmT
libtool: link: (cd .libs && gcc -g -O2 -c -fno-builtin -fPIC -DPIC "libltdlcS.c")
libtool: link: rm -f ".libs/libltdlcS.c" ".libs/libltdlc.nm" ".libs/libltdlc.nmS" ".libs/libltdlc.nmT"
libtool: link: (cd .libs/libltdlc.lax/dlopen.a && ar x "/opt/tools/collectd-5.5.0/libltdl/./.libs/dlopen.a")
libtool: link: ar cru .libs/libltdlc.a .libs/libltdlc_la-preopen.o .libs/libltdlc_la-lt__alloc.o .libs/libltdlc_la-lt_dlloader.o .libs/libltdlc_la-lt_error.o .libs/libltdlc_la-ltdl.o .libs/libltdlc_la-slist.o .libs/lt__strl.o .libs/libltdlcS.o .libs/libltdlc.lax/dlopen.a/dlopen.o
libtool: link: ranlib .libs/libltdlc.a
libtool: link: rm -fr .libs/libltdlc.lax
libtool: link: ( cd ".libs" && rm -f "libltdlc.la" && ln -s "../libltdlc.la" "libltdlc.la" )
make[2]: Leaving directory `/opt/tools/collectd-5.5.0/libltdl'
make[1]: Leaving directory `/opt/tools/collectd-5.5.0/libltdl'
Making all in src
make[1]: Entering directory `/opt/tools/collectd-5.5.0/src'
make all-recursive
make[2]: Entering directory `/opt/tools/collectd-5.5.0/src'
Making all in libcollectdclient
make[3]: Entering directory `/opt/tools/collectd-5.5.0/src/libcollectdclient'
make all-am
make[4]: Entering directory `/opt/tools/collectd-5.5.0/src/libcollectdclient'
CC libcollectdclient_la-client.lo
CC libcollectdclient_la-network.lo
CC libcollectdclient_la-network_buffer.lo
CCLD libcollectdclient.la
make[4]: Leaving directory `/opt/tools/collectd-5.5.0/src/libcollectdclient'
make[3]: Leaving directory `/opt/tools/collectd-5.5.0/src/libcollectdclient'
Making all in liboconfig
make[3]: Entering directory `/opt/tools/collectd-5.5.0/src/liboconfig'
make all-am
make[4]: Entering directory `/opt/tools/collectd-5.5.0/src/liboconfig'
CC oconfig.lo
CC scanner.lo
CC parser.lo
CCLD liboconfig.la
libtool: link: warning: `-version-info/-version-number' is ignored for convenience libraries
make[4]: Leaving directory `/opt/tools/collectd-5.5.0/src/liboconfig'
make[3]: Leaving directory `/opt/tools/collectd-5.5.0/src/liboconfig'
Making all in daemon
make[3]: Entering directory `/opt/tools/collectd-5.5.0/src/daemon'
CC utils_avltree.lo
CCLD libavltree.la
CC common.lo
CCLD libcommon.la
CC utils_heap.lo
CCLD libheap.la
CC plugin_mock.lo
CC utils_cache_mock.lo
CC utils_time_mock.lo
CCLD libplugin_mock.la
CC collectd-collectd.o
CC collectd-configfile.o
CC collectd-filter_chain.o
CC collectd-meta_data.o
CC collectd-plugin.o
CC collectd-utils_cache.o
CC collectd-utils_complain.o
CC collectd-utils_llist.o
CC collectd-utils_random.o
CC collectd-utils_tail_match.o
CC collectd-utils_match.o
CC collectd-utils_subst.o
CC collectd-utils_tail.o
CC collectd-utils_time.o
CC collectd-types_list.o
CC collectd-utils_threshold.o
CCLD collectd
make[3]: Leaving directory `/opt/tools/collectd-5.5.0/src/daemon'
make[3]: Entering directory `/opt/tools/collectd-5.5.0/src'
CC utils_mount.lo
CCLD libmount.la
CC utils_vl_lookup.lo
CCLD liblookup.la
CC aggregation.lo
CCLD aggregation.la
CC apcups.lo
CCLD apcups.la
CC battery.lo
CCLD battery.la
CC cgroups.lo
CC utils_ignorelist.lo
CCLD cgroups.la
CC conntrack.lo
CCLD conntrack.la
CC contextswitch.lo
CCLD contextswitch.la
CC cpu_la-cpu.lo
CCLD cpu.la
CC cpufreq.lo
CCLD cpufreq.la
CC csv.lo
CCLD csv.la
CC df.lo
CCLD df.la
CC disk_la-disk.lo
CC disk_la-utils_ignorelist.lo
CCLD disk.la
CC drbd.lo
CCLD drbd.la
CC email.lo
CCLD email.la
CC entropy.lo
CCLD entropy.la
CC exec.lo
CC utils_cmd_putnotif.lo
CC utils_cmd_putval.lo
CC utils_parse_option.lo
CCLD exec.la
CC ethstat.lo
CCLD ethstat.la
CC fhcount.lo
CCLD fhcount.la
CC filecount.lo
CCLD filecount.la
CC hddtemp.lo
CCLD hddtemp.la
CC interface_la-interface.lo
CC interface_la-utils_ignorelist.lo
CCLD interface.la
CC ipc_la-ipc.lo
CCLD ipc.la
CC ipvs_la-ipvs.lo
CCLD ipvs.la
CC irq.lo
CCLD irq.la
CC java_la-java.lo
CCLD java.la
CC load_la-load.lo
CCLD load.la
CC logfile.lo
CCLD logfile.la
CC madwifi.lo
CCLD madwifi.la
CC match_empty_counter.lo
CCLD match_empty_counter.la
CC match_hashed.lo
CCLD match_hashed.la
CC match_regex.lo
CCLD match_regex.la
CC match_timediff.lo
CCLD match_timediff.la
CC match_value.lo
CCLD match_value.la
CC mbmon.lo
CCLD mbmon.la
CC md.lo
CCLD md.la
CC memcached.lo
CCLD memcached.la
CC memory_la-memory.lo
CCLD memory.la
CC multimeter.lo
CCLD multimeter.la
CC network_la-network.lo
CC network_la-utils_fbhash.lo
CCLD network.la
CC nfs.lo
CCLD nfs.la
CC fscache.lo
CCLD fscache.la
CC ntpd.lo
CCLD ntpd.la
CC numa.lo
CCLD numa.la
CC olsrd.lo
CCLD olsrd.la
CC openvpn_la-openvpn.lo
CCLD openvpn.la
CC powerdns.lo
CCLD powerdns.la
CC processes.lo
CCLD processes.la
CC protocols.lo
CCLD protocols.la
CC serial.lo
CCLD serial.la
CC statsd.lo
CC utils_latency.lo
CCLD statsd.la
CC swap_la-swap.lo
CCLD swap.la
CC syslog.lo
CCLD syslog.la
CC table.lo
CCLD table.la
CC tail.lo
CCLD tail.la
CC tail_csv.lo
CCLD tail_csv.la
CC target_notification.lo
CCLD target_notification.la
CC target_replace.lo
CCLD target_replace.la
CC target_scale.lo
CCLD target_scale.la
CC target_set.lo
CCLD target_set.la
CC target_v5upgrade.lo
CCLD target_v5upgrade.la
CC tcpconns.lo
CCLD tcpconns.la
CC teamspeak2.lo
CCLD teamspeak2.la
CC ted.lo
CCLD ted.la
CC thermal.lo
CCLD thermal.la
CC threshold.lo
CCLD threshold.la
CC turbostat.lo
turbostat.c: In function 'get_counters':
turbostat.c:382: error: 'MSR_PKG_C8_RESIDENCY' undeclared (first use in this function)
turbostat.c:382: error: (Each undeclared identifier is reported only once
turbostat.c:382: error: for each function it appears in.)
turbostat.c:384: error: 'MSR_PKG_C9_RESIDENCY' undeclared (first use in this function)
turbostat.c:386: error: 'MSR_PKG_C10_RESIDENCY' undeclared (first use in this function)
make[3]: *** [turbostat.lo] Error 1
make[3]: Leaving directory `/opt/tools/collectd-5.5.0/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/opt/tools/collectd-5.5.0/src'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/opt/tools/collectd-5.5.0/src'
make: *** [all-recursive] Error 1
I am running on the centos
[root at test22 collectd-5.5.0]# cat /etc/issue
CentOS release 6.5 (Final)
Kernel \r on an \m
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.verplant.org/pipermail/collectd/attachments/20150609/982d478d/attachment-0001.html>
More information about the collectd
mailing list