GNOME Bugzilla – Bug 131452
Compile error: conflicting YYSTYPE - Solaris-8 and gcc-3.3.1
Last modified: 2005-08-15 01:55:06 UTC
I am compiling gstreamer-0.7.3 on Solaris-8 with gcc-3.3.1 and get this error: gcc -DHAVE_CONFIG_H -I. -I. -I../.. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/home/jjones1/usr/include/libxml2 -threads -I/home/jjones1/usr/gnome-2.4/include/glib-2.0 -I/home/jjones1/usr/gnome-2.4/lib/glib-2.0/include -I../.. -Wall -DGST_DISABLE_DEPRECATED -g -I../../libs -I../../include -O3 -pipe -mcpu=v9 -mtune=ultrasparc -I/home/jjones1/usr/gnome-2.4/include -I/home/jjones1/usr/include -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 -fPIC -DPIC -o .libs/libgstparse_la-lex._gst_parse_yy.o parse.l:143: error: conflicting types for `YYSTYPE' grammar.tab.h:8: error: previous declaration of `YYSTYPE' gmake[3]: *** [libgstparse_la-lex._gst_parse_yy.lo] Error 1 gmake[3]: Leaving directory `/home/jjones1/usr/src/gnome-misc/gstreamer-0.7.3/gst/parse' gmake[2]: *** [install-recursive] Error 1 gmake[2]: Leaving directory `/home/jjones1/usr/src/gnome-misc/gstreamer-0.7.3/gst' gmake[1]: *** [install] Error 2 gmake[1]: Leaving directory `/home/jjones1/usr/src/gnome-misc/gstreamer-0.7.3/gst' gmake: *** [install-recursive] Error 1
This looks like a portability issue. Adding the portability keyword.
Which bison and flex versions did you use?
GNU Bison version 1.28 flex version 2.5.2
127838 *** This bug has been marked as a duplicate of 127838 ***