Linker problem when compile android source on ubuntu 9.10

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

Sponsored Links

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/
/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/ file:



But both does not work.

Can you please tell me how to fix this problem?

Thank you.


Other Threads

1. F

Mohon info,
Apa ada free gps petunjuk jln spt garmin di windows mobile?
Sy cari di market dan pasar mlm tidak ketemu.


2. using getSurfaceFrame to get display width/height?

So I'm trying out making a live wallpaper and I'm using the sample
code provided in the SDK for the cube live wallpaper

I wanted to use this code to get the height/width of the display

    public void onCreate(SurfaceHolder surfaceHolder) {

      Rect frame = getSurfaceHolder().getSurfaceFrame();
      float width = frame.width();
      float height = frame.height();
      // By default, we don't get touch events, so enable them.

Unfortunately, when I run this code, the width and height return as 0,
though if I put this in onVisibilityChanged, the correct values are
returned, why is this and is it suitable to move the code to


3. OOT: Happy New Year 2011

4. Ada Apa dengan WildFire ku?

5. Linking PreCompiled Shared Object/Executable with Android RILD

6. making Toast like notification?

7. Small, Normal, Large and xlarge. How to handle application?