[ltt-dev] UST 0.3 released

Pierre-Marc Fournier pierre-marc.fournier at polymtl.ca
Tue Mar 2 11:03:13 EST 2010


Hi,

Thirumalai wrote:
> Hi "Pierre-Marc Fournier",
>        we are new to userspace tracer. Just we have downloaded the
> packages and try to use the tracer for our systems. But we end up with
> following error messages when compiling ust-0.3.
> 
> [root at itd210 ust-0.3]# make
> make  all-recursive
> make[1]: Entering directory `/home/UST/ust-0.3'
> Making all in snprintf
> make[2]: Entering directory `/home/UST/ust-0.3/snprintf'
> make[2]: Nothing to be done for `all'.
> make[2]: Leaving directory `/home/UST/ust-0.3/snprintf'
> Making all in libust
> make[2]: Entering directory `/home/UST/ust-0.3/libust'
> make[2]: Nothing to be done for `all'.
> make[2]: Leaving directory `/home/UST/ust-0.3/libust'
> Making all in .
> make[2]: Entering directory `/home/UST/ust-0.3'
> make[2]: Nothing to be done for `all-am'.
> make[2]: Leaving directory `/home/UST/ust-0.3'
> Making all in tests
> make[2]: Entering directory `/home/UST/ust-0.3/tests'
> Making all in hello
> make[3]: Entering directory `/home/UST/ust-0.3/tests/hello'
> /bin/sh ../../libtool --tag=CC   --mode=link gcc  -g -O2   -o hello
> hello.o tp.o ../../libust/libust.la ../../libust-initializer.o -lurcu-bp
> gcc -g -O2 -o .libs/hello hello.o tp.o ../../libust-initializer.o
> ../../libust/.libs/libust.so -lurcu-bp  -Wl,--rpath -Wl,/usr/local/lib
> ../../libust/.libs/libust.so: undefined reference to
> `__sync_val_compare_and_swap_4'
> ../../libust/.libs/libust.so: undefined reference to
> `__sync_sub_and_fetch_4'
> collect2: ld returned 1 exit status
> make[3]: *** [hello] Error 1
> make[3]: Leaving directory `/home/UST/ust-0.3/tests/hello'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory `/home/UST/ust-0.3/tests'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/home/UST/ust-0.3'
> make: *** [all] Error 2
> [root at itd210 ust-0.3]#
> 
> 
> 
> Compiling envrioment :
>                    We are using fedora core-9 distribution for
> compilation of this. We installed the packages as per the README.
> 
>                    First installed libkcompat-0.1 then
> usrspace-rcu-0.4.1 then ust-0.3.
> 
> Tell us what went wrong.

Are you sure you are using userspace-rcu 0.4.1? If I grep through the
whole git history, I see the symbols you are mentionning appear only
after 0.4.1...

pmf




More information about the lttng-dev mailing list