Error: staprun syntax error on Target
Frank Ch. Eigler
fche@redhat.com
Wed Nov 29 19:19:00 GMT 2017
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
More information about the Systemtap
mailing list