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: SystemTap + Android | Compiling Script | ERROR


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)


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