GNOME Bugzilla – Bug 127982
Compilation error in gst/parse.parse.l
Last modified: 2004-12-22 21:47:04 UTC
Working with 0.7.2.1 from CVS HEAD. Compiles okay on SuSE but gets 'identifer redeclared: YYSTYPE' in gst/parse/parse.l on Solaris. It surprised me that #line does not appear in parse.l and that it only have 134 lines (but two warning messages mention lines beyond this). Makefile and compiler output: cc -DHAVE_CONFIG_H -I. -I. -I../.. -I/opt/gnome-2.4/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/opt/gnome-2.4/include/libxml2 -mt -I/opt/gnome-2.4/include/glib-2.0 -I/opt/gnome-2.4/lib/glib-2.0/include -I../.. -DGST_DISABLE_DEPRECATED -g -I../../libs -I../../include -g -I/opt/gnome-2.4/include -c lex._gst_parse_yy.c -KPIC -DPIC -o .libs/libgstparse_la-lex._gst_parse_yy.o "../../gst/gstindex.h", line 192: warning: syntax error: empty member declaration "parse.l", line 28: warning: 84160 is invalid in #line directive "parse.l", line 56: warning: 84314 is invalid in #line directive "parse.l", line 136: warning: 84511 is invalid in #line directive "parse.l", line 142: identifier redeclared: YYSTYPE current : union {pointer to char s, pointer to struct {..} c, pointer to struct {..} l, pointer to struct _GstElement {..} e, pointer to struct _GSList {..} p, pointer to struct _graph_t {..} g} previous: union {pointer to char s, pointer to struct {..} c, pointer to struct {..} l, pointer to struct _GstElement {..} e, pointer to struct _GSList {..} p, pointer to struct _graph_t {..} g} : "grammar.tab.h", line 8 cc: acomp failed for lex._gst_parse_yy.c make[4]: *** [libgstparse_la-lex._gst_parse_yy.lo] Error 1 make[4]: Leaving directory `/export/home/gnome/2.4/nightly/src-2.4-20031126/gstreamer/gst/parse'
*** This bug has been marked as a duplicate of 127838 ***