After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 103582 - GStreamer fails to compile with Intel compiler for Linux
GStreamer fails to compile with Intel compiler for Linux
Status: RESOLVED NOTABUG
Product: GStreamer
Classification: Platform
Component: gstreamer (core)
git master
Other Linux
: Normal normal
: 0.4.0
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2003-01-15 16:36 UTC by Christian Fredrik Kalager Schaller
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Christian Fredrik Kalager Schaller 2003-01-15 16:36:21 UTC
To test I tried downloading and installing the Intel compiler for Linux
(icc). GStreamer did not get very far when using it:

make  all-am
make[5]: Entering directory
`/home/cschalle/rpms/BUILD/gstreamer-0.5.1.1/gst/parse'
source='lex._gst_parse_yy.c' object='libgstparse_la-lex._gst_parse_yy.lo'
libtool=yes \
depfile='.deps/libgstparse_la-lex._gst_parse_yy.Plo'
tmpdepfile='.deps/libgstparse_la-lex._gst_parse_yy.TPlo' \
depmode=gcc3 /bin/sh ../../depcomp \
/bin/sh ../../libtool --mode=compile /opt/intel/compiler70/ia32/bin/icc
-DHAVE_CONFIG_H -I. -I. -I../..    -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64   -I/usr/include/libxml2   -pthread
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
-I../.. -Wall -Werror -O2 -g -march=i386 -mcpu=i686 -c -o
libgstparse_la-lex._gst_parse_yy.lo `test -f 'lex._gst_parse_yy.c' || echo
'./'`lex._gst_parse_yy.c
/opt/intel/compiler70/ia32/bin/icc -DHAVE_CONFIG_H -I. -I. -I../..
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/libxml2 -pthread
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I../.. -Wall -Werror
-O2 -g -march=i386 -mcpu=i686 -c lex._gst_parse_yy.c -MT
libgstparse_la-lex._gst_parse_yy.lo -MD -MP -MF
.deps/libgstparse_la-lex._gst_parse_yy.TPlo -o
libgstparse_la-lex._gst_parse_yy.o
icc: Command line warning: ignoring option '-M'; no argument required
icc: Command line warning: ignoring option '-M'; no argument required
lex._gst_parse_yy.c(118): error #1419: external declaration in primary
source file
  extern int yyleng;
             ^
 
lex._gst_parse_yy.c(119): error #1419: external declaration in primary
source file
  extern FILE *yyin, *yyout;
               ^
 
lex._gst_parse_yy.c(119): error #1419: external declaration in primary
source file
  extern FILE *yyin, *yyout;
                      ^
 
lex._gst_parse_yy.c(245): error #1419: external declaration in primary
source file
  void yyrestart YY_PROTO(( FILE *input_file ));
Comment 1 David Schleef 2003-01-16 02:30:04 UTC
Turn off -Werror.

This is, imo, a bug in the compiler, since external definitions are
completely legal.  At least, the warning should only be enabled with a
-Warn-me-harder flag.
Comment 2 Christian Fredrik Kalager Schaller 2003-01-16 10:05:36 UTC

*** This bug has been marked as a duplicate of 89622 ***
Comment 3 Christian Fredrik Kalager Schaller 2003-01-16 11:59:01 UTC
Sorry, misread ds statement. This is not dup.
Comment 4 Christian Fredrik Kalager Schaller 2003-01-16 14:15:32 UTC
Closing this here and instead trying to pursue with Intel support. Do
not want to leave this open while waiting due to uncertain response
times from Intel.