Error During GStreamer build with NDK
Munish Jindal
munish_iitd at yahoo.com
Fri Nov 25 21:33:58 PST 2011
Hi Kapil,
I have extracted libs from Samsung Glaxy S phone and put them under android-ndk/platforms/android-9/arch-arm/usr/lib. The android.mk also is fine and it is pointing to the write path: -L$(SYSROOT)/usr/lib.
But, I am still getting the same error. I am building for android-9.
Could you please help me to resolve these errors.
Regards,
Munish
________________________________
From: Kapil Agrawal <kapil.agl at gmail.com>
To: Munish Jindal <munish_iitd at yahoo.com>; Discussions about GStreamer on Android <gstreamer-android at lists.freedesktop.org>
Sent: Friday, 25 November 2011 10:56 AM
Subject: Re: Error During GStreamer build with NDK
Hello Munish,
Thats happening because, the libs needed by audioflinger are not located in your ndk libs, so essentially you have to pull the needed libs (refer Android.mk in audioflinger) and let your android.mk point to the location where these are located.
Best Luck
Kapil
On Thu, Nov 24, 2011 at 5:06 PM, Munish Jindal <munish_iitd at yahoo.com> wrote:
Hi Stefan,
>
>
>After removing last errors, we are now getting following errors:
>
>
>
>audioflinger_wrapper.cpp:144: undefined reference to `android::AudioTrack::set(int, unsigned int, int, int, int, unsigned int, void (*)(int, void*, void*), void*, int, android::sp<android::IMemory> const&, bool, int)'
>collect2: ld returned 1 exit status
>
>
>
>Could you please help me in resolving it.
>
>
>Regards,
>Munish
>
>
>
>________________________________
> From: Stefan Sauer <ensonic at hora-obscura.de>
>To: gstreamer-android at lists.freedesktop.org
>Sent: Wednesday, 23 November 2011 4:06 PM
>Subject: Re: Error During GStreamer build with NDK
>
>
>
>On 11/23/2011 08:42 AM, Munish Jindal wrote:
>Hi Stefan,
>>
>>
>>Thanks for your reply. I installed the glib-devel package and those errors were removed.
>>
>>
>>
>>Now, I am getting following errors:
>>
>>
>>audio.c:589: error: 'GST_TYPE_AUDIO_CHANNEL_POSITION' undeclared (first use in this function)
>>/gstreamer_ndk_bundle/jni/../gst-plugins-base/gst-libs/gst/audio/audio.c:589:
error: (Each undeclared identifier is reported only once
>>
>>
>>
>>Do I need to install any additional package for successful compilation, please let me know.
>>
>>
>>Regards,
>>Munish
>>
>>
>>
>>
>>
There is a general problem. The build is picking up stuff from the system and not from the source we do checkout. If you install gstreamer-devel packages it will build. Allthough we need to fix the sandboxing.
>
>Stefan
>
>
>
>
>>
>>
>>
>>On 11/22/2011 12:23 PM, Munish Jindal wrote:
>>Hi,
>>>
>>>
>>>I am trying to build the Gstreamer using NDK. When we execute setup.sh, we get the following errors:
>>>
>>>
>>>error: gobject/gmarshal.h : No such file or directory
>>>error: gst/gstmarshal.h : No such file or directory
>>you will need to install glib-devel package.
>>
>>Stefan
>>
>>
>>>
>>>Let me know, if I am doing something wrong.
>>>
>>>
>>>Regards,
>>>Munish
>>>
>>>
>>>
_______________________________________________
gstreamer-android mailing list gstreamer-android at lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/gstreamer-android
>>
>>_______________________________________________
>>gstreamer-android mailing list
>>gstreamer-android at lists.freedesktop.org
>>http://lists.freedesktop.org/mailman/listinfo/gstreamer-android
>>
>>
>>
>>
_______________________________________________
gstreamer-android mailing list gstreamer-android at lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/gstreamer-android
>
>_______________________________________________
>gstreamer-android mailing list
>gstreamer-android at lists.freedesktop.org
>http://lists.freedesktop.org/mailman/listinfo/gstreamer-android
>
>
>
>_______________________________________________
>gstreamer-android mailing list
>gstreamer-android at lists.freedesktop.org
>http://lists.freedesktop.org/mailman/listinfo/gstreamer-android
>
>
--
http://www.linkedin.com/in/kapilagrawal
www.mediamagictechnologies.com
(Consultancy - Multimedia, Gstreamer, ffmpeg, Streaming for platforms- linux, windows, TI, android)
_______________________________________________
gstreamer-android mailing list
gstreamer-android at lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/gstreamer-android
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-android/attachments/20111126/a936887c/attachment.html>
More information about the gstreamer-android
mailing list