Compile errors with gst/gst.h on Fedora

little_endian girpai at hotmail.com
Thu Nov 29 10:45:22 PST 2012


Thanks a lot David, it was helpful. Now it can find the header file (but I
had to do #include <gstreamer-0.10/gst/gst.h>) but it gives errors for the
files included from gst.h like so below, any thoughts?

gmake
gcc `pkg-config gstreamer --libs` `pkg-config gstreamer --cflags` gst_hw.c
Package gstreamer was not found in the pkg-config search path.
Perhaps you should add the directory containing `gstreamer.pc'
to the PKG_CONFIG_PATH environment variable
No package 'gstreamer' found
Package gstreamer was not found in the pkg-config search path.
Perhaps you should add the directory containing `gstreamer.pc'
to the PKG_CONFIG_PATH environment variable
No package 'gstreamer' found
In file included from gst_hw.c:1:
/usr/include/gstreamer-0.10/gst/gst.h:27:18: error: glib.h: No such file or
directory
/usr/include/gstreamer-0.10/gst/gst.h:29:29: error: gst/glib-compat.h: No
such file or directory
/usr/include/gstreamer-0.10/gst/gst.h:31:30: error: gst/gstenumtypes.h: No
such file or directory
/usr/include/gstreamer-0.10/gst/gst.h:32:28: error: gst/gstversion.h: No
such file or directory
/usr/include/gstreamer-0.10/gst/gst.h:34:24: error: gst/gstbin.h: No such
file or directory
/usr/include/gstreamer-0.10/gst/gst.h:35:27: error: gst/gstbuffer.h: No such
file or directory
/usr/include/gstreamer-0.10/gst/gst.h:36:31: error: gst/gstbufferlist.h: No
such file or directory
/usr/include/gstreamer-0.10/gst/gst.h:37:25: error: gst/gstcaps.h: No such
file or directory
/usr/include/gstreamer-0.10/gst/gst.h:38:31: error: gst/gstchildproxy.h: No
such file or directory
/usr/include/gstreamer-0.10/gst/gst.h:39:26: error: gst/gstclock.h: No such
file or directory
/usr/include/gstreamer-0.10/gst/gst.h:40:31: error: gst/gstdebugutils.h: No
such file or directory
/usr/include/gstreamer-0.10/gst/gst.h:41:28: error: gst/gstelement.h: No
such file or directory
/usr/include/gstreamer-0.10/gst/gst.h:42:26: error: gst/gsterror.h: No such
file or directory
/usr/include/gstreamer-0.10/gst/gst.h:43:26: error: gst/gstevent.h: No such
file or directory
/usr/include/gstreamer-0.10/gst/gst.h:44:29: error: gst/gstghostpad.h: No
such file or directory
/usr/include/gstreamer-0.10/gst/gst.h:45:26: error: gst/gstindex.h: No such
file or directory
/usr/include/gstreamer-0.10/gst/gst.h:46:33: error: gst/gstindexfactory.h:
No such file or directory
/usr/include/gstreamer-0.10/gst/gst.h:47:25: error: gst/gstinfo.h: No such
file or directory
/usr/include/gstreamer-0.10/gst/gst.h:48:30: error: gst/gstinterface.h: No
such file or directory
/usr/include/gstreamer-0.10/gst/gst.h:49:29: error: gst/gstiterator.h: No
such file or directory
/usr/include/gstreamer-0.10/gst/gst.h:50:28: error: gst/gstmarshal.h: No
such file or directory
/usr/include/gstreamer-0.10/gst/gst.h:51:28: error: gst/gstmessage.h: No
such file or directory
/usr/include/gstreamer-0.10/gst/gst.h:52:31: error: gst/gstminiobject.h: No
such file or directory
/usr/include/gstreamer-0.10/gst/gst.h:53:27: error: gst/gstobject.h: No such
file or directory
/usr/include/gstreamer-0.10/gst/gst.h:54:24: error: gst/gstpad.h: No such
file or directory
/usr/include/gstreamer-0.10/gst/gst.h:55:31: error: gst/gstparamspecs.h: No
such file or directory
/usr/include/gstreamer-0.10/gst/gst.h:56:29: error: gst/gstpipeline.h: No
such file or directory
/usr/include/gstreamer-0.10/gst/gst.h:57:27: error: gst/gstplugin.h: No such
file or directory
/usr/include/gstreamer-0.10/gst/gst.h:58:25: error: gst/gstpoll.h: No such
file or directory
/usr/include/gstreamer-0.10/gst/gst.h:59:27: error: gst/gstpreset.h: No such
file or directory
/usr/include/gstreamer-0.10/gst/gst.h:60:26: error: gst/gstquery.h: No such
file or directory
/usr/include/gstreamer-0.10/gst/gst.h:61:29: error: gst/gstregistry.h: No
such file or directory
/usr/include/gstreamer-0.10/gst/gst.h:62:28: error: gst/gstsegment.h: No
such file or directory
/usr/include/gstreamer-0.10/gst/gst.h:63:30: error: gst/gststructure.h: No
such file or directory
/usr/include/gstreamer-0.10/gst/gst.h:64:32: error: gst/gstsystemclock.h: No
such file or directory
/usr/include/gstreamer-0.10/gst/gst.h:65:28: error: gst/gsttaglist.h: No
such file or directory
/usr/include/gstreamer-0.10/gst/gst.h:66:30: error: gst/gsttagsetter.h: No
such file or directory
/usr/include/gstreamer-0.10/gst/gst.h:67:25: error: gst/gsttask.h: No such
file or directory
/usr/include/gstreamer-0.10/gst/gst.h:68:29: error: gst/gsttaskpool.h: No
such file or directory
/usr/include/gstreamer-0.10/gst/gst.h:69:26: error: gst/gsttrace.h: No such
file or directory
/usr/include/gstreamer-0.10/gst/gst.h:70:29: error: gst/gsttypefind.h: No
such file or directory
/usr/include/gstreamer-0.10/gst/gst.h:71:36: error:
gst/gsttypefindfactory.h: No such file or directory
/usr/include/gstreamer-0.10/gst/gst.h:72:24: error: gst/gsturi.h: No such
file or directory
/usr/include/gstreamer-0.10/gst/gst.h:73:26: error: gst/gstutils.h: No such
file or directory
/usr/include/gstreamer-0.10/gst/gst.h:74:26: error: gst/gstvalue.h: No such
file or directory
/usr/include/gstreamer-0.10/gst/gst.h:75:24: error: gst/gstxml.h: No such
file or directory
/usr/include/gstreamer-0.10/gst/gst.h:77:26: error: gst/gstparse.h: No such
file or directory
/usr/include/gstreamer-0.10/gst/gst.h:80:27: error: gst/gstcompat.h: No such
file or directory
In file included from gst_hw.c:1:
/usr/include/gstreamer-0.10/gst/gst.h:84: error: expected ‘=’, ‘,’, ‘;’,
‘asm’ or ‘__attribute__’ before ‘void’
/usr/include/gstreamer-0.10/gst/gst.h:85: error: expected ‘=’, ‘,’, ‘;’,
‘asm’ or ‘__attribute__’ before ‘gst_init_check’
/usr/include/gstreamer-0.10/gst/gst.h:87: error: expected ‘=’, ‘,’, ‘;’,
‘asm’ or ‘__attribute__’ before ‘*’ token
/usr/include/gstreamer-0.10/gst/gst.h:90: error: expected ‘)’ before ‘*’
token
/usr/include/gstreamer-0.10/gst/gst.h:92: error: expected ‘=’, ‘,’, ‘;’,
‘asm’ or ‘__attribute__’ before ‘*’ token
/usr/include/gstreamer-0.10/gst/gst.h:94: error: expected ‘=’, ‘,’, ‘;’,
‘asm’ or ‘__attribute__’ before ‘gst_segtrap_is_enabled’
/usr/include/gstreamer-0.10/gst/gst.h:95: error: expected ‘)’ before
‘enabled’
/usr/include/gstreamer-0.10/gst/gst.h:97: error: expected ‘=’, ‘,’, ‘;’,
‘asm’ or ‘__attribute__’ before ‘gst_registry_fork_is_enabled’
/usr/include/gstreamer-0.10/gst/gst.h:98: error: expected ‘)’ before
‘enabled’
/usr/include/gstreamer-0.10/gst/gst.h:100: error: expected ‘=’, ‘,’, ‘;’,
‘asm’ or ‘__attribute__’ before ‘gst_update_registry’
gst_hw.c:3: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before
‘int’
gmake: *** [all] Error 1




--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/Compile-errors-with-gst-gst-h-on-Fedora-tp4657111p4657135.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.


More information about the gstreamer-devel mailing list