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 ------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
Hi,
Seems like a generic issue with your environment since it fails on the first file to be compiled. The answer to your problem might be in the output of configure. The compiler shipped with macosx is a (slightly-modified) gcc and shouldn't have any problems dealing with this. Have you installed all the dependencies for building GStreamer ? G_GNUC_NULL_TERMINATED is declared in glib for example. On Tue, 2008-07-01 at 18:18 -0700, Ed Immenschuh wrote: > Hello, > > I'm trying to build gstreamer-0.10.20 on OS X 10.5, and I'm getting these error messages: > ../../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 > > > > > ------------------------------------------------------------------------- > Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! > Studies have shown that voting for your favorite open source project, > along with a healthy diet, reduces your potential for chronic lameness > and boredom. Vote Now at http://www.sourceforge.net/community/cca08 > _______________________________________________ > gstreamer-devel mailing list > [hidden email] > https://lists.sourceforge.net/lists/listinfo/gstreamer-devel ------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
Free forum by Nabble | Edit this page |