<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 14 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Tahoma;
panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif";
mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
p.MsoPlainText, li.MsoPlainText, div.MsoPlainText
{mso-style-priority:99;
mso-style-link:"Plain Text Char";
margin:0cm;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif";
mso-fareast-language:EN-US;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
{mso-style-priority:99;
mso-style-link:"Balloon Text Char";
margin:0cm;
margin-bottom:.0001pt;
font-size:8.0pt;
font-family:"Tahoma","sans-serif";
mso-fareast-language:EN-US;}
span.PlainTextChar
{mso-style-name:"Plain Text Char";
mso-style-priority:99;
mso-style-link:"Plain Text";
font-family:"Calibri","sans-serif";}
span.BalloonTextChar
{mso-style-name:"Balloon Text Char";
mso-style-priority:99;
mso-style-link:"Balloon Text";
font-family:"Tahoma","sans-serif";}
span.EmailStyle21
{mso-style-type:personal;
font-family:"Calibri","sans-serif";
color:windowtext;}
span.EmailStyle22
{mso-style-type:personal;
font-family:"Calibri","sans-serif";
color:#1F497D;}
span.EmailStyle23
{mso-style-type:personal-reply;
font-family:"Calibri","sans-serif";
color:#1F497D;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-IN" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoPlainText">Hi <span style="color:black">Lttng-Support,</span><o:p></o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText">I used following commands to compile and install the LTTng on PPC Board::<o:p></o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText"><b>1. ./configure --host=powerpc-linux CC=/usr/bin/ppc-linux-gcc CFLAGS="-m32 -g -O2"<o:p></o:p></b></p>
<p class="MsoPlainText"><b>2. make<o:p></o:p></b></p>
<p class="MsoPlainText"><b>3. make install<o:p></o:p></b></p>
<p class="MsoPlainText"><b>4. ldconfig<o:p></o:p></b></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText">------------------------<o:p></o:p></p>
<p class="MsoPlainText"><span style="background:red;mso-highlight:red">Error Logs for
<b>LTTng-Tools-2.1.1 && lttng-ust-2.2.0-rc1 && userspace-rcu-0.7.2</b>::</span><o:p></o:p></p>
<p class="MsoPlainText">------------------------<o:p></o:p></p>
<p class="MsoPlainText"><b>liburcu & lttng-ust installed</b> but getting below error while trying to
<b>make LTTng-Tools</b><o:p></o:p></p>
<p class="MsoPlainText">------------------------<o:p></o:p></p>
<p class="MsoPlainText">------------------------<o:p></o:p></p>
<p class="MsoPlainText">[root@172.27.4.128]# make<o:p></o:p></p>
<p class="MsoPlainText">Making all in src<o:p></o:p></p>
<p class="MsoPlainText">make[1]: Entering directory `/root/siverma/2.1.1/lttng-tools-2.2.0-rc1/src'<o:p></o:p></p>
<p class="MsoPlainText">Making all in common<o:p></o:p></p>
<p class="MsoPlainText">make[2]: Entering directory `/root/siverma/2.1.1/lttng-tools-2.2.0-rc1/src/common'<o:p></o:p></p>
<p class="MsoPlainText">Making all in compat<o:p></o:p></p>
<p class="MsoPlainText">make[3]: Entering directory `/root/siverma/2.1.1/lttng-tools-2.2.0-rc1/src/common/compat'<o:p></o:p></p>
<p class="MsoPlainText"> CC compat-fcntl.lo<o:p></o:p></p>
<p class="MsoPlainText"> CC compat-epoll.lo<o:p></o:p></p>
<p class="MsoPlainText">In file included from compat-epoll.c:31:<o:p></o:p></p>
<p class="MsoPlainText">poll.h:72: error: 'EPOLLRDHUP' undeclared here (not in a function)<o:p></o:p></p>
<p class="MsoPlainText">poll.h:74: error: 'EPOLL_CLOEXEC' undeclared here (not in a function)<o:p></o:p></p>
<p class="MsoPlainText">compat-epoll.c: In function 'compat_epoll_create':<o:p></o:p></p>
<p class="MsoPlainText">compat-epoll.c:77: warning: implicit declaration of function 'epoll_create1'<o:p></o:p></p>
<p class="MsoPlainText">make[3]: *** [compat-epoll.lo] Error 1<o:p></o:p></p>
<p class="MsoPlainText">make[3]: Leaving directory `/root/siverma/2.1.1/lttng-tools-2.2.0-rc1/src/common/compat'<o:p></o:p></p>
<p class="MsoPlainText">make[2]: *** [all-recursive] Error 1<o:p></o:p></p>
<p class="MsoPlainText">make[2]: Leaving directory `/root/siverma/2.1.1/lttng-tools-2.2.0-rc1/src/common'<o:p></o:p></p>
<p class="MsoPlainText">make[1]: *** [all-recursive] Error 1<o:p></o:p></p>
<p class="MsoPlainText">make[1]: Leaving directory `/root/siverma/2.1.1/lttng-tools-2.2.0-rc1/src'<o:p></o:p></p>
<p class="MsoPlainText">make: *** [all-recursive] Error 1<o:p></o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText">------------------------------------<o:p></o:p></p>
<p class="MsoPlainText"><span style="background:red;mso-highlight:red">I also tried with the previous version of the tool<o:p></o:p></span></p>
<p class="MsoPlainText"><b><span style="background:red;mso-highlight:red">liburcu installed</span></b><span style="background:red;mso-highlight:red"> but
<b>getting below dependencies</b> while trying to configure for lttng-ust</span><o:p></o:p></p>
<p class="MsoPlainText">------------------------------------<o:p></o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText"><span style="background:red;mso-highlight:red">Error Logs lttng-ust-1.9.2 && lttng-tools-2.0.0-rc1 && userspace-rcu-0.6.6 ::</span><o:p></o:p></p>
<p class="MsoPlainText">------------------------------------<o:p></o:p></p>
<p class="MsoPlainText">------------------------------------<o:p></o:p></p>
<p class="MsoPlainText">checking for GNU libc compatible malloc... yes<o:p></o:p></p>
<p class="MsoPlainText">checking for gettimeofday... yes<o:p></o:p></p>
<p class="MsoPlainText">checking for munmap... yes<o:p></o:p></p>
<p class="MsoPlainText">checking for socket... yes<o:p></o:p></p>
<p class="MsoPlainText">checking for strerror... yes<o:p></o:p></p>
<p class="MsoPlainText">checking for strtol... yes<o:p></o:p></p>
<p class="MsoPlainText">checking for makeinfo... no<o:p></o:p></p>
<p class="MsoPlainText">configure: error: <b>Please install the 'texinfo' program and make sure 'makeinfo' is in the PATH</b>.<o:p></o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText">--------------------------------------------------------<o:p></o:p></p>
<p class="MsoPlainText">--------------------------------------------------------<span style="color:#1F497D"><o:p></o:p></span></p>
<p class="MsoPlainText"><span style="color:#1F497D;background:yellow;mso-highlight:yellow"><o:p> </o:p></span></p>
<p class="MsoPlainText"><span style="color:#1F497D;background:yellow;mso-highlight:yellow">I</span><span style="background:yellow;mso-highlight:yellow">t seems there are many dependencies involved in the installation of the LTTng, some of them are as follows;</span><o:p></o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText">Texinfo<o:p></o:p></p>
<p class="MsoPlainText">Makeinfo<o:p></o:p></p>
<p class="MsoPlainText">kernel image to 2.6.38 or higher<o:p></o:p></p>
<p class="MsoPlainText">librc<o:p></o:p></p>
<p class="MsoPlainText">libpotp > 1.13<o:p></o:p></p>
<p class="MsoPlainText">tcltk<o:p></o:p></p>
<p class="MsoPlainText">libasprintf<o:p></o:p></p>
<p class="MsoPlainText">gettext<o:p></o:p></p>
<p class="MsoPlainText">gc++<o:p></o:p></p>
<p class="MsoPlainText">glib 2.34.0 and some more packages.<o:p></o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText"><span style="background:yellow;mso-highlight:yellow">Do we have to download and cross compile them all for ppc or we can get some help from
<span style="color:#1F497D">standard package managers for</span> the same?</span><o:p></o:p></p>
<p class="MsoPlainText">As of now the kernel used in <span style="color:#1F497D">
machine</span> is “3.4.3-rt13”<o:p></o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText"><b>[root@172.27.4.128]# uname -a <o:p></o:p></b></p>
<p class="MsoPlainText"><b>Linux 172.27.4.128 3.4.3-rt13 #1 SMP PREEMPT RT Sat Feb 23 09:46:06 CST 2013 ppc ppc ppc GNU/Linux<o:p></o:p></b></p>
<p class="MsoPlainText"><b><o:p> </o:p></b></p>
<p class="MsoPlainText"><span style="background:yellow;mso-highlight:yellow">As per my observations it may take a lot of time to resolve them all as we have to decide all the correct supporting packages
<o:p></o:p></span></p>
<p class="MsoPlainText"><span style="background:yellow;mso-highlight:yellow">with the correct releases in order to make them work for a particular Linux image, though its easy to resolve it by using
<o:p></o:p></span></p>
<p class="MsoPlainText"><span style="background:yellow;mso-highlight:yellow">standard package managers in latest Linux e.g. UBUNTU.</span><o:p></o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText">Please suggest on the same.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial","sans-serif";color:#222222;mso-fareast-language:EN-IN">Regards<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial","sans-serif";color:#222222;mso-fareast-language:EN-IN">Siddharth Verma<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial","sans-serif";color:#222222;mso-fareast-language:EN-IN">Mobile: +91-9880621252<o:p></o:p></span></p>
<p class="MsoNormal"><u><span style="font-size:10.0pt;font-family:"Arial","sans-serif";color:#1155CC;mso-fareast-language:EN-IN"><a href="mailto:siddharth.verma@radisys.com">siddharth.verma@radisys.com</a><o:p></o:p></span></u></p>
</div>
</body>
</html>