Hi, all,

I met some trouble when i tried to "make" the ltt-control-0.88-09242010. The 
code is list below:

make[2]: Leaving directory `/usr/src/ltt-control-0.88-09242010/liblttd'
Making all in lttd
make[2]: Entering directory `/usr/src/ltt-control-0.88-09242010/lttd'
gcc -DHAVE_CONFIG_H -I.. -I..     -g -O2 -MT lttd.o -MD -MP -MF .deps/lttd.Tpo 
-c -o lttd.o lttd.c
mv -f .deps/lttd.Tpo .deps/lttd.Po
/bin/sh ../libtool --tag=CC   --mode=link gcc  -g -O2   -o lttd lttd.o 
../liblttd/liblttd.la -lpthread
libtool: link: gcc -g -O2 -o .libs/lttd lttd.o  ../liblttd/.libs/liblttd.so 
-lpthread
../liblttd/.libs/liblttd.so: undefined reference to `sync_file_range'
collect2: ld returned 1 exit status
make[2]: *** [lttd] Error 1
make[2]: Leaving directory `/usr/src/ltt-control-0.88-09242010/lttd'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/ltt-control-0.88-09242010'
make: *** [all] Error 2

My workstation is Centos 5.5, glibc-2.5.
It seems like a design bug in centos which ignore the sysycall sync_file_range, 
so seems the only way for me is to just delete the related code.
Is there any other way to make it through? please help me out!!

2013-03-13



zhengchen
_______________________________________________
lttng-dev mailing list
[email protected]
http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev

Reply via email to