Linker problem when compile android source on ubuntu 9.10

by n179911 » Wed, 03 Feb 2010 01:29:50 GMT


Sponsored Links
 Hi,

I have download the source and tried to compile in under ubuntu 9.10.
But I am having the following linker error:

host Executable: acc (out/host/linux-x86/obj/EXECUTABLES/
acc_intermediates/acc)
/usr/bin/ld: out/host/linux-x86/obj/EXECUTABLES/acc_intermediates/
main.o: in function symbolLookup(void*, char const*):system/core/
libacc/tests/main.cpp:42: error: undefined reference to 'dlsym'
collect2: ld returned 1 exit status

I have tried adding  these to mydroid/system/core/libacc/tests/
Android.mk file:
LOCAL_LDLIBS := -ldl

or

LOCAL_LDFLAGS := -ldl

But both does not work.

Can you please tell me how to fix this problem?

Thank you.

-- 



Other Threads

1. How to keep the selected item of a ListView vertically centered?

Scenario:

1) A ListView with many items (i.e. scrolling will occur at some
point)
2) At the beginning, the selection is at the top (item #0)
3) User is scrolling down (i.e. we're not in touch mode)
4) For the first items, the selection is moving down without the list
to scroll.
5) Once the selected item is reaching the middle of the list's
viewport: the list starts to scroll-down.
6) Then, toward the end of the list: scrolling stops and the selection
keeps moving down until the last item is reached.

It's a common feature in (keyboard-enabled) UI frameworks but I don't
believe it's possible to achieve with Android, as for now... Right?

Thanks!
Ariel

-- 

2. Re-Register PhoneStateListener if application crashed

Any help ?





-- 

3. Should you develop unique UI's for each device?

4. Android Linux ( timed_outout & timed_gpio )

5. urgent: issue with media recorder

6. D-Pad and WebView

7. startForeground