[lttng-dev] FW: LTTNG-Tools-2.1.1 Support for PPC-32Bit/64bit; Unable to Resolve the Dependencies

SIDDHARTH VERMA SIDDHARTH.VERMA at radisys.com
Mon Apr 22 01:20:15 EDT 2013


Hi Lttng-Support,



I used following commands to compile and install the LTTng on PPC Board::



1. ./configure --host=powerpc-linux CC=/usr/bin/ppc-linux-gcc CFLAGS="-m32 -g -O2"

2. make

3. make install

4. ldconfig



------------------------

Error Logs for LTTng-Tools-2.1.1 && lttng-ust-2.2.0-rc1 && userspace-rcu-0.7.2::

------------------------

liburcu & lttng-ust installed but getting below error while trying to make LTTng-Tools

------------------------

------------------------

[root at 172.27.4.128]# make

Making all in src

make[1]: Entering directory `/root/siverma/2.1.1/lttng-tools-2.2.0-rc1/src'

Making all in common

make[2]: Entering directory `/root/siverma/2.1.1/lttng-tools-2.2.0-rc1/src/common'

Making all in compat

make[3]: Entering directory `/root/siverma/2.1.1/lttng-tools-2.2.0-rc1/src/common/compat'

  CC     compat-fcntl.lo

  CC     compat-epoll.lo

In file included from compat-epoll.c:31:

poll.h:72: error: 'EPOLLRDHUP' undeclared here (not in a function)

poll.h:74: error: 'EPOLL_CLOEXEC' undeclared here (not in a function)

compat-epoll.c: In function 'compat_epoll_create':

compat-epoll.c:77: warning: implicit declaration of function 'epoll_create1'

make[3]: *** [compat-epoll.lo] Error 1

make[3]: Leaving directory `/root/siverma/2.1.1/lttng-tools-2.2.0-rc1/src/common/compat'

make[2]: *** [all-recursive] Error 1

make[2]: Leaving directory `/root/siverma/2.1.1/lttng-tools-2.2.0-rc1/src/common'

make[1]: *** [all-recursive] Error 1

make[1]: Leaving directory `/root/siverma/2.1.1/lttng-tools-2.2.0-rc1/src'

make: *** [all-recursive] Error 1



------------------------------------

I also tried with the previous version of the tool

liburcu installed but getting below dependencies while trying to configure for lttng-ust

------------------------------------



Error Logs lttng-ust-1.9.2 && lttng-tools-2.0.0-rc1 && userspace-rcu-0.6.6 ::

------------------------------------

------------------------------------

checking for GNU libc compatible malloc... yes

checking for gettimeofday... yes

checking for munmap... yes

checking for socket... yes

checking for strerror... yes

checking for strtol... yes

checking for makeinfo... no

configure: error: Please install the 'texinfo' program and make sure 'makeinfo' is in the PATH.



--------------------------------------------------------

--------------------------------------------------------



It seems there are many dependencies involved in the installation of the LTTng, some of them are as follows;



Texinfo

Makeinfo

kernel image to 2.6.38 or higher

librc

libpotp > 1.13

tcltk

libasprintf

gettext

gc++

glib 2.34.0 and some more packages.



Do we have to download and cross compile them all for ppc or we can get some help from standard package managers for the same?

As of now the kernel used in machine is "3.4.3-rt13"



[root at 172.27.4.128]# uname -a

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



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

with the correct releases in order to make them work for a particular Linux image, though its easy to resolve it by using

standard package managers in latest Linux e.g. UBUNTU.



Please suggest on the same.

Regards
Siddharth Verma
Mobile: +91-9880621252
siddharth.verma at radisys.com<mailto:siddharth.verma at radisys.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lttng.org/pipermail/lttng-dev/attachments/20130422/b76fc906/attachment-0001.html>


More information about the lttng-dev mailing list