Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 43938 - DirectFB compile error
Summary: DirectFB compile error
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: SpanKY
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-03-07 02:33 UTC by Florian Effenberger
Modified: 2004-03-12 14:32 UTC (History)
1 user (show)

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 Florian Effenberger 2004-03-07 02:33:19 UTC
When doing emerge xmms, I receive

-O3 -ffast-math -pipe -O3 -march=athlon-xp -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 -O3 -march=athlon-xp -fomit-fr                   ame-pointer -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: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'
make[3]: *** [matrox_maven.lo] Fehler 1
make[3]: Leaving directory `/var/tmp/portage/DirectFB-0.9.20/work/DirectFB-0.9.2                   0/gfxdrivers/matrox'
make[2]: *** [all-recursive] Fehler 1
make[2]: Leaving directory `/var/tmp/portage/DirectFB-0.9.20/work/DirectFB-0.9.2                   0/gfxdrivers'
make[1]: *** [all-recursive] Fehler 1
make[1]: Leaving directory `/var/tmp/portage/DirectFB-0.9.20/work/DirectFB-0.9.2                   0'
make: *** [all-recursive-am] Fehler 2

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


Portage 2.0.50-r1 (default-x86-2004.0, gcc-3.3.2, glibc-2.3.2-r9, 2.4.25)
=================================================================
System uname: 2.4.25 i686 AMD Athlon(tm) XP 2600+
Gentoo Base System version 1.4.3.13
Autoconf: sys-devel/autoconf-2.58-r1
Automake: sys-devel/automake-1.7.7
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -march=athlon-xp -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.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/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -march=athlon-xp -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://gentoo.seren.com/gentoo http://mirrors.tds.net/gentoo ftp://mirrors.tds.net/gentoo http://128.213.5.34/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 Xaw3d aalib accessibility acl acpi aim alsa apm arts avi berkdb bidi bonobo caps cdr cjk crypt cups curl dga directfb doc dvb dvd dvdr emacs emacs-w3 encode esd ethereal evo fam fbcon flac flash foomaticdb gb gd gdbm ggi gif gnome gphoto2 gpm gtk gtk2 gtkhtml icq imagemagick imap imlib ipv6 jabber java jpeg junit kde ladcca lcms ldap leim lesstif libg++ libgda libwww lirc mad mbox mcal memlimit mikmod mmx motif mozilla mpeg mpi msn mysql nas ncurses nls nocd odbc oggvorbis opengl oscar oss pam pda pdflib perl png ppds prelude python qt quicktime readline samba sasl scanner sdl slang slp snmp socks5 speex spell sse ssl svga svgalib tcltk tcpd tetex theora tiff truetype unicode usb vhosts videos wmf wxwindows x86 xface xinerama xml xml2 xmms xosd xv yahoo zlib"




Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 David D. Huff Jr. 2004-03-07 17:36:30 UTC
That one bit me like a viper too. Just delete 1 section of the emerge that pertains to patching the file. It'll run the first time.
The patch added 3.4.2004 seems to work on nothing but 2.4.60.
Comment 2 Florian Effenberger 2004-03-08 09:21:35 UTC
Thanks, I'll try it out as soon as I am back on the test machine again.
What do you mean with 2.4.60?
Comment 3 michael@smith-li.com 2004-03-12 12:52:51 UTC
Me too. I was trying to emerge links with USE='directfb'

Wall -O3 -ffast-math -pipe -O3 -march=pentium3 -fomit-frame-pointer -pipe  -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 -O3 -march=pentium3 -fomit-frame-pointer -pipe -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: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'
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

Comment 4 SpanKY gentoo-dev 2004-03-12 14:32:50 UTC
fixed in portage

i sometimes forget people still use 2.4 ;)