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

Mathieu Desnoyers compudj at krystal.dyndns.org
Tue Dec 2 11:18:18 EST 2008


* linux linux (linux.lttng at gmail.com) wrote:
> 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
> 

Hi,

This version of LTT is outdated. Please see http://ltt.polymtl.ca for
the new version, LTTng.

Mathieu

> 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

> _______________________________________________
> ltt-dev mailing list
> ltt-dev at lists.casi.polymtl.ca
> http://lists.casi.polymtl.ca/cgi-bin/mailman/listinfo/ltt-dev


-- 
Mathieu Desnoyers
OpenPGP key fingerprint: 8CD5 52C3 8E3C 4140 715F  BA06 3F25 A8FE 3BAE 9A68




More information about the lttng-dev mailing list