[gst-embedded] gcc error when compiling

Jurrian Dubbeldam jd at veromatic.eu
Wed Oct 22 23:29:20 PDT 2008


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

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





More information about the Gstreamer-embedded mailing list