Hi,

I am trying to port an application which is compiling and working in
linux env. The application references a set of *.a files which was
given by an external vendor.

I extracted the *.a and copied it into a *.so file. I copied the *.so
files and the include *.h files in to the /external/<app>/ folder. I
coped the app source into the /external/<app>/src folder. I wrote the
Android.mk file and built it as an executable  <include $
(BUILD_EXECUTABLE)>. I am getting the following error when i try to
make it.

target Executable: aeapp (out/target/product/generic/obj/EXECUTABLES/
aeapp_intermediates/LINKED/aeapp)
out/target/product/generic/obj/EXECUTABLES/aeapp_intermediates/
aeapp4.o: In function `main':
/home/vijayvb/Android/external/aeapp/src/aeapp4.c:134: undefined
reference to `AEInitModuleStorageTable'
/home/vijayvb/Android/external/aeapp/src/aeapp4.c:163: undefined
reference to `AEVersion'
/home/vijayvb/Android/external/aeapp/src/aeapp4.c:165: undefined
reference to `AEInit'
/home/vijayvb/Android/external/aeapp/src/aeapp4.c:174: undefined
reference to `AEMaxTemplateSize'
/home/vijayvb/Android/external/aeapp/src/aeapp4.c:174: undefined
reference to `AEMalloc'

Is this because the compiler is not able to find the necessary shared
library or is it because the shared library is not compiled properly
with respect to android?

If it is not able to find the shared library, where am I supposed to
copy the shared libraries to? Right now i have coped then to out/
target/product/generic/system/lib and out/target/product/generic/obj/
lib

Please help me out here.

thanks
Vb

-- 
unsubscribe: android-porting+unsubscr...@googlegroups.com
website: http://groups.google.com/group/android-porting

Reply via email to