Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 41148 - DirectFB 0.9.20 fails to compile
Summary: DirectFB 0.9.20 fails to compile
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-02-10 12:48 UTC by Markus Rothe (RETIRED)
Modified: 2011-09-14 20:38 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Markus Rothe (RETIRED) gentoo-dev 2004-02-10 12:48:02 UTC
When I try to emerge "links" the dependend package DirectFB in version 0.9.20 fails to compile.

[errormessage]
 gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../include -I../../src -I/usr/include/libmpeg3 -D_REENTRANT -Wall -O3 -ffast-math -pipe -march=athlon-xp -O3 -pipe -fomit-frame-pointer -DFUSION_FAKE -Werror-implicit-function-declaration -c matrox_crtc2.c  -fPIC -DPIC -o .libs/matrox_crtc2.o
/bin/sh ../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../include                -I../../src  -I/usr/include/libmpeg3  -D_REENTRANT -Wall -O3 -ffast-math -pipe -march=athlon-xp -O3 -pipe -fomit-frame-pointer  -DFUSION_FAKE -Werror-implicit-function-declaration -c matrox_maven.c
 gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../include -I../../src -I/usr/include/libmpeg3 -D_REENTRANT -Wall -O3 -ffast-math -pipe -march=athlon-xp -O3 -pipe -fomit-frame-pointer -DFUSION_FAKE -Werror-implicit-function-declaration -c matrox_maven.c  -fPIC -DPIC -o .libs/matrox_maven.o
In file included from matrox_maven.c:32:
/usr/include/linux/i2c-dev.h:37: error: field `__user' has incomplete type
/usr/include/linux/i2c-dev.h:37: error: syntax error before '*' token
/usr/include/linux/i2c-dev.h:42: error: field `__user' has incomplete type
/usr/include/linux/i2c-dev.h:42: error: syntax error before '*' token
/usr/include/linux/i2c-dev.h:44: error: syntax error before '}' token
matrox_maven.c: In function `maven_write_byte':
matrox_maven.c:63: error: implicit declaration of function `i2c_smbus_write_byte_data'
matrox_maven.c: In function `maven_write_word':
matrox_maven.c:80: error: implicit declaration of function `i2c_smbus_write_word_data'
matrox_maven.c: In function `maven_open':
matrox_maven.c:311: error: `I2C_SLAVE' undeclared (first use in this function)
matrox_maven.c:311: error: (Each undeclared identifier is reported only once
matrox_maven.c:311: error: for each function it appears in.)
matrox_maven.c: In function `maven_init':
matrox_maven.c:450: error: `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.20/work/DirectFB-0.9.20/gfxdrivers/matrox'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/DirectFB-0.9.20/work/DirectFB-0.9.20/gfxdrivers'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/DirectFB-0.9.20/work/DirectFB-0.9.20'
make: *** [all-recursive-am] Error 2

!!! ERROR: dev-libs/DirectFB-0.9.20 failed.
!!! Function src_compile, Line 66, Exitcode 2
!!! (no error message)
[/errormessage]

here is the "emerge info" output:
Portage 2.0.50-r1 (default-x86-2004.0, gcc-3.3.2, glibc-2.3.2-r9, 2.6.1-gentoo-r1)
=================================================================
System uname: 2.6.1-gentoo-r1 i686 AMD Athlon(TM) XP2400+
Gentoo Base System version 1.4.3.13
Autoconf: sys-devel/autoconf-2.58
Automake: sys-devel/automake-1.7.7
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://mirrors.sec.informatik.tu-darmstadt.de/gentoo http://ftp.easynet.nl/mirror/gentoo/ ftp://ftp.easynet.nl/mirror/gentoo/ ftp://ftp.tu-clausthal.de/pub/linux/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow X aalib acpi alsa apm avi berkdb cdr crypt cups directfb dv dvd emacs encode fbcon foomaticdb gdbm gif gpm gstreamer gtk gtk2 gtkhtml imap imlib java jpeg libg++ libwww mad maildir mikmod mmx motif mpeg ncurses nls nocardbus nptl oggvorbis opengl oss pam pdflib perl png pnp python qt quicktime readline sdl slang spell sse ssl svga tcpd truetype usb videos wxwindows x86 xinerama xml xml2 xmms xv zlib"


Markus

Reproducible: Always
Steps to Reproduce:
1. emerge links and its dependencies
2.
3.
Comment 1 SpanKY gentoo-dev 2004-02-11 17:21:22 UTC
please search for bugs next time

*** This bug has been marked as a duplicate of 40438 ***
Comment 2 Markus Rothe (RETIRED) gentoo-dev 2004-02-11 21:13:13 UTC
i searched....
Comment 3 SpanKY gentoo-dev 2004-02-11 21:21:33 UTC
i'll let it slide this time ;)
Comment 4 Mr. Bones. (RETIRED) gentoo-dev 2005-05-19 09:06:27 UTC
Closing to clean up after bugzilla upgrade.  reopen if closed in error.  Thanks.
Comment 5 Mr. Bones. (RETIRED) gentoo-dev 2011-09-14 20:38:57 UTC
clean up bug list after bugzilla update