[poky] Compiling sp-rtrace

Patrick kpa_info at yahoo.fr
Fri Apr 27 07:59:03 PDT 2012


Dear mailing-list,

I am trying to include the sp-rtrace tool 
(http://maemo.gitorious.org/maemo-tools/sp-rtrace) in my Poky image.
I have made the beginning of a receipe but I am facing some problems.

Does any one have already tried to build this tool ?

Below is the receipes that I have made. He is not working and 
compilation crash with a strange conflict when linking.
This tool need the demangle.h file that is not included in this project. 
I have found that gdb have a similar file, this is why I have made the 
dirty hack of the last line...

Thanks in advance for your help

Patrick

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

DESCRIPTION = "sp-rtrace provides function tracing for different 
resource types and the traced data post-processing and visualization 
tools. "
HOMEPAGE = "http://maemo.gitorious.org/maemo-tools/sp-rtrace"
LICENSE = "GPLv2 & GPLv2+"
LIC_FILES_CHKSUM = 
"file://COPYING.GPL;md5=4325afd396febcb659c36b49533135d4 \
                     
file://COPYING.LGPL;md5=3214f080875748938ba060314b4f727d"

PR = "r0"
DEPENDS = "binutils gdb"

SRC_URI = "git://gitorious.org/maemo-tools/sp-rtrace.git"
SRCREV = "4d2870b43a9ae45b47be8701622b9baf7a534d6e"

S = "${WORKDIR}/git"

inherit autotools gettext

EXTRA_OECONF = "--build=arm"
CFLAGS_prepend = "-fPIC -I../../../gdb-7.3a-r4.0/gdb-7.3/include/"






More information about the poky mailing list