I can't emerge DirectFB Reproducible: Always Steps to Reproduce: 1.emerge DirectFB 2. 3. Actual Results: tail of emerge logs: gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../include -I../../src -I/usr/include/libmpeg3 -D_REENTRANT -Wall -O3 -ffast-math -pipe -march=athlon-tbird -O3 -ffast-math -funroll-loops -pipe -fomit-frame-pointer -m3dnow -DFUSION_FAKE -Werror-implicit-function-declaration -c matrox_maven.c -fPIC -DPIC -o .libs/matrox_maven.o matrox_maven.c: In function `maven_write_byte': matrox_maven.c:68: error: implicit declaration of function `i2c_smbus_write_byte_data' matrox_maven.c: In function `maven_write_word': matrox_maven.c:85: error: implicit declaration of function `i2c_smbus_write_word_data' make[3]: *** [matrox_maven.lo] Error 1 make[3]: Leaving directory `/var/tmp/portage/DirectFB-0.9.20-r1/work/DirectFB-0.9.20/gfxdrivers/matrox' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/DirectFB-0.9.20-r1/work/DirectFB-0.9.20/gfxdrivers' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/DirectFB-0.9.20-r1/work/DirectFB-0.9.20' make: *** [all-recursive-am] Error 2 !!! ERROR: dev-libs/DirectFB-0.9.20-r1 failed. !!! Function src_compile, Line 91, Exitcode 2 !!! (no error message) emerge info Portage 2.0.50-r9 (default-x86-1.4, gcc-3.3.4, glibc-2.3.4.20040808-r0, 2.6.7-gentoo-r12) ================================================================= System uname: 2.6.7-gentoo-r12 i686 AMD Athlon(tm) processor Gentoo Base System version 1.5.2 Autoconf: sys-devel/autoconf-2.59-r4 Automake: sys-devel/automake-1.8.5-r1 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-march=athlon-tbird -O3 -ffast-math -funroll-loops -pipe -fomit-frame-pointer -m3dnow" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/:/usr/share/config /var/bind:/usr/lib/mozilla/defaults/pref:/usr/X11R6/lib/X11/xkb:/usr/kde/3.3/share/config:/usr/kde/3.2/share/config:/usr/share/texmf/tex/generic/config/ /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/gconf:/etc/terminfo /etc/env.d" CXXFLAGS="-march=athlon-tbird -O3 -ffast-math -funroll-loops -pipe -fomit-frame-pointer -m3dnow" DISTDIR="/mnt/1st/distfiles" FEATURES="autoaddcvs ccache sandbox" GENTOO_MIRRORS="http://ftp.snt.utwente.nl/pub/os/linux/gentoo ftp://ftp.tu-clausthal.de/pub/linux/gentoo/ ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo http://www.mirror.ac.uk/sites/www.ibiblio.org/gentoo/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.gentoo.pl/gentoo-portage" USE="3dnow X Xaw3d acl acpi alsa apache2 apm arts avi berkdb crypt cups dga directfb encode evo flash foomaticdb gd gdbm gif gnome gpm gtk gtk2 gtkhtml imlib jack java jikes jpeg kde libg++ libwww linguas_pl lirc mad mikmod mmx motif mozilla mpeg mule ncurses nls nptl oggvorbis opengl pam pdflib perl png postgres python qt quicktime readline samba sdl slang spell ssl svga tcltk tcpd tiff truetype usb wxwindows x86 xface xinerama xml xml2 xmms xosd xv zlib" ========================================= linux headers (linux26-headers) have been reemerged.
BTW... I haven't matrox graphics card...
what version of linux headers
I have noticed that linux26-headers-2.6.7-r4 breaks compilation. I have no idea when linux26-headers have been emerged. Unmerging linux26-headers and reemerging linux-headers-2.4.22 RESOLVE the problem.
linux26-headers-2.6.7-r4 work just fine with DirectFB-0.9.20-r1, but if you dont really care to persue it, works for me
hmm... on my computer linux26-headers-2.6.7-r4 breaks compilation of DirectFB-0.9.20-r1. I can provide you any additional information.