Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 147060

Summary: Problem with Framebuffer support with libsdl-1.2.11
Product: Gentoo Linux Reporter: Geaaru <geaaru>
Component: Current packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: 2006.1   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Geaaru 2006-09-10 06:00:20 UTC
emerge --info:
Portage 2.1-r2 (default-linux/amd64/2006.1, gcc-4.1.1, glibc-2.4-r3, 2.6.17.1 x86_64)
=================================================================
System uname: 2.6.17.1 x86_64 AMD Turion(tm) 64 Mobile Technology ML-30
Gentoo Base System version 1.12.4
ccache version 2.3 [enabled]
app-admin/eselect-compiler: [Not Present]
dev-lang/python:     2.3.5-r2, 2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.3
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-r2
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-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -O2 -pipe -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /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/lib64/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/ /var/bind"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-march=k8 -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks metadata-transfer sandbox sfperms strict userpriv usersandbox"
GENTOO_MIRRORS="http://ftp.ntua.gr/pub/linux/gentoo/ http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/"
LINGUAS="en it en_GB"
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"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://phoenix.fangorn/gentoo-portage"
USE="amd64 X acl acpi alsa apache2 asf async authdaemond authfile authfilei automount avi beagle berkdb bitmap-fonts bluetooth bzip2 cairo cdparanoia chroot clamavi cli cluster crypt cscope cups curl dba dbus dga directfb dlloader dmx doc dri dts dv dvb dvd dvdr dvdread dynamic editor encode esd evo evolution examples extensions fame fbcon ffmpeg firefox flac fortran gdbm ggi gif gimpprint gmail gnokii gnome gphoto2 gpm gtk hal hbci httpd imagemagick imap ipv6 irda isdnlog java jpeg kde kerberos krb4 ldap libcaca libg++ lirc live lm_sensors logrotate mad maildir mbox mime mjpeg mod mono motif mp4 mpm-prefork musepack mysql nas nautilus ncurses network nfs nls nntp nptl nptlonly nsplugin oav odbc ofx ogg oggvorbis ole opengl opensslcrypt oss pam pcmcia pcre pdf perl php physfs png pop posix ppds pppd python quotas quotes readline reflection rtc samba sasl screen sdk sdl server session smartcard sms sndfile snmp speex spl sqlite ssl stream subversion svg sysfs tcltk tcpd theora threads toolbar tools truetype truetype-fonts type1-fonts udev unicode v4l v4l2 vcd vlm vorbis webdav widescreen wifi winbind wmf wxwindows x264 xine xinerama xinetd xml xml2 xorg xosd xprint xv xvid zeroconf zlib elibc_glibc input_devices_evdev input_devices_keyboard input_devices_mouse input_devices_synaptics kernel_linux linguas_en linguas_it linguas_en_GB userland_GNU video_cards_ati video_cards_radeon video_cards_fbdev video_cards_vesa video_cards_v4l video_cards_vga video_cards_dummy video_cards_glint"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS

There is a problem with framebuffer support: also with fbcon flags framebuffer support is disabled for an error with includes, on continuation a dump of config.log:
configure:27909: checking for framebuffer console support
configure:27933: x86_64-pc-linux-gnu-gcc -c -g -O2 -I./include -D_GNU_SOURCE=1  -DXTHREADS  -I./include -D_GNU_SOURCE=1 conftest.c >&5
In file included from conftest.c:110:
/usr/include/linux/keyboard.h:7:2: warning: #warning Gentoo Linux Headers Warning: GNU Libc Linux Headers Override Detected.
/usr/include/linux/keyboard.h:8:2: warning: #warning Gentoo Linux Headers Warning: This is bad. Removing override and continuing.
/usr/include/linux/keyboard.h:9:2: warning: #warning Gentoo Linux Headers Warning: If your compilation dies here, mention
this when
/usr/include/linux/keyboard.h:10:2: warning: #warning Gentoo Linux Headers Warning: filing a bug!
In file included from /usr/include/linux/keyboard.h:11,
                 from conftest.c:110:
/usr/include/linux/types.h:183: error: redefinition of 'struct ustat'
configure:27939: $? = 1
configure: failed program was:

As you can see framebuffer support (configure script) is set to no for this error whit linux headers. Maybe if it is passed a config.cache with enable_video_fbcon=yes this first error can be ignored but is not so correct. :P

I see this error on amd64 and x86 environment.

Thanks for your helps.
Comment 1 Geaaru 2006-09-10 06:13:51 UTC
Now works! 
I update linux-headers package (with x86 upgrate to 2.6.17, while with amd64 upgrate to 2.6.16).
I think that can be set a dependency between libsdl-1.2.11 and linux-header=>2.6.16 if fbcon is enabled else isn't compile framebuffer support.
Thanks. Bye.