Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 69492 - slibo fails to compile with gcc-3.4
Summary: slibo fails to compile with gcc-3.4
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-10-30 02:40 UTC by Jens Mayer
Modified: 2004-12-29 16:42 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 Jens Mayer 2004-10-30 02:40:59 UTC
Trying to emerge 'slibo', the compiler boils out with the following messages:

i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/kde/3.3/include -I/usr/qt/3/include -I/usr/X11R6/include   -DQT_THREAD_SUPPORT  -D_REENTRANT -std=gnu99 -DUSE_ASM -DMYDEBUG -W -Wall -Wchar-subscripts -Wshadow -Wpointer-arith -Wmissing-prototypes -Wwrite-strings-D_XOPEN_SOURCE=500 -D_GNU_SOURCE -DNDEBUG -O2  -march=athlon-xp -O2 -mmmx -m3dnow -msse -pipe -Wformat-security -Wmissing-format-attribute -c `test -f 'smp.c' || echo './'`smp.c
search.c:80: error: conflicting types for 'search'
search.c:72: error: previous declaration of 'search' was here
search.c:80: error: conflicting types for 'search'
search.c:72: error: previous declaration of 'search' was here
search.c: In function `search':
search.c:285: warning: use of conditional expressions as lvalues is deprecated
search.c: At top level:
search.c:650: error: conflicting types for 'searchq'
search.c:71: error: previous declaration of 'searchq' was here
search.c:650: error: conflicting types for 'searchq'
search.c:71: error: previous declaration of 'searchq' was here
search.c:818: error: conflicting types for 'searchq1'
search.c:70: error: previous declaration of 'searchq1' was here
search.c:818: error: conflicting types for 'searchq1'
search.c:70: error: previous declaration of 'searchq1' was here
i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/kde/3.3/include -I/usr/qt/3/include -I/usr/X11R6/include   -DQT_THREAD_SUPPORT  -D_REENTRANT -std=gnu99 -DUSE_ASM -DMYDEBUG -W -Wall -Wchar-subscripts -Wshadow -Wpointer-arith -Wmissing-prototypes -Wwrite-strings-D_XOPEN_SOURCE=500 -D_GNU_SOURCE -DNDEBUG -O2  -march=athlon-xp -O2 -mmmx -m3dnow -msse -pipe -Wformat-security -Wmissing-format-attribute -c `test -f 'util.c' || echo './'`util.c
search.c:70: warning: 'searchq1' declared `static' but never defined
search.c:71: warning: 'searchq' declared `static' but never defined
make[3]: *** [search.o] Error 1
make[3]: *** Waiting for unfinished jobs....

[...]

make: *** [all] Error 2

!!! ERROR: games-board/slibo-0.4.4 failed.
!!! Function kde_src_compile, Line 142, Exitcode 2

Reproducible: Always
Steps to Reproduce:
1. 'emerge -v slibo'
Actual Results:  
Compilations boils out as stated above.

Expected Results:  
Beeing able to play chess using 'slibo'. ;-)

> emerge info
Portage 2.0.51-r2 (default-x86-1.4, gcc-3.4.2, glibc-2.3.4.20041021-r0,
2.6.9-bas1 i686)
=================================================================
System uname: 2.6.9-bas1 i686 AMD Athlon(tm) XP 2600+
Gentoo Base System version 1.6.4
distcc 2.18 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.59-r5
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.15.92.0.2-r1
Headers:  sys-kernel/linux26-headers-2.6.8.1-r1
Libtools: sys-devel/libtool-1.5.2-r5
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-xp -O2 -mmmx -m3dnow -msse -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown
/usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /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/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon-xp -O2 -mmmx -m3dnow -msse -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache distlocks sandbox"
GENTOO_MIRRORS="http://gentoo.osuosl.org
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow X aalib acl alsa apm arts avi berkdb bitmap-fonts bonobo cdr
composite crypt cups dga directfb dvd dvdr encode esd f77 fam fbcon foomaticdb
gd gdbm ggi gif gimpprint gnome gnomedb gnutls gphoto2 gpm gstreamer gtk gtk2
gtkhtml guile imap imlib imlib2 jabber jack java jpeg kde ladcca lcms libg++
libwww mad maildir mbox mikmod mmx motif mozilla moznocompose moznoirc moznomail
mpeg mysql ncurses nls oggvorbis opengl oss pam pdflib perl pic png ppds python
qt quicktime readline samba scanner sdl slang spell sse ssl svga tcltk tcpd
tetex tiff truetype usb videos x86 xine xml2 xmms xv zlib"
Comment 1 Mr. Bones. (RETIRED) gentoo-dev 2004-11-05 23:08:16 UTC
builds fine with gcc-3.3
Comment 2 Mr. Bones. (RETIRED) gentoo-dev 2004-12-29 16:42:08 UTC
added a patch to fix compilation with gcc-34 provided by upstream author.  Resync/remerge to get the patch if using gcc-3.4.