You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What steps will reproduce the problem?
1.
2.
3.
What is the expected output? What do you see instead?
Trying to use sreadahead tool on android target to decrease bootup time .
But sreaahesd.c are not getting compiled against bionic library.
What version of the product are you using? On what operating system?
sreadahesd-1.0
Please provide any additional information below.
Below is the error message---------
/tmp/ccIfKOOt.o: In function `one_thread':
/home/zafar/spreadahead/sreadahead-1.0/sreadahead.c:177: undefined
reference to `__sync_fetch_and_add_4'
/tmp/ccIfKOOt.o: In function `readahead_one':
/home/zafar/spreadahead/sreadahead-1.0/sreadahead.c:166: undefined
reference to `readahead'
/tmp/ccIfKOOt.o: In function `one_thread':
/home/zafar/spreadahead/sreadahead-1.0/sreadahead.c:177: undefined
reference to `__sync_fetch_and_add_4'
collect2: ld returned 1 exit status
make: *** [sreadahead] Error 1
Any help will be highly appreciated
Thank you
Original issue reported on code.google.com by md.zafar.ziya on 4 Feb 2010 at 12:52
The text was updated successfully, but these errors were encountered:
HI,
>> /home/zafar/spreadahead/sreadahead-1.0/sreadahead.c:177: undefined
>> reference to `__sync_fetch_and_add_4'
The above API is gcc intrinsic and may not be available in your toolchain. So
you can
change that API with similar API like atomic operations.
Original issue reported on code.google.com by
md.zafar.ziya
on 4 Feb 2010 at 12:52The text was updated successfully, but these errors were encountered: