nice.. is it LOCAL_CFLAGS of your executable?? can u share the change?


On Tue, May 11, 2010 at 2:55 PM, MuNNa <[email protected]> wrote:

> Got the solution,
>
> LOCAL_CFLAGS caused the problem. thanks
>
> On May 10, 7:32 pm, Deva R <[email protected]> wrote:
> > - can you make sure libomx_my_aac_component_lib is built as shared lib
> and
> > not as static lib?
> > LOCAL_SHARED_LIBRARIES := \
> >    libomx_my_aac_component_lib
> >
> > -  by any chance, is libomx_my_aac_component_lib copied to /system/lib
> > folder or built in your setup??
> > Make sure below directory is present in ur setup
> >
> ./out/target/product/zoom2/obj/SHARED_LIBRARIES/libomx_my_aac_component_lib_intermediates
> >
> > - cross check if LOCAL_C_INCLUDES includes proper path for (though this
> > linker error pops up at very later stage..)
> >
> >
> >
> > On Mon, May 10, 2010 at 10:57 AM, MuNNa <[email protected]>
> wrote:
> > > Hi,
> >
> > > While building the test application I'm getting this error. But the
> > > library has those function definitions.
> >
> > > Error:
> >
> > > target Executable: My_AAC_Test (out/target/product/zoom2/obj/
> > > EXECUTABLES/My_AAC_Test_intermediates/LINKED/My_AAC_Test)
> > > out/target/product/zoom2/obj/EXECUTABLES/My_AAC_Test_intermediates/src/
> > > main.o: In function `main':
> > > /home/user/build/my_25E.16/mydroid/external/opencore/codecs_v2/omx/
> > > My_AAC/test/src/main.c:73: undefined reference to `AACDEC_Init'
> > > /home/user/build/my_25E.16/mydroid/external/opencore/codecs_v2/omx/
> > > My_AAC/test/src/main.c:82: undefined reference to `AACDEC_Decode'
> > > /home/user/build/my_25E.16/mydroid/external/opencore/codecs_v2/omx/
> > > My_AAC/test/src/main.c:89: undefined reference to `AACDEC_DeInit'
> > > collect2: ld returned 1 exit status
> >
> > > Debug:
> >
> > > u...@infba01830:$ nm out/target/product/zoom2/symbols/system/lib/
> > > libomx_my_aac_component_lib.so | grep AACDEC_
> > > 00008f0c t AACDEC_DeInit
> > > 00008f10 t AACDEC_Decode
> > > 00008fb4 t AACDEC_Init
> >
> > > Make file Vars for application:
> >
> > > LOCAL_SHARED_LIBRARIES := \
> > >    libomx_my_aac_component_lib
> >
> > > LOCAL_MODULE:= My_AAC_Test
> >
> > > include $(BUILD_EXECUTABLE)
> >
> > > Please help me. What's going wrong here.  Thanks in advance
> >
> > > --
> > > unsubscribe: 
> > > [email protected]<android-porting%[email protected]>
> <android-porting%[email protected]<android-porting%[email protected]>
> >
> > > website:http://groups.google.com/group/android-porting
> >
> > --
> > unsubscribe: 
> > [email protected]<android-porting%[email protected]>
> > website:http://groups.google.com/group/android-porting
>
> --
> unsubscribe: 
> [email protected]<android-porting%[email protected]>
> website: http://groups.google.com/group/android-porting
>

-- 
unsubscribe: [email protected]
website: http://groups.google.com/group/android-porting

Reply via email to