I ran emerge -u world, and on compiling DirectFB-0.9.18, got the follwoing error emssages: matrox_maven.c:32:27: linux/i2c-dev.h: No such file or directory matrox_maven.c: In function `maven_write_byte': matrox_maven.c:62: warning: implicit declaration of function `i2c_smbus_write_byte_data' matrox_maven.c: In function `maven_write_word': matrox_maven.c:79: warning: implicit declaration of function `i2c_smbus_write_word_data' matrox_maven.c: In function `maven_open': matrox_maven.c:310: `I2C_SLAVE' undeclared (first use in this function) matrox_maven.c:310: (Each undeclared identifier is reported only once matrox_maven.c:310: for each function it appears in.) matrox_maven.c: In function `maven_init': matrox_maven.c:449: `I2C_SLAVE' undeclared (first use in this function) make[3]: *** [matrox_maven.lo] Error 1 make[3]: Leaving directory `/var/tmp/portage/DirectFB-0.9.18/work/DirectFB-0.9.18/gfxdrivers/matrox' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/DirectFB-0.9.18/work/DirectFB-0.9.18/gfxdrivers' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/DirectFB-0.9.18/work/DirectFB-0.9.18' make: *** [all-recursive-am] Error 2 !!! ERROR: dev-libs/DirectFB-0.9.18 failed. !!! Function src_compile, Line 52, Exitcode 2 !!! (no error message) Reproducible: Always Steps to Reproduce: 1.emerge dev-libs/DirectFB-0.9.18 2. 3. Actual Results: see error messages above Expected Results: should have compiled running X, with Mozilla1.3, sylpheed 0;.8.11claws, gaim 0.62, xchat 2.0.2, jedit, open office 1.0.2, gentoo (the file manager), xmlock, a couple of eterms and a couple of windows things running under WINE open. Portage 2.0.48-r1 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1) ================================================================= System uname: 2.4.20-gentoo-r3 i686 AMD Athlon(tm) XP 2100+ GENTOO_MIRRORS="http://gentoo.oregonstate.edu http://distro.ibiblio.org/pub/Linux/distributions/gentoo" CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config /usr/share/config" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" PORTDIR="/usr/portage" DISTDIR="/usr/portage/distfiles" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR_OVERLAY="" USE="x86 apm libg++ mad mikmod ncurses nls pdflib quicktime spell xml2 zlib gtkhtml gdbm berkdb slang guile tcpd pam libwww python imlib motif ldap X gtk2 gtk gnome bonobo cdr cups avi directfb dvd fbcom gpm 3dnow java qt gif jpeg mpeg mozilla maildir mmx opengl oss perl png readline ssl tcltk truetype xmms crypt esd kde apic nvidia dga sse sdl svga ggi oggvorbis aalib xv fbcon encode alsa arts" COMPILER="gcc3" CHOST="i686-pc-linux-gnu" CFLAGS="-march=athlon-xp -O3 -pipe -funroll-loops -falign-functions=4 -fprefetch-loop-arrays -fexpensive-optimizations -fPIC -fomit-frame-pointer -fforce-addr -finline-functions -foptimize-sibling-calls -fdelete-null-pointer-checks -fno-cprop-registers -frerun-loop-opt -frename-registers -fmove-all-movables -freorder-blocks" CXXFLAGS="-march=athlon-xp -O3 -pipe -funroll-loops -falign-functions=4 -fprefetch-loop-arrays -fexpensive-optimizations -fPIC -fomit-frame-pointer -fforce-addr -finline-functions -foptimize-sibling-calls -fdelete-null-pointer-checks -fno-cprop-registers -frerun-loop-opt -frename-registers -fmove-all-movables -freorder-blocks" ACCEPT_KEYWORDS="x86 ~x86" MAKEOPTS="-j2" AUTOCLEAN="yes" SYNC="rsync://rsync.us.gentoo.org/gentoo-portage/" FEATURES="sandbox ccache"
matrox_maven.c:32:27: linux/i2c-dev.h: No such file or directory see if adding i2c support to your kernel fixes it
we need more info if you want us to help you ... please re-open once you've provided it and checked out the previous solution i offered
user's kernel is not setup properly
moved to Bug 30153