[..] i686-pc-linux-gnu-gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"SDL\" -DVERSION=\"1.2.8\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DHAVE_ALLOCA_H=1 -DHAVE_ALLOCA=1 -DHAVE_LIBASOUND=1 -I. -I. -D_REENTRANT -D_GNU_SOURCE -I/usr/include/directfb -march=athlon-xp -pipe -O2 -Wall -DENABLE_DUMMYVIDEO -DDISKAUD_SUPPORT -DUSE_DLOPEN -DUSE_ASMBLIT -I./hermes -I../../../src/hermes -DALSA_SUPPORT -DALSA_DYNAMIC=libasound.so.2 -DUSE_DLVSYM -DARTSC_SUPPORT -DARTSC_DYNAMIC=libartsc.so.0 -I/usr/kde/3.4/include/artsc -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DENABLE_X11 -DXTHREADS -I./include -I./src/video -DXFREE86_VM -DXFREE86_VMGAMMA -DXFREE86_XV -DENABLE_DIRECTFB -DENABLE_SVGALIB -DENABLE_AALIB -DENABLE_CACA -I/usr/include/ -DHAVE_OPENGL -DUSE_INPUT_EVENTS -D_REENTRANT -DSDL_USE_PTHREADS -DHAVE_SIGACTION -I../../../include -I../../../include/SDL -I../../../src -I../../../src/main/linux -I../../../src/audio -I../../../src/video -I../../../src/video/XFree86/extensions -I../../../src/events -I../../../src/joystick -I../../../src/cdrom -I../../../src/thread -I../../../src/timer -I../../../src/endian -I../../../src/file -I../../../src/thread -c SDL_DirectFB_video.c -fPIC -DPIC -o .libs/SDL_DirectFB_video.o [..] SDL_DirectFB_video.c: In function `DirectFB_VideoInit': SDL_DirectFB_video.c:382: error: `DFBGraphicsDeviceDescription' undeclared (first use in this function) SDL_DirectFB_video.c:382: error: (Each undeclared identifier is reported only once SDL_DirectFB_video.c:382: error: for each function it appears in.) SDL_DirectFB_video.c:382: error: syntax error before "caps" SDL_DirectFB_video.c:458: error: structure has no member named `GetDeviceDescription' SDL_DirectFB_video.c:458: error: `caps' undeclared (first use in this function) make[3]: *** [SDL_DirectFB_video.lo] Error 1 [..] In SDL_DirectFB_video.c, at line 382, the following condition appears to not work properly because gcc tries to compile `DFBGraphicsDeviceDescription` instead of `DFBCardCapabilities`: #if (DIRECTFB_MAJOR_VERSION == 0) && (DIRECTFB_MINOR_VERSION == 9) && (DIRECTFB_MICRO_VERSION < 23) DFBCardCapabilities caps; #else DFBGraphicsDeviceDescription caps; #endif I've also tried reemerging dev-libs/DirectFB (ver. 0.9.22) with no success. Reproducible: Always Steps to Reproduce: 1. emerge media-libs/libsdl 2. 3. marlene ~ # emerge info Portage 2.0.51.22-r3 (default-linux/x86/2005.1, gcc-3.3.6, glibc-2.3.5-r1, 2.6.13-gentoo-r5 i686) ================================================================= System uname: 2.6.13-gentoo-r5 i686 AMD Athlon(TM) XP1600+ Gentoo Base System version 1.6.13 distcc 2.11.1 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] dev-lang/python: 2.3.5, 2.4.2 sys-apps/sandbox: 1.2.10 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.15.92.0.2-r10 sys-devel/libtool: 1.5.20 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer -funroll-loops" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer -funroll-loops" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig candy distlocks moo sandbox sfperms strict" GENTOO_MIRRORS="http://trumpetti.atm.tut.fi/gentoo/ http://gentoo.math.bme.hu http://ftp.rhnet.is/pub/gentoo/ http://www.die.unipd.it/pub/Linux/distributions/gentoo-sources/ http://ftp.easynet.nl/mirror/gentoo/ http://src.gentoo.pl http://gentoo.ynet.sk/pub http://ftp.caliu.info/pub/gentoo/ ftp://ftp.du.se/pub/os/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.de.gentoo.org/gentoo-portage" USE="x86 16bit 3dnow 3dnowext X a52 aac aalib acpi alsa apache2 arts artswrappersuid avi bash-completion berkdb bitmap-fonts caps cddb cdparanoia crypt cups dio directfb divx4linux dvd dvdr dvdread encode fam fastcgi fbcon fbsplash ffmpeg flac ftp gd gif gimpprint gpm gtk gtk2 imap innodb java javascript jpeg kde kdeenablefinal kdepim kdexdeltas libcaca libclamav libedit libg++ mad mime mmx mmxext mono mozdevelop mozilla mp3 mpeg msn mysql ncurses nls nodroproot nptl nptlonly nvidia ogg oggvorbis opengl pda pdflib perl png postgres python qt quicktime readline real ruby samba scanner sdl slang sockets spell sse ssl svg svga tcltk threads tidy tiff truetype truetype-fonts type1-fonts unicode usb userlocales v4l v4l2 vhosts vidix vorbis win32codecs wxwindows xine xml2 xmlrpc xmms xv xvid zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
*** This bug has been marked as a duplicate of 110745 ***
yeah, i didnt include the 'directfb_version.h' header file it's fixed in cvs now