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. Httposter could not be resolved

Hello every one,

This is the code I wrote a code for uploading data from android phone
to a server

String url = "http://www.orsas.com/ServiceMatalan.php";
                Map<String, String> kvPairs = new HashMap<String, String>();
                kvPairs.put("vehicle", dataRecord.toString());
                // Normally I would pass two more JSONObjects.....
                HttpResponse re = HTTPPoster.doPost(url, kvPairs);
                String temp = EntityUtils.toString(re.getEntity());
                if (temp.compareTo("SUCCESS")==0)
                {
                    Toast.makeText(this, "Sending complete!",
Toast.LENGTH_LONG).show();
                }


I get an error that  Httposter could not be resolved. Can anyone plese
help me out with this issue. Thanks in advance.


-- 

2. how to make timetable in android.

how to make
timetable and schedule for a day, week
and month. in android application.?

-- 

3. Facade Support

4. Fade in animation is not getting displayed?

5. Java Developer Needed in TN -- F2F required --

6. Passing member variables from AsyncTask

7. wake-locks and repeated sleeping