Thanks Dave. But I got the following error:
"build/platforms/android-1.5/arch-arm/usr/lib: file not recognized: Is a directory
collect2: ld returned 1 exit status"
By the way, my $(SYSROOT) does not contain any
libld.so/a but libdl.so. However, even after I change OCAL_LDLIBS to $(SYSROOT)/usr/lib -ldl, the error still exists. Any clue?