[lttng-dev] yacc lttng-tools problem

Thibault, Daniel Daniel.Thibault at drdc-rddc.gc.ca
Fri Jan 18 12:37:07 EST 2013


   I need help to get lttng-tools to compile.

   I have grabbed the (nearly) latest git.lttng.org packages:

lttng-modules (2.1.0+-c6403de)
userspace-rcu (0.7.6-da9bed2)
lttng-ust (2.1.0+-340f776) (one new commit since)
lttng-tools (2.1.1+-281047b) (six new commits since)

   The userspace-rcu repository is weird: the 0.7.6 commit which I fetched is marked as "8 days ago" but the master stops at "11 days ago".

   I've installed (on my Ubuntu 12.04 system) libtool, texinfo, g++, libpopt-dev, and bison.  I'm not completely sure about bison: this was prompted by an earlier failed make that choked on a yacc invocation.  Maybe the byacc package is better indicated?

   Anyway, so far lttng-modules, userspace-rcu and lttng-ust have all compiled and installed correctly.  But when lttng-tools's turn comes, the make fails with:

make[4]: entrant dans le répertoire « /home/daniel/Documents/lttng-tools-2.1.1+-281047b/src/lib/lttng-ctl/filter »
/bin/bash ../../../../config/ylwrap filter-parser.y y.tab.c filter-parser.c y.tab.h filter-parser.h y.output filter-parser.output -- bison -y  -t -d -v
updating filter-parser.h
updating filter-parser.output
make  all-am
make[5]: entrant dans le répertoire « /home/daniel/Documents/lttng-tools-2.1.1+-281047b/src/lib/lttng-ctl/filter »
/bin/bash ../../../../config/ylwrap filter-lexer.l .c filter-lexer.c -- :  
make[5]: *** [filter-lexer.c] Erreur 1
make[5]: quittant le répertoire « /home/daniel/Documents/lttng-tools-2.1.1+-281047b/src/lib/lttng-ctl/filter »
make[4]: *** [all] Erreur 2
make[4]: quittant le répertoire « /home/daniel/Documents/lttng-tools-2.1.1+-281047b/src/lib/lttng-ctl/filter »
make[3]: *** [all-recursive] Erreur 1
make[3]: quittant le répertoire « /home/daniel/Documents/lttng-tools-2.1.1+-281047b/src/lib/lttng-ctl »
make[2]: *** [all-recursive] Erreur 1
make[2]: quittant le répertoire « /home/daniel/Documents/lttng-tools-2.1.1+-281047b/src/lib »
make[1]: *** [all-recursive] Erreur 1
make[1]: quittant le répertoire « /home/daniel/Documents/lttng-tools-2.1.1+-281047b/src »
make: *** [all-recursive] Erreur 1

Daniel U. Thibault
R & D pour la défense Canada - Valcartier (RDDC Valcartier) / Defence R&D Canada - Valcartier (DRDC Valcartier)
Cyber sécurité pour les missions essentielles (CME) / Mission Critical Cyber Security (MCCS)
Protection des systèmes et contremesures (PSC) / Systems Protection & Countermeasures (SPC)
2459 route de la Bravoure
Québec, QC  G3J 1X5
CANADA
Vox : (418) 844-4000 x4245
Fax : (418) 844-4538
NAC : 918V QSDJ <http://www.travelgis.com/map.asp?addr=918V%20QSDJ>
Gouvernement du Canada / Government of Canada
<http://www.valcartier.drdc-rddc.gc.ca/>



More information about the lttng-dev mailing list