[gst-embedded] gcc error when compiling

Stefan Kost ensonic at hora-obscura.de
Wed Nov 5 06:55:00 PST 2008


hi,

Jurrian Dubbeldam schrieb:
> Hi all,
>
> I want to start creating a media application with GStreamer, but when I
> try to compile the simple helloworld from the manual, I get the
> following error:
>
> /opt/timesys/toolchains/armv6j-linux/arm-arm1136jfs-linux-uclibcgnueabi/lib/pkgconfig/../gst/libgstreamer-0.10.la: file not recognized: File format not recognized
>   
There is definitely an issue with your cross compilation setup. Its not
gstreamer specific. It looks like it picks up files from host system.

Stefan

> I execute the following command to compile:
>
> export
> PKG_CONFIG_PATH=/opt/timesys/toolchains/armv6j-linux/arm-arm1136jfs-linux-uclibcgnueabi/lib/pkgconfig
>
> gcc -Wall $(pkg-config --cflags --libs gstreamer) helloworld.c -o
> helloworld
> -B /opt/timesys/toolchains/armv6j-linux/arm-arm1136jfs-linux-uclibcgnueabi/include/gstreamer-0.10/gst -B /opt/timesys/toolchains/armv6j-linux/arm-arm1136jfs-linux-uclibcgnueabi/include/glib-2.0 -B /opt/timesys/toolchains/armv6j-linux/arm-arm1136jfs-linux-uclibcgnueabi/include/gstreamer-0.10 -B /opt/timesys/toolchains/armv6j-linux/arm-arm1136jfs-linux-uclibcgnueabi/lib/glib-2.0/include -B /opt/timesys/toolchains/armv6j-linux/arm-arm1136jfs-linux-uclibcgnueabi/include/libxml2
>
> How can I make sure GCC can recognize libgstreamer-0.10.la?
>
> Thanx in advance,
>
> Jurrian
>
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
> Build the coolest Linux based applications with Moblin SDK & win great prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> Gstreamer-embedded mailing list
> Gstreamer-embedded at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gstreamer-embedded
>   





More information about the Gstreamer-embedded mailing list