[lttng-dev] lttng-tools-2.1.1 for linux-3.4.3
Hari Prasad Kalavakunta
Hari.Prasad at radisys.com
Fri Apr 19 11:47:59 EDT 2013
Hello lttng-dev,
When cross compiling lttng-tools-2.1.1 for PowerPC-32 bit, I am running into few issues. Could you please let me know what is wrong here.
First, there was a problem using EPOLL feature.
$ CFLAGS="-m32 -g -O2" ./configure --prefix=/home/xxx/linux-3.4.3/ --host=powerpc-linux
$ make
make[3]: Entering directory `/home/xxx/lttng2.1/lttng-tools-2.1.1/src/common/compat'
CC compat-epoll.lo
In file included from compat-epoll.c:31:
poll.h:76: error: 'EPOLL_CLOEXEC' undeclared here (not in a function)
To go past this problem, I have chosen not to use EPOLL through ax_have_epoll_cppflags flag
$ export ax_have_epoll_cppflags=no
$ CFLAGS="-m32 -g -O2" ./configure --prefix=/home/xxx/linux-3.4.3/ --host=powerpc-linux
$ make
YACC filter-parser.c
/home/xxx/lttng2.1/lttng-tools-2.1.1/src/lib/lttng-ctl/filter/filter-parser.y:299.9-16: syntax error, unexpected identifier, expecting string
This time parser appears have some kind of issue. Also, there are few warnings as shown below that indicates to me that configure is not done in the correct way.
consumer.c: In function 'write_relayd_stream_header':
consumer.c:749: warning: implicit declaration of function 'htobe64'
consumer.c:750: warning: implicit declaration of function 'htobe32'
Could you please let me know what could be wrong here. Your help is appreciated. Except of lttng-tools, all other components have be successfully build and installed.
Regards,
Hari
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lttng.org/pipermail/lttng-dev/attachments/20130419/94c1f185/attachment.html>
More information about the lttng-dev
mailing list