SystemTap + Android | Compiling Script | ERROR

David Smith dsmith@redhat.com
Mon Nov 7 16:23:00 GMT 2016


On 11/06/2016 01:05 AM, ayush goel wrote:
>>>
>> No my script doesn’t use `-r BUILD_TREE` option.
>> I’m using the arm-linux-androideabi-gcc compiler from android’s ndk toolchain, so
>> I would like to assume that it’s linker would automatically search through the required
>> android kernel’s libraries and headers and find the required definitions.
>> This is a strange behaviour.
> 
> Sorry for the confusion, but yes my script does make use of the -r
> BUILD_TREE option. Should I get rid of that?

No, you need the '-r BUILD_TREE' option so that systemtap will compile a
module for your target kernel, not for your running kernel.

-- 
David Smith
dsmith@redhat.com
Red Hat
http://www.redhat.com
256.217.0141 (direct)
256.837.0057 (fax)



More information about the Systemtap mailing list