This is the mail archive of the systemtap@sourceware.org mailing list for the systemtap project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Error: staprun syntax error on Target


Satish Kumar <sakumar@mvista.com> writes:

> [...]
> root@xilinx-zynq-le:~# staprun
> /usr/target/bin/staprun: line 1: syntax error: unexpected "("
> following web page
> https://drzhf9.wordpress.com/2015/02/19/systemtap-for-arm/

The staprun binary needs to be built for the same architecture on which
it will be executed.  (This is the same as any other binary.)  It sounds
as though you did the "building for target board" part without the
appropriate --host=XXXXX configure option, or something went wrong with
that build process.

Can the ARM board run a full enough OS to natively build systemtap
(with --disable-translator if you like), so cross-compilation is not
needed?


- FChE


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]