Cross compiling gst-plugins-base-0.10.35

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

Cross compiling gst-plugins-base-0.10.35

Nicholas Butts
I'm trying to cross compile gstreamer, gst-plugins-base and gst-plugins-good for an ARM9 target. I successfully built libglib and gstreamer. Now I am trying to build gst-plugins-base, but I get an error message. Here is how I configure and build it:
./configure CC=/opt/montavista/pro/devkit/arm/v5t_le/bin/arm_v5t_le-gcc  --build=i686-linux --host=arm-none-linux-gnueabi --prefix=/home/nlbutts/vision_mpeg/dependencies CFLAGS=-I/home/nlbutts/vision_mpeg/dependencies/include/ LDFLAGS=-L/home/nlbuts/vision_mpeg/dependencies/lib/

Here is the final output of the configuration:
configure: *** Plug-ins without external dependencies that will be built:
    adder
    app
    audioconvert
    audiorate
    audioresample
    audiotestsrc
    encoding
    ffmpegcolorspace
    gdp
    playback
    subparse
    tcp
    typefind
    videorate
    videoscale
    videotestsrc
    volume

configure: *** Plug-ins without external dependencies that will NOT be built:

configure: *** Plug-ins with dependencies that will be built:
    alsa
    gio
    ogg
    pango
    video4linux
    vorbis
    ximagesink
    xvimagesink

configure: *** Plug-ins with dependencies that will NOT be built:
    cdparanoia
    gnomevfs
    ivorbisdec
    libvisual
    theora

configure: *** Orc acceleration disabled.  Requires Orc >= 0.4.11, which was
               not found.  Slower code paths will be used.


Finally, here is the error message I am getting:
/opt/montavista/pro/devkit/arm/v5t_le/bin/../lib/gcc/armv5tl-montavista-linux-gnueabi/4.2.0/../../../../armv5tl-montavista-linux-gnueabi/bin/ld: warning: libgstinterfaces-0.10.so.0, needed by ./.libs/libgstaudio-0.10.so, not found (try using -rpath or -rpath-link)
./.libs/libgstaudio-0.10.so: undefined reference to `gst_property_probe_get_type'
./.libs/libgstaudio-0.10.so: undefined reference to `gst_mixer_list_tracks'
./.libs/libgstaudio-0.10.so: undefined reference to `gst_property_probe_get_property'
./.libs/libgstaudio-0.10.so: undefined reference to `gst_mixer_get_type'
./.libs/libgstaudio-0.10.so: undefined reference to `gst_property_probe_probe_and_get_values'
collect2: ld returned 1 exit status

I'm at a loss for why this wouldn't get built. Any ideas?

Thanks in advanced.


_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: [SPAM (Keyword)] - Cross compiling gst-plugins-base-0.10.35

Wes Miller
Administrator
There is a lot of discussion of cross compiling on the Texas Instruments dm365 forum and also the RidgeRun forums for LeopardBoard and BeagleBoard.  Sorry, I am away from my bookmarks so I can't give you the URLs.

Wes


From: Nicholas Butts <[hidden email]>
Reply-To: Discussion of the development of and with GStreamer <[hidden email]>
Date: Fri, 19 Aug 2011 17:58:22 -0400
To: "[hidden email]" <[hidden email]>
Subject: [SPAM (Keyword)] - Cross compiling gst-plugins-base-0.10.35

I'm trying to cross compile gstreamer, gst-plugins-base and gst-plugins-good for an ARM9 target. I successfully built libglib and gstreamer. Now I am trying to build gst-plugins-base, but I get an error message. Here is how I configure and build it:
./configure CC=/opt/montavista/pro/devkit/arm/v5t_le/bin/arm_v5t_le-gcc  --build=i686-linux --host=arm-none-linux-gnueabi --prefix=/home/nlbutts/vision_mpeg/dependencies CFLAGS=-I/home/nlbutts/vision_mpeg/dependencies/include/ LDFLAGS=-L/home/nlbuts/vision_mpeg/dependencies/lib/


<snip>…<snip>…<snip>…<snip>…<snip>…<snip>…<snip>…<snip>…<snip>…<snip>…<snip>…<snip>…<snip>


I'm at a loss for why this wouldn't get built. Any ideas?

Thanks in advanced.



CONFIDENTIALITY NOTE:

This e-mail and any attachments are confidential. If you are not the intended recipient, be aware that any disclosure, copying, distribution or use of this e-mail or any attachment is prohibited. If you have received this e-mail in error, please notify us immediately by returning it to the sender and delete this copy from your system. Thank you for your cooperation.

_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Cross compiling gst-plugins-base-0.10.35

Lionel Landwerlin
In reply to this post by Nicholas Butts
Ever tried buildroot with an external toolchain setup ?

All the gst-plugins and most of their dependencies are already in there.

--
Lionel

On Fri, 2011-08-19 at 16:58 -0500, Nicholas Butts wrote:

> I'm trying to cross compile gstreamer, gst-plugins-base and
> gst-plugins-good for an ARM9 target. I successfully built libglib and
> gstreamer. Now I am trying to build gst-plugins-base, but I get an
> error message. Here is how I configure and build it:
> ./configure
> CC=/opt/montavista/pro/devkit/arm/v5t_le/bin/arm_v5t_le-gcc
>  --build=i686-linux --host=arm-none-linux-gnueabi
> --prefix=/home/nlbutts/vision_mpeg/dependencies
> CFLAGS=-I/home/nlbutts/vision_mpeg/dependencies/include/
> LDFLAGS=-L/home/nlbuts/vision_mpeg/dependencies/lib/
>
> Here is the final output of the configuration:
> configure: *** Plug-ins without external dependencies that will be
> built:
>     adder
>     app
>     audioconvert
>     audiorate
>     audioresample
>     audiotestsrc
>     encoding
>     ffmpegcolorspace
>     gdp
>     playback
>     subparse
>     tcp
>     typefind
>     videorate
>     videoscale
>     videotestsrc
>     volume
>
> configure: *** Plug-ins without external dependencies that will NOT be
> built:
>
> configure: *** Plug-ins with dependencies that will be built:
>     alsa
>     gio
>     ogg
>     pango
>     video4linux
>     vorbis
>     ximagesink
>     xvimagesink
>
> configure: *** Plug-ins with dependencies that will NOT be built:
>     cdparanoia
>     gnomevfs
>     ivorbisdec
>     libvisual
>     theora
>
> configure: *** Orc acceleration disabled.  Requires Orc >= 0.4.11,
> which was
>                not found.  Slower code paths will be used.
>
>
> Finally, here is the error message I am getting:
> /opt/montavista/pro/devkit/arm/v5t_le/bin/../lib/gcc/armv5tl-montavista-linux-gnueabi/4.2.0/../../../../armv5tl-montavista-linux-gnueabi/bin/ld: warning: libgstinterfaces-0.10.so.0, needed by ./.libs/libgstaudio-0.10.so, not found (try using -rpath or -rpath-link)
> ./.libs/libgstaudio-0.10.so: undefined reference to
> `gst_property_probe_get_type'
> ./.libs/libgstaudio-0.10.so: undefined reference to
> `gst_mixer_list_tracks'
> ./.libs/libgstaudio-0.10.so: undefined reference to
> `gst_property_probe_get_property'
> ./.libs/libgstaudio-0.10.so: undefined reference to
> `gst_mixer_get_type'
> ./.libs/libgstaudio-0.10.so: undefined reference to
> `gst_property_probe_probe_and_get_values'
> collect2: ld returned 1 exit status
>
> I'm at a loss for why this wouldn't get built. Any ideas?
>
> Thanks in advanced.
>
> _______________________________________________
> gstreamer-devel mailing list
> [hidden email]
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel


_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Cross compiling gst-plugins-base-0.10.35

ak.ashwini
try export PKG_CONFIG_PATH="path to your pkgconfig directory". In this case it could be /home/nlbutts/vision_mpeg/dependencies/lib/pkgconfig if u have installed the rest of your packages "gstreamer" at the same location.

On Sat, Aug 20, 2011 at 3:56 AM, Lionel Landwerlin <[hidden email]> wrote:
Ever tried buildroot with an external toolchain setup ?

All the gst-plugins and most of their dependencies are already in there.

--
Lionel

On Fri, 2011-08-19 at 16:58 -0500, Nicholas Butts wrote:
> I'm trying to cross compile gstreamer, gst-plugins-base and
> gst-plugins-good for an ARM9 target. I successfully built libglib and
> gstreamer. Now I am trying to build gst-plugins-base, but I get an
> error message. Here is how I configure and build it:
> ./configure
> CC=/opt/montavista/pro/devkit/arm/v5t_le/bin/arm_v5t_le-gcc
>  --build=i686-linux --host=arm-none-linux-gnueabi
> --prefix=/home/nlbutts/vision_mpeg/dependencies
> CFLAGS=-I/home/nlbutts/vision_mpeg/dependencies/include/
> LDFLAGS=-L/home/nlbuts/vision_mpeg/dependencies/lib/
>
> Here is the final output of the configuration:
> configure: *** Plug-ins without external dependencies that will be
> built:
>     adder
>     app
>     audioconvert
>     audiorate
>     audioresample
>     audiotestsrc
>     encoding
>     ffmpegcolorspace
>     gdp
>     playback
>     subparse
>     tcp
>     typefind
>     videorate
>     videoscale
>     videotestsrc
>     volume
>
> configure: *** Plug-ins without external dependencies that will NOT be
> built:
>
> configure: *** Plug-ins with dependencies that will be built:
>     alsa
>     gio
>     ogg
>     pango
>     video4linux
>     vorbis
>     ximagesink
>     xvimagesink
>
> configure: *** Plug-ins with dependencies that will NOT be built:
>     cdparanoia
>     gnomevfs
>     ivorbisdec
>     libvisual
>     theora
>
> configure: *** Orc acceleration disabled.  Requires Orc >= 0.4.11,
> which was
>                not found.  Slower code paths will be used.
>
>
> Finally, here is the error message I am getting:
> /opt/montavista/pro/devkit/arm/v5t_le/bin/../lib/gcc/armv5tl-montavista-linux-gnueabi/4.2.0/../../../../armv5tl-montavista-linux-gnueabi/bin/ld: warning: libgstinterfaces-0.10.so.0, needed by ./.libs/libgstaudio-0.10.so, not found (try using -rpath or -rpath-link)
> ./.libs/libgstaudio-0.10.so: undefined reference to
> `gst_property_probe_get_type'
> ./.libs/libgstaudio-0.10.so: undefined reference to
> `gst_mixer_list_tracks'
> ./.libs/libgstaudio-0.10.so: undefined reference to
> `gst_property_probe_get_property'
> ./.libs/libgstaudio-0.10.so: undefined reference to
> `gst_mixer_get_type'
> ./.libs/libgstaudio-0.10.so: undefined reference to
> `gst_property_probe_probe_and_get_values'
> collect2: ld returned 1 exit status
>
> I'm at a loss for why this wouldn't get built. Any ideas?
>
> Thanks in advanced.
>
> _______________________________________________
> gstreamer-devel mailing list
> [hidden email]
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel


_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel


_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: [SPAM (Keyword)] - Cross compiling gst-plugins-base-0.10.35

Nicholas Butts
In reply to this post by Wes Miller
Thanks, unfortunately I've had MORE trouble trying to compile the TI gstreamer, plus it is an older version that doesn't support MOV streamable proprerty, which I need.

On Fri, Aug 19, 2011 at 5:13 PM, Wesley J. Miller <[hidden email]> wrote:
There is a lot of discussion of cross compiling on the Texas Instruments dm365 forum and also the RidgeRun forums for LeopardBoard and BeagleBoard.  Sorry, I am away from my bookmarks so I can't give you the URLs.

Wes


From: Nicholas Butts <[hidden email]>
Reply-To: Discussion of the development of and with GStreamer <[hidden email]>
Date: Fri, 19 Aug 2011 17:58:22 -0400
To: "[hidden email]" <[hidden email]>
Subject: [SPAM (Keyword)] - Cross compiling gst-plugins-base-0.10.35

I'm trying to cross compile gstreamer, gst-plugins-base and gst-plugins-good for an ARM9 target. I successfully built libglib and gstreamer. Now I am trying to build gst-plugins-base, but I get an error message. Here is how I configure and build it:
./configure CC=/opt/montavista/pro/devkit/arm/v5t_le/bin/arm_v5t_le-gcc  --build=i686-linux --host=arm-none-linux-gnueabi --prefix=/home/nlbutts/vision_mpeg/dependencies CFLAGS=-I/home/nlbutts/vision_mpeg/dependencies/include/ LDFLAGS=-L/home/nlbuts/vision_mpeg/dependencies/lib/


<snip>…<snip>…<snip>…<snip>…<snip>…<snip>…<snip>…<snip>…<snip>…<snip>…<snip>…<snip>…<snip>


I'm at a loss for why this wouldn't get built. Any ideas?

Thanks in advanced.



CONFIDENTIALITY NOTE:

This e-mail and any attachments are confidential. If you are not the intended recipient, be aware that any disclosure, copying, distribution or use of this e-mail or any attachment is prohibited. If you have received this e-mail in error, please notify us immediately by returning it to the sender and delete this copy from your system. Thank you for your cooperation.

_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel




--
Nicholas Butts
SENIOR FIRMWARE ENGINEER

Appareo Systems, LLC
1810 NDSU Research Circle N
Fargo, ND 58102

P: (701) 356-2200
F: (701) 356-3157

http://www.appareo.com

[hidden email]



NOTICE: This message {including attachments} is covered by the Electronic Communication Privacy Act, 18 U.S.C. sections 2510-2521, is CONFIDENTIAL and may also be protected by ATTORNEY-CLIENT OR OTHER PRIVILEGE. If you believe that it has been sent to you in error, do not read it. If you are not the intended recipient, you are hereby notified that any retention, dissemination, distribution, or copying of this communication is strictly prohibited. Please reply to the sender that you have received the message in error and then delete it.

_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel