View previous topic :: View next topic |
Author |
Message |
Lupin_the_3rd Apprentice
Joined: 03 Apr 2005 Posts: 168
|
Posted: Wed Jun 14, 2006 10:12 pm Post subject: libSDL broken on Alpha? |
|
|
Here's the topmost build error I get when I emerge libsdl on my alpha EV56 machine. Also, I don't even need libSDL on my system, and an "equery depends libsdl" returns nothing, but an "emerge -uDp world" tries to install it anyways. I don't know why. Here's the output:
kramer ~ # equery depends libsdl
[ Searching for packages depending on libsdl... ]
kramer ~ #
kramer ~ # emerge -uDp world
These are the packages that I would merge, in order:
Calculating world dependencies ...done!
[ebuild U ] dev-lang/perl-5.8.8-r2 [5.8.7-r3]
[ebuild N ] media-libs/libsdl-1.2.10
kramer ~ #
alphaev56-unknown-linux-gnu-gcc -mieee -mcpu=ev56 -pipe -O2 -I./include -D_GNU_SOURCE=1 -I/usr/kde/3.5/include/artsc -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/X11R6/include/ -DXTHREADS -D_REENTRANT -DHAVE_LINUX_VERSION_H -c ./src/video/fbcon/SDL_fbevents.c -fPIC -DPIC -o build/.libs/SDL_fbevents.o
In file included from ./src/video/fbcon/SDL_fbevents.c:45:
./src/video/fbcon/../SDL_sysvideo.h:74: error: syntax error before '->' token
./src/video/fbcon/../SDL_sysvideo.h:75: warning: no semicolon at end of struct or union
./src/video/fbcon/../SDL_sysvideo.h:153: warning: built-in function 'gamma' declared as non-function
In file included from ./src/video/fbcon/../SDL_sysvideo.h:191,
from ./src/video/fbcon/SDL_fbevents.c:45:
./src/video/fbcon/../SDL_glfuncs.h:10: error: 'glBegin' redeclared as different kind of symbol
/usr/include/GL/gl.h:945: error: previous declaration of 'glBegin' was here
./src/video/fbcon/../SDL_glfuncs.h:10: error: 'glBegin' redeclared as different kind of symbol
/usr/include/GL/gl.h:945: error: previous declaration of 'glBegin' was here
./src/video/fbcon/../SDL_glfuncs.h:11: error: 'glBindTexture' redeclared as different kind of symbol
/usr/include/GL/gl.h:1327: error: previous declaration of 'glBindTexture' was here
... and this part continues on with many many more errors and then dies ...
Any thoughts one how to get libsdl to build? Or why my system is requiring it?? I've tried libsdl-1.2.8 and also libsdl-1.2.10 (using ~alpha keyword) but the results are the same.
TIA!!! _________________ Compaq XP1000 Alpha EV67 667Mhz w/ 2GB ECC
32bit PCI: ATI Radeon 9100 (DRI works!)
32bit PCI: Generic Firewire 400 card
64bit PCI: BCM5703 Gig-E (Compaq NC7771)
64bit PCI: Sil3124 SATA w/ mdadm RAID1 (pair of WD VelociRaptors) |
|
Back to top |
|
|
Lupin_the_3rd Apprentice
Joined: 03 Apr 2005 Posts: 168
|
Posted: Fri Jun 23, 2006 2:29 pm Post subject: |
|
|
Just noticed that I even have "-SDL" in my USE flags, so it's even more confusing why emerge wants to install it. No one else has this problem?? _________________ Compaq XP1000 Alpha EV67 667Mhz w/ 2GB ECC
32bit PCI: ATI Radeon 9100 (DRI works!)
32bit PCI: Generic Firewire 400 card
64bit PCI: BCM5703 Gig-E (Compaq NC7771)
64bit PCI: Sil3124 SATA w/ mdadm RAID1 (pair of WD VelociRaptors) |
|
Back to top |
|
|
griffypoo n00b
Joined: 28 Jan 2005 Posts: 16
|
Posted: Fri Jun 30, 2006 4:13 am Post subject: |
|
|
Check to make sure you have USE="-sdl" and not "-SDL".
Could you paste your emerge --info ? |
|
Back to top |
|
|
Lupin_the_3rd Apprentice
Joined: 03 Apr 2005 Posts: 168
|
Posted: Sat Jul 08, 2006 8:16 pm Post subject: |
|
|
kramer / # emerge --info
Portage 2.1-r1 (default-linux/alpha/2005.0, gcc-3.4.6, glibc-2.3.5-r3, 2.6.11.8-kramer alpha)
=================================================================
System uname: 2.6.11.8-kramer alpha EV56
Gentoo Base System version 1.6.15
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-r3
sys-devel/gcc-config: 1.3.13-r3
sys-devel/libtool: 1.5.22
virtual/os-headers: 2.6.11-r4
ACCEPT_KEYWORDS="alpha"
AUTOCLEAN="yes"
CBUILD="alphaev56-unknown-linux-gnu"
CFLAGS="-mieee -O3 -mcpu=ev56 -pipe -fomit-frame-pointer"
CHOST="alphaev56-unknown-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-mieee -O3 -mcpu=ev56 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="ftp://mirror.iawnet.sandia.gov/pub/gentoo/"
MAKEOPTS="-j1"
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.us.gentoo.org/gentoo-portage"
USE="alpha X a52 aalib alsa alsalib arts berkdb bitmap-fonts bzip2 cdr cli crypt crypto cups dga dlloader dri dvd dvdread eds encode esd faad2 fbcon font-server foomaticdb fortran freetype gdbm glut gpm gstreamer gtk gtk2 ieee1394 imlib isdnlog jpeg libg++ libwww mad matrox mga mikmod motif mp3 mpeg nas ncurses nls offensive ogg oggvorbis opengl oss pam pcre pdflib perl png posix pppd python qt qt3 quicktime readline reflection scanner session sox spell spl ssh ssl tcpd theora tiff truetype truetype-fonts type1-fonts ungif vorbis x x11 xml2 xorg xv zlib elibc_glibc input_devices_keyboard input_devices_mouse input_devices_evdev kernel_linux userland_GNU video_cards_matrox"
Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY _________________ Compaq XP1000 Alpha EV67 667Mhz w/ 2GB ECC
32bit PCI: ATI Radeon 9100 (DRI works!)
32bit PCI: Generic Firewire 400 card
64bit PCI: BCM5703 Gig-E (Compaq NC7771)
64bit PCI: Sil3124 SATA w/ mdadm RAID1 (pair of WD VelociRaptors) |
|
Back to top |
|
|
griffypoo n00b
Joined: 28 Jan 2005 Posts: 16
|
Posted: Sun Jul 09, 2006 3:00 am Post subject: |
|
|
You might try stepping down your CXXFLAGS to only -O2 and not using -fomit-frame-pointer at least for this package.
I also noticed that libsdl-1.2.10 has been removed from the portage. You might libsdl-1.2.8-r1 (alpha) or libsdl-1.2.11 (~alpha). |
|
Back to top |
|
|
Lupin_the_3rd Apprentice
Joined: 03 Apr 2005 Posts: 168
|
Posted: Fri Jul 21, 2006 2:27 am Post subject: |
|
|
griffypoo wrote: | You might try stepping down your CXXFLAGS to only -O2 and not using -fomit-frame-pointer at least for this package.
I also noticed that libsdl-1.2.10 has been removed from the portage. You might libsdl-1.2.8-r1 (alpha) or libsdl-1.2.11 (~alpha). |
I tried this and it had no effect. I don't think -fomit-frame-pointer has any effect on whether a package compiles cleanly or not. AFAIK, it has to do with CPU register usage and doing backtracing and debugging of crashed executables. But since the Alpha (and most other RISC as well) has way more registers than x86, it probably makes little difference to use this flag anyhow.
The full error output included a lot of lines that started with "FB_" and "GL_". I just successfully compiled this package (with my original cflags, btw) using the following:
USE="-opengl -fbcon" emerge -uD libsdl
I don't need libsdl anyways, and still can't figure out why emerge wants to install it... _________________ Compaq XP1000 Alpha EV67 667Mhz w/ 2GB ECC
32bit PCI: ATI Radeon 9100 (DRI works!)
32bit PCI: Generic Firewire 400 card
64bit PCI: BCM5703 Gig-E (Compaq NC7771)
64bit PCI: Sil3124 SATA w/ mdadm RAID1 (pair of WD VelociRaptors) |
|
Back to top |
|
|
Kloeri Retired Dev
Joined: 02 Sep 2002 Posts: 144
|
Posted: Fri Aug 04, 2006 8:19 pm Post subject: |
|
|
Please report ebuild issues on https://bugs.gentoo.org. Otherwise the developers won't catch them and probably won't fix the issue. |
|
Back to top |
|
|
|