[ltt-dev] Ltt compilation error:make[2]: *** [EventDB.lo] Error 1

linux linux linux.lttng at gmail.com
Tue Dec 2 11:15:58 EST 2008


HI,

I am trying to compile LTT for the server that has i386 processor.
I have downloaded LTT from

http://www.opersys.com/LTT/downloads.html

When i try to compile it, i am getting an error

make  all-recursive
make[1]: Entering directory `/vob/ncgl/os/ltt/v0.9.5a/contents'
Making all in LibLTT
make[2]: Entering directory `/vob/ncgl/os/ltt/v0.9.5a/contents/LibLTT'
/bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I..

-I../Include         -DSUPP_RTAI=1   -DTARGET_NATIVE=0

-DLTT_UNPACKED_STRUCTS=0    -Wall -O2 -c EventDB.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../Include -DSUPP_RTAI=1

-DTARGET_NATIVE=0 -DLTT_UNPACKED_STRUCTS=0 -Wall -O2

-Wp,-MD,.deps/EventDB.pp -c  -fPIC -DPIC EventDB.c -o EventDB.lo
EventDB.c: In function `DBILinuxEventString':
EventDB.c:424: warning: integer constant is too large for "long" type
EventDB.c:424: warning: integer constant is too large for "long" type
EventDB.c:424: warning: integer constant is too large for "long" type
EventDB.c:424: warning: integer constant is too large for "long" type
EventDB.c: In function `DBEventNext':
EventDB.c:1729: warning: implicit declaration of function `exit'
EventDB.c: In function `DBProcessLinuxTrace':
EventDB.c:2829: error: label at end of compound statement
make[2]: *** [EventDB.lo] Error 1
make[2]: Leaving directory `/vob/ncgl/os/ltt/v0.9.5a/contents/LibLTT'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/vob/ncgl/os/ltt/v0.9.5a/contents'
make: *** [all-recursive-am] Error 2

Can any one please  help me out.

I am compiling it for the server where i do not have GTK library. so in that
case do i need to compile Visualizer/ ?
Is there any text based front end in LTT as i do not have gtk ?

Thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.casi.polymtl.ca/pipermail/lttng-dev/attachments/20081202/9939e0ff/attachment-0002.htm>


More information about the lttng-dev mailing list