GStreamer NDK faad2 problem

Denis Green zagre.torez at gmail.com
Fri Nov 23 07:44:24 PST 2012


Hi,

I found this problem in the archive:
http://lists.freedesktop.org/archives/gstreamer-bugs/2007-June/032520.html

The errors exactly as in that post.
But neaacdec.h contains required defenitions.

Bug?

I have all compatibility macros at
gstreamer-0.10_ndk_bundle/faad/include/neaacdec.h
Lines from neaacdec.h:
#if 1
/* MACROS FOR BACKWARDS COMPATIBILITY */
/* structs */
#define faacDecHandle                  NeAACDecHandle
#define faacDecConfiguration           NeAACDecConfiguration
#define faacDecConfigurationPtr        NeAACDecConfigurationPtr
#define faacDecFrameInfo               NeAACDecFrameInfo
/* functions */
#define faacDecGetErrorMessage         NeAACDecGetErrorMessage
#define faacDecSetConfiguration        NeAACDecSetConfiguration
#define faacDecGetCurrentConfiguration NeAACDecGetCurrentConfiguration
#define faacDecInit                    NeAACDecInit
#define faacDecInit2                   NeAACDecInit2
#define faacDecInitDRM                 NeAACDecInitDRM
#define faacDecPostSeekReset           NeAACDecPostSeekReset
#define faacDecOpen                    NeAACDecOpen
#define faacDecClose                   NeAACDecClose
#define faacDecDecode                  NeAACDecDecode
#define AudioSpecificConfig            NeAACDecAudioSpecificConfig
#endif

The error:
arm-linux-androideabi/bin/ld:
./obj/local/armeabi/objs-debug/gstfaad/gstfaad.o: in function
gst_faad_reset_stream_state:/home/sam/work/gstreamer-0.10_ndk_bundle/jni/../gst-plugins-bad/ext/faad/gstfaad.c:209:
error: undefined reference to 'NeAACDecPostSeekReset'
arm-linux-androideabi/bin/ld:
./obj/local/armeabi/objs-debug/gstfaad/gstfaad.o: in function
gst_faad_set_format:/home/sam/work/gstreamer-0.10_ndk_bundle/jni/../gst-plugins-bad/ext/faad/gstfaad.c:328:
error: undefined reference to 'NeAACDecInit2'


Thanks a lot


More information about the gstreamer-android mailing list