[gst-devel] Trying to build gstreamer-0.10.20 on OS X 10.5
Ed Immenschuh
edjimarin at yahoo.com
Wed Jul 2 03:18:03 CEST 2008
Hello,
I'm trying to build gstreamer-0.10.20 on OS X 10.5, and I'm getting these error messages:
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/local/include -I../../libs -I../.. -I../.. -I/sw/include/glib-2.0 -I/sw/lib/glib-2.0/include -I/sw/include/libxml2 -I/sw/include -Wall -g -g -O2 -MT libgstparse_la-lex._gst_parse_yy.lo -MD -MP -MF .deps/libgstparse_la-lex._gst_parse_yy.Tpo -c lex._gst_parse_yy.c -fno-common -DPIC -o .libs/libgstparse_la-lex._gst_parse_yy.o
In file included from ../gst_private.h:42,
from parse.l:7:
../gststructure.h:118: error: syntax error before ‘G_GNUC_NULL_TERMINATED’
../gststructure.h:118: warning: type defaults to ‘int’ in declaration of ‘G_GNUC_NULL_TERMINATED’
../gststructure.h:118: warning: data definition has no type or storage class
../gststructure.h:126: error: syntax error before ‘G_GNUC_NULL_TERMINATED’
../gststructure.h:126: warning: type defaults to ‘int’ in declaration of ‘G_GNUC_NULL_TERMINATED’
../gststructure.h:126: warning: data definition has no type or storage class
../gststructure.h:141: error: syntax error before ‘G_GNUC_NULL_TERMINATED’
../gststructure.h:141: warning: type defaults to ‘int’ in declaration of ‘G_GNUC_NULL_TERMINATED’
../gststructure.h:141: warning: data definition has no type or storage class
In file included from ../../gst/gstbuffer.h:29,
from ../../gst/gstpad.h:30,
from ../gstelement.h:53,
from types.h:5,
from parse.l:9:
../../gst/gstcaps.h:211: error: syntax error before ‘G_GNUC_NULL_TERMINATED’
../../gst/gstcaps.h:211: warning: type defaults to ‘int’ in declaration of ‘G_GNUC_NULL_TERMINATED’
../../gst/gstcaps.h:211: warning: data definition has no type or storage class
In file included from ../../gst/gstevent.h:33,
from ../../gst/gstpad.h:32,
from ../gstelement.h:53,
from types.h:5,
from parse.l:9:
../../gst/gsttaglist.h:214: error: syntax error before ‘(’ token
../../gst/gsttaglist.h:214: warning: type defaults to ‘int’ in declaration of ‘G_GNUC_NULL_TERMINATED’
../../gst/gsttaglist.h:214: warning: data definition has no type or storage class
../../gst/gsttaglist.h:218: error: syntax error before ‘(’ token
../../gst/gsttaglist.h:218: warning: type defaults to ‘int’ in declaration of ‘G_GNUC_NULL_TERMINATED’
../../gst/gsttaglist.h:218: warning: data definition has no type or storage class
make[4]: *** [libgstparse_la-lex._gst_parse_yy.lo] Error 1
make[3]: *** [all-recursive] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
denali:gstreamer-0.10.20 eji$
------------------------
The configure complained about some stuff, but when on to created the make files, correctly. But when I try and do a make, it complains about the above stuff.... Any ideas why? Also, what are actually trying to do here:
void gst_tag_list_add (GstTagList * list,
GstTagMergeMode mode,
const gchar * tag,
...) G_GNUC_NULL_TERMINATED;
void gst_tag_list_add_values (GstTagList * list,
GstTagMergeMode mode,
const gchar * tag,
...) G_GNUC_NULL_TERMINATED;
Is this a cast or something with the ...) ? I've never seen something like this before....
Thanks for your help....
Ed
More information about the gstreamer-devel
mailing list