Skip to contentSkip to conversation

Compiling sp-rtrace

DISCUSSION Patrick 2 participants 2 messages Apr 27, 2012

lore
Share & tools
lore

Patrick

author
#0 lore raw

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/"

#1 lore raw
Quoted 3 lines · Patrick

Dear mailing-list,

Nice. :)

Quoted 1 line

I am trying to include the sp-rtrace tool (

http://maemo.gitorious.org/maemo-tools/sp-rtrace) in my Poky image.

Quoted 5 lines

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.

Quoted 1 line

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...

Quoted 1 line

You should start by showing us your error.

As i recall... demangle.h is from binutils. And should be in sysroot. But i have to check as i don't have a build right now at my disposal.

Quoted 7 lines

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. "

Quoted 3 lines

HOMEPAGE = "http://maemo.gitorious.org/maemo-tools/sp-rtrace" LICENSE = "GPLv2 & GPLv2+"
LIC_FILES_CHKSUM =

"file://COPYING.GPL;md5=4325afd396febcb659c36b49533135d4 \

Quoted 1 line

file://COPYING.LGPL;md5=3214f080875748938ba060314b4f727d"

Quoted 20 lines

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/"

_______________________________________________
poky mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/poky