Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 136121 - compile of xine-lib fails, syntax error before "EXPORTED"
Summary: compile of xine-lib fails, syntax error before "EXPORTED"
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
: 139637 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-06-08 15:22 UTC by Onkobu
Modified: 2006-07-08 11:12 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Onkobu 2006-06-08 15:22:54 UTC
emerge --info:

Portage 2.1_rc4-r4 (default-linux/x86/2005.1, gcc-3.3.6, glibc-2.3.6-r3, 2.6.16-gentoo-r3 i686)
=================================================================
System uname: 2.6.16-gentoo-r3 i686 AMD Athlon(tm) XP 2400+
Gentoo Base System version 1.6.14
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
dev-lang/python:     2.3.5-r2, 2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1-r2
sys-devel/gcc-config: 1.3.13-r2
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O3 -pipe -march=athlon-xp"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/lib/mozilla/defaults/pref /usr/share/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -pipe -march=athlon-xp"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="de_DE.utf8"
LC_ALL="de_DE.utf8"
LINGUAS="en de"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 3dnow X aac aalib accessibility acpi alsa apache2 apm asf audiofile authdaemond avi bash-completion berkdb bitmap-fonts bzip2 calendar cdb cdparanoia cdr cli crypt cups curl curlwrappers dba directfb divx4linux dri dv dvd dvdread eds emboss encode exif fam fbcon ffmpeg fftw flac foomaticdb fortran ftp gcj gdbm gif glut gphoto2 gpm gstreamer gtk gtk2 icq imagemagick imap imlib ipv6 isdnlog jack java javascript jikes jpeg kde kdeenablefinal kdexdeltas ladcca ldap libg++ libwww lm_sensors mad mikmod mime mmx motif mozilla mp3 mpeg mysql mysqli ncurses nls odbc ogg oggvorbis opengl oss pam pcre pdflib perl php png postgres pppd python qt quicktime readline reflection samba sasl sdl session sndfile spell spl sse ssl svg svga tcpd threads tiff truetype truetype-fonts type1-fonts unicode usb userlocales utf8 vcd vorbis win32codecs wmf xine xml2 xmms xorg xpm xsl xv xvid zlib elibc_glibc kernel_linux linguas_en linguas_de userland_GNU"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY

compiler messages:

 i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../../include -I../../include -I../../src -I../../src/xine-engine -I../../src/xine-engine -I../../src/xine-utils -I../../src/input -I../../src/input -I../../lib -DXINE_COMPILE -DNDEBUG -D_REENTRANT -D_FILE_OFFSET_BITS=64 -DXINE_COMPILE -DENABLE_IPV6 -O3 -pipe -march=athlon-xp -frename-registers -ffunction-sections -c audio_oss_out.c  -fPIC -DPIC -o .libs/xineplug_ao_out_oss_la-audio_oss_out.o
 i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../../include -I../../include -I../../src -I../../src/xine-engine -I../../src/xine-engine -I../../src/xine-utils -I../../src/input -I../../src/input -I../../lib -DXINE_COMPILE -DNDEBUG -D_REENTRANT -D_FILE_OFFSET_BITS=64 -DXINE_COMPILE -DENABLE_IPV6 -O3 -pipe -march=athlon-xp -frename-registers -ffunction-sections -c audio_file_out.c  -fPIC -DPIC -o .libs/xineplug_ao_out_file_la-audio_file_out.o
audio_file_out.c:399: error: syntax error before "EXPORTED"
audio_file_out.c:401: warning: braces around scalar initializer
audio_file_out.c:401: warning: (near initialization for `EXPORTED')
audio_file_out.c:401: warning: excess elements in scalar initializer
audio_file_out.c:401: warning: (near initialization for `EXPORTED')
audio_file_out.c:401: warning: excess elements in scalar initializer
audio_file_out.c:401: warning: (near initialization for `EXPORTED')
audio_file_out.c:401: warning: excess elements in scalar initializer
audio_file_out.c:401: warning: (near initialization for `EXPORTED')
audio_file_out.c:401: warning: excess elements in scalar initializer
audio_file_out.c:401: warning: (near initialization for `EXPORTED')
audio_file_out.c:401: warning: excess elements in scalar initializer
audio_file_out.c:401: warning: (near initialization for `EXPORTED')
audio_file_out.c:402: warning: braces around scalar initializer
audio_file_out.c:402: warning: (near initialization for `EXPORTED')
audio_file_out.c:402: warning: excess elements in scalar initializer
audio_file_out.c:402: warning: (near initialization for `EXPORTED')
audio_file_out.c:402: warning: excess elements in scalar initializer
audio_file_out.c:402: warning: (near initialization for `EXPORTED')
audio_file_out.c:402: warning: excess elements in scalar initializer
audio_file_out.c:402: warning: (near initialization for `EXPORTED')
audio_file_out.c:402: warning: excess elements in scalar initializer
audio_file_out.c:402: warning: (near initialization for `EXPORTED')
audio_file_out.c:402: warning: excess elements in scalar initializer
audio_file_out.c:402: warning: (near initialization for `EXPORTED')
audio_file_out.c:402: warning: excess elements in scalar initializer
audio_file_out.c:402: warning: (near initialization for `EXPORTED')
audio_file_out.c:403: warning: data definition has no type or storage class
make[3]: *** [xineplug_ao_out_file_la-audio_file_out.lo] Fehler 1
make[3]: *** Warte auf noch nicht beendete Prozesse...
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-06-08 16:05:54 UTC
xine-lib version missing. Also, upgrade your gcc to latest stable version before reporting compilation bugs.
Comment 2 Onkobu 2006-06-08 23:21:28 UTC
Happens with both cvs-builds (marked ~x86)

gcc -v
Lese Spezifikationen von /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/specs
Konfiguriert mit: /var/tmp/portage/gcc-3.3.6/work/gcc-3.3.6/configure --prefix=/usr --bindir=/usr/i686-pc-linux-gnu/gcc-bin/3.3.6 --includedir=/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/include --datadir=/usr/share/gcc-data/i686-pc-linux-gnu/3.3.6 --mandir=/usr/share/gcc-data/i686-pc-linux-gnu/3.3.6/man --infodir=/usr/share/gcc-data/i686-pc-linux-gnu/3.3.6/info --with-gxx-include-dir=/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/include/g++-v3 --host=i686-pc-linux-gnu --build=i686-pc-linux-gnu --disable-altivec --enable-nls --without-included-gettext --with-system-zlib --disable-checking --disable-werror --disable-libunwind-exceptions --disable-multilib --enable-java-awt=gtk --enable-languages=c,c++,java,f77 --enable-shared --enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu
Thread-Modell: posix
gcc-Version 3.3.6 (Gentoo 3.3.6, ssp-3.3.6-1.0, pie-8.7.8)

Think 3.3.6 and '+' mean "stable" and if I use an older version, the configure/make toolchain should recognize this or complain 'bout me ol' compila. 1.1.1-r3 works without problems.
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2006-07-08 00:38:46 UTC
*** Bug 139637 has been marked as a duplicate of this bug. ***
Comment 4 Onkobu 2006-07-08 11:12:59 UTC
(In reply to comment #3)
> *** Bug 139637 has been marked as a duplicate of this bug. ***
> 

Rebuild entire toolchain (gcc 3.4.6) and could compile without errors, dunno what the error caused. (Did emerge -e system and emerge -e world, needed some time but solved it.)