[lttng-dev] lttng-tools build error: non-dynamic relocations refer to dynamic symbol lttcomm_inet_tcp_timeout
kumar s
skumar.m226 at gmail.com
Wed Nov 27 05:07:10 EST 2013
Hi,
I am getting non dynamic relocation error while trying to build
lttng-tools. I have configured the lttng-tools for mips-gcc.
Making all in src
make[1]: Entering directory `/home/shkumar/lttng-tools/lttng-tools/src'
Making all in common
make[2]: Entering directory
`/home/shkumar/lttng-tools/lttng-tools/src/common'
Making all in compat
make[3]: Entering directory
`/home/shkumar/lttng-tools/lttng-tools/src/common/compat'
CC compat-fcntl.lo
CC compat-epoll.lo
CCLD libcompat.la
make[3]: Leaving directory
`/home/shkumar/lttng-tools/lttng-tools/src/common/compat'
Making all in health
make[3]: Entering directory
`/home/shkumar/lttng-tools/lttng-tools/src/common/health'
CC health.lo
CCLD libhealth.la
make[3]: Leaving directory
`/home/shkumar/lttng-tools/lttng-tools/src/common/health'
Making all in hashtable
make[3]: Entering directory
`/home/shkumar/lttng-tools/lttng-tools/src/common/hashtable'
CC hashtable.lo
CC utils.lo
CC rculfhash.lo
CC rculfhash-mm-chunk.lo
CC rculfhash-mm-mmap.lo
CC rculfhash-mm-order.lo
CCLD libhashtable.la
make[3]: Leaving directory
`/home/shkumar/lttng-tools/lttng-tools/src/common/hashtable'
Making all in kernel-ctl
make[3]: Entering directory
`/home/shkumar/lttng-tools/lttng-tools/src/common/kernel-ctl'
CC kernel-ctl.lo
CCLD libkernel-ctl.la
make[3]: Leaving directory
`/home/shkumar/lttng-tools/lttng-tools/src/common/kernel-ctl'
Making all in sessiond-comm
make[3]: Entering directory
`/home/shkumar/lttng-tools/lttng-tools/src/common/sessiond-comm'
CC sessiond-comm.lo
CC unix.lo
CC inet.lo
CC inet6.lo
CCLD libsessiond-comm.la
make[3]: Leaving directory
`/home/shkumar/lttng-tools/lttng-tools/src/common/sessiond-comm'
Making all in relayd
make[3]: Entering directory
`/home/shkumar/lttng-tools/lttng-tools/src/common/relayd'
CC relayd.lo
CCLD librelayd.la
make[3]: Leaving directory
`/home/shkumar/lttng-tools/lttng-tools/src/common/relayd'
Making all in kernel-consumer
make[3]: Entering directory
`/home/shkumar/lttng-tools/lttng-tools/src/common/kernel-consumer'
CC kernel-consumer.lo
CCLD libkernel-consumer.la
make[3]: Leaving directory
`/home/shkumar/lttng-tools/lttng-tools/src/common/kernel-consumer'
Making all in ust-consumer
make[3]: Entering directory
`/home/shkumar/lttng-tools/lttng-tools/src/common/ust-consumer'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory
`/home/shkumar/lttng-tools/lttng-tools/src/common/ust-consumer'
Making all in testpoint
make[3]: Entering directory
`/home/shkumar/lttng-tools/lttng-tools/src/common/testpoint'
CC testpoint.lo
CCLD libtestpoint.la
make[3]: Leaving directory
`/home/shkumar/lttng-tools/lttng-tools/src/common/testpoint'
Making all in index
make[3]: Entering directory
`/home/shkumar/lttng-tools/lttng-tools/src/common/index'
CC index.lo
CCLD libindex.la
make[3]: Leaving directory
`/home/shkumar/lttng-tools/lttng-tools/src/common/index'
make[3]: Entering directory
`/home/shkumar/lttng-tools/lttng-tools/src/common'
CC error.lo
CC utils.lo
CC runas.lo
CC futex.lo
CC uri.lo
CC defaults.lo
CC pipe.lo
CC readwrite.lo
CCLD libcommon.la
CC consumer.lo
CC consumer-metadata-cache.lo
CC consumer-timer.lo
CC consumer-stream.lo
CCLD libconsumer.la
copying selected object files to avoid basename conflicts...
make[3]: Leaving directory
`/home/shkumar/lttng-tools/lttng-tools/src/common'
make[2]: Leaving directory
`/home/shkumar/lttng-tools/lttng-tools/src/common'
Making all in lib
make[2]: Entering directory `/home/shkumar/lttng-tools/lttng-tools/src/lib'
Making all in lttng-ctl
make[3]: Entering directory
`/home/shkumar/lttng-tools/lttng-tools/src/lib/lttng-ctl'
Making all in filter
make[4]: Entering directory
`/home/shkumar/lttng-tools/lttng-tools/src/lib/lttng-ctl/filter'
YACC filter-parser.c
updating filter-parser.h
updating filter-parser.output
make all-am
make[5]: Entering directory
`/home/shkumar/lttng-tools/lttng-tools/src/lib/lttng-ctl/filter'
LEX filter-lexer.c
CC libfilter_la-filter-lexer.lo
CC libfilter_la-filter-parser.lo
CC libfilter_la-filter-visitor-set-parent.lo
CC libfilter_la-filter-visitor-xml.lo
CC libfilter_la-filter-visitor-generate-ir.lo
CC libfilter_la-filter-visitor-ir-check-binary-op-nesting.lo
CC libfilter_la-filter-visitor-generate-bytecode.lo
CCLD libfilter.la
CC filter-grammar-test.o
CCLD filter-grammar-test
make[5]: Leaving directory
`/home/shkumar/lttng-tools/lttng-tools/src/lib/lttng-ctl/filter'
make[4]: Leaving directory
`/home/shkumar/lttng-tools/lttng-tools/src/lib/lttng-ctl/filter'
make[4]: Entering directory
`/home/shkumar/lttng-tools/lttng-tools/src/lib/lttng-ctl'
CC lttng-ctl.lo
CC snapshot.lo
CC lttng-ctl-health.lo
CCLD liblttng-ctl.la
copying selected object files to avoid basename conflicts...
make[4]: Leaving directory
`/home/shkumar/lttng-tools/lttng-tools/src/lib/lttng-ctl'
make[3]: Leaving directory
`/home/shkumar/lttng-tools/lttng-tools/src/lib/lttng-ctl'
make[3]: Entering directory `/home/shkumar/lttng-tools/lttng-tools/src/lib'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/home/shkumar/lttng-tools/lttng-tools/src/lib'
make[2]: Leaving directory `/home/shkumar/lttng-tools/lttng-tools/src/lib'
Making all in bin
make[2]: Entering directory `/home/shkumar/lttng-tools/lttng-tools/src/bin'
Making all in lttng-consumerd
make[3]: Entering directory
`/home/shkumar/lttng-tools/lttng-tools/src/bin/lttng-consumerd'
CC lttng-consumerd.o
CC health-consumerd.o
CCLD lttng-consumerd
make[3]: Leaving directory
`/home/shkumar/lttng-tools/lttng-tools/src/bin/lttng-consumerd'
Making all in lttng
make[3]: Entering directory
`/home/shkumar/lttng-tools/lttng-tools/src/bin/lttng'
CC conf.o
CC commands/start.o
CC commands/list.o
CC commands/create.o
CC commands/destroy.o
CC commands/stop.o
CC commands/enable_events.o
CC commands/disable_events.o
CC commands/enable_channels.o
CC commands/disable_channels.o
CC commands/add_context.o
CC commands/set_session.o
CC commands/version.o
CC commands/calibrate.o
CC commands/view.o
CC commands/enable_consumer.o
CC commands/disable_consumer.o
CC commands/snapshot.o
CC utils.o
CC lttng.o
CCLD lttng
make[3]: Leaving directory
`/home/shkumar/lttng-tools/lttng-tools/src/bin/lttng'
Making all in lttng-sessiond
make[3]: Entering directory
`/home/shkumar/lttng-tools/lttng-tools/src/bin/lttng-sessiond'
CC utils.o
CC trace-kernel.o
CC kernel.o
CC context.o
CC channel.o
CC event.o
CC shm.o
CC consumer.o
CC session.o
CC modprobe.o
CC fd-limit.o
CC kernel-consumer.o
CC cmd.o
CC buffer-registry.o
CC ht-cleanup.o
CC snapshot.o
CC jul.o
CC main.o
main.c: In function 'thread_dispatch_ust_registration':
main.c:1564: warning: 'cds_wfq_dequeue_blocking' is deprecated (declared at
/home/shkumar/Development_Merge/NewOCT/popt-1.16/popt_installed/include/urcu/wfqueue.h:88)
main.c: In function 'thread_registration_apps':
main.c:1917: warning: 'cds_wfq_enqueue' is deprecated (declared at
/home/shkumar/Development_Merge/NewOCT/popt-1.16/popt_installed/include/urcu/wfqueue.h:76)
main.c: In function 'main':
main.c:4891: warning: 'cds_wfq_init' is deprecated (declared at
/home/shkumar/Development_Merge/NewOCT/popt-1.16/popt_installed/include/urcu/wfqueue.h:70)
CCLD lttng-sessiond
/home/shkumar/Development_Merge/NewOCT/OCTEON_SDK/octeon_sdk/OCTEON-SDK/tools-gcc-4.3/bin/../lib/gcc/mips64-octeon-linux-gnu/4.3.3/../../../../mips64-octeon-linux-gnu/bin/ld:
non-dynamic relocations refer to dynamic symbol lttcomm_inet_tcp_timeout
/home/shkumar/Development_Merge/NewOCT/OCTEON_SDK/octeon_sdk/OCTEON-SDK/tools-gcc-4.3/bin/../lib/gcc/mips64-octeon-linux-gnu/4.3.3/../../../../mips64-octeon-linux-gnu/bin/ld:
failed to set dynamic section sizes: Bad value
collect2: ld returned 1 exit status
make[3]: *** [lttng-sessiond] Error 1
make[3]: Leaving directory
`/home/shkumar/lttng-tools/lttng-tools/src/bin/lttng-sessiond'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/shkumar/lttng-tools/lttng-tools/src/bin'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/shkumar/lttng-tools/lttng-tools/src'
make: *** [all-recursive] Error 1
Thank you
Skumar
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lttng.org/pipermail/lttng-dev/attachments/20131127/56910fd0/attachment.html>
More information about the lttng-dev
mailing list