Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 115087
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo Games <games@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: charly <charlyghislain@gmail.com>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 115087 depends on: Show dependency tree
Bug 115087 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2005-12-10 06:40 0000
When trying to compile openbubbles[1] (trying to make an ebuild), i get this
error:

In file included from gameloop.h:32,
                 from gameloop.cpp:28:
/usr/include/SDL/SDL_gfxPrimitives.h:190: error: extra `;'
make[2]: *** [gameloop.o] Error 1

Changing the line 190 in SDL_gfxPrimitives.h from
  #ifdef __cplusplus
  };
to
  #ifdef __cplusplus
  }

solve the problem.

I guess the problem is really in this library, and not in the openbubbles code;
so this issue may happen with every package using sdl-gfx.

Note that i just have upgraded to gcc-3.4, i dont know if this can be the
cause.

Regards

Charly


[1] http://www.freewebs.com/lasindi/openbubbles/index.html

Reproducible: Always
Steps to Reproduce:
1. Grab openbubbles
2. configure
3. make

Actual Results:  
make failed

Expected Results:  
game compiled succesfully

my emerge info:

Portage 2.0.51.22-r3 (default-linux/x86/2005.0, gcc-3.4.4, glibc-2.3.5-r2,
2.6.13-gentoo-r3 i686)
=================================================================
System uname: 2.6.13-gentoo-r3 i686 AMD Athlon(tm) XP 2500+
Gentoo Base System version 1.6.13
dev-lang/python:     2.3.5-r2, 2.4.2
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r6
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
sys-devel/libtool:   1.5.20
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O3 -mcpu=i686 -march=athlon-xp -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.5/env
/usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config
/usr/lib/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/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -mcpu=i686 -march=athlon-xp -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/"
LANG="C"
LC_ALL="en_US.UTF-8"
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="x86 3dnow X alsa apache2 apm audiofile avi berkdb bitmap-fonts bzip2 cdr
crypt cups curl directfb dvd eds emboss encode exif expat fam fbcon ffmpeg flac
foomaticdb fortran gdbm gif glut gpm gstreamer gtk gtk2 idn imagemagick imlib
ipv6 java jpeg lcms ldap libg++ libwww mad mhash mikmod mng motif mp3 mpeg
mplayer mysql ncurses nls nvidia ogg oggvorbis openal opengl pam pcre pdflib
perl pic png python qt quicktime readline samba sdl sftplogging slang spell sse
sse2 ssl svga tcltk tcpd tetex tiff truetype truetype-fonts type1-fonts udev
unicode vorbis xml2 xv xvid zlib video_cards_nvidia userland_GNU kernel_linux
elibc_glibc"
Unset:  ASFLAGS, CTARGET, LDFLAGS, LINGUAS

------- Comment #1 From Jakub Moc (RETIRED) 2005-12-10 07:28:04 0000 -------
*** Bug 115091 has been marked as a duplicate of this bug. ***

------- Comment #2 From SpanKY 2005-12-10 11:49:33 0000 -------
fixed in sdl-gfx-2.0.13-r1, thanks for the bug report

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug