Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 122929 - emerge dev-libs/DirectFB fails => implicit declaration of function `fls'
Summary: emerge dev-libs/DirectFB fails => implicit declaration of function `fls'
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: Alpha Linux
: High normal (vote)
Assignee: Tim Yamin (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-02-15 07:43 UTC by DEMAINE Benoît-Pierre, aka DoubleHP
Modified: 2006-04-19 15:35 UTC (History)
1 user (show)

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


Attachments
Patch (bug-122929.patch,408 bytes, patch)
2006-02-20 17:07 UTC, Tim Yamin (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description DEMAINE Benoît-Pierre, aka DoubleHP 2006-02-15 07:43:59 UTC
This bug is an on purpose dup of http://bugs.gentoo.org/show_bug.cgi?id=58299 because re-open querry is now more than 1 year for PPC and Alpha.

resume: emerge dev-libs/DirectFB 
fails and says:
/usr/include/linux/bitops.h:83: error: implicit declaration of function `fls'

If directfb depends on linux26-headers, then please update ebuild with revelant rule.

Thanks, hope some one will find a fix before next year.

*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** 

emerge -1va dev-libs/DirectFB

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild  N    ] dev-libs/DirectFB-0.9.22  -debug +fbcon -fusion +gif +jpeg (-mmx) +mpeg +png -sdl (-sse) -static -sysfs +truetype +zlib 0 kB

[...]

 alpha-unknown-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../include -I../../lib -I../../lib -I../../src -I../../systems -D_REENTRANT -I/usr/include/libmpeg3 -Wall -O3 -ffast-math -pipe -mieee -O2 -mcpu=ev56 -pipe -D_GNU_SOURCE -Werror-implicit-function-declaration -MT keyboard.lo -MD -MP -MF .deps/keyboard.Tpo -c keyboard.c  -fPIC -DPIC -o .libs/keyboard.o
In file included from /usr/include/linux/thread_info.h:20,
                 from /usr/include/linux/spinlock.h:12,
                 from /usr/include/linux/wait.h:23,
                 from /usr/include/linux/keyboard.h:20,
                 from keyboard.c:42:
/usr/include/linux/bitops.h: In function `get_bitmask_order':
/usr/include/linux/bitops.h:83: error: implicit declaration of function `fls'
make[3]: *** [keyboard.lo] Error 1
make[3]: Leaving directory `/var/tmp/portage/DirectFB-0.9.22/work/DirectFB-0.9.22/inputdrivers/keyboard'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/DirectFB-0.9.22/work/DirectFB-0.9.22/inputdrivers'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/DirectFB-0.9.22/work/DirectFB-0.9.22'
make: *** [all] Error 2

*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** 

# emerge --info
Portage 2.0.54 (default-linux/alpha/2005.0, gcc-3.3.2, glibc-2.3.5-r3, 2.6.14.2_plop_piou_SMP alpha)
=================================================================
System uname: 2.6.14.2_plop_piou_SMP alpha EV56
Gentoo Base System version 1.6.14
distcc 2.18.3 alpha-unknown-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
dev-lang/python:     2.3.5, 2.4.2
sys-apps/sandbox:    1.2.12
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.22
virtual/os-headers:  2.6.11-r4
ACCEPT_KEYWORDS="alpha"
AUTOCLEAN="yes"
CBUILD="alpha-unknown-linux-gnu"
CFLAGS="-mieee -O2 -mcpu=ev56 -pipe"
CHOST="alpha-unknown-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/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-mieee -O2 -mcpu=ev56 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks keeptemp sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
MAKEOPTS="-j7"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="alpha X a52 aac aalib acpi aim alsa amuled apache2 arts audiofile bash-completion berkdb bidi bitmap-fonts bl bmp bonjour bootsplash bzip2 cdda cdparanoia cdr cpudetection crypt cups dga directfb doc dts dv dvb dvd dvdread dynamic eds encode esd ethereal examples expat fam fbcon ffmpeg flac flash font-server foomaticdb fortran freetype gd gdbm ggi gif gnutls gpm gs gstreamer gtk gtk2 httpd i8x0 icq ieee1394 imlib ipv6 irc jabber javascript jpeg lcms libcaca libg++ libwww listentcp live lj logrotate lzo mad mikmod mng motif mozcalendar mp3 mpeg mplayer msn mtyhtv ncurses network nls no-htdocs nsplugin ogg oggvorbis opengl oss pam pcre pdflib perl png python qt quicktime rar readline real rss rtc samba screen sensord silc skey skins sndfile speex spell ssl stream subtitles svg swat symlink tcpd tga theora threads tiff truetype truetype-fonts type1-fonts udev unicode urandom v4l v4l2 vcd vim vlm vorbis wmf wxwindows xanim xinerama xml2 xmms xosd xscreensaver xv xvid xvmc yahoo zeroconf zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-02-15 07:57:33 UTC

*** This bug has been marked as a duplicate of 58299 ***
Comment 2 SpanKY gentoo-dev 2006-02-15 18:35:59 UTC
no point in cluttering an old bug
Comment 3 SpanKY gentoo-dev 2006-02-15 19:33:37 UTC
ppc works just fine for me with sys-kernel/linux-headers-2.6.11-r4
Comment 4 Tim Yamin (RETIRED) gentoo-dev 2006-02-20 17:07:22 UTC
Created attachment 80330 [details, diff]
Patch

So it looks like this never got fixed on Alpha -- want to try this patch?
Comment 5 Tim Yamin (RETIRED) gentoo-dev 2006-04-09 08:27:45 UTC
Hi, could you please give the patch in comment #4 a go please?
Comment 6 DEMAINE Benoît-Pierre, aka DoubleHP 2006-04-09 08:39:16 UTC
I would like to ... I kept email notification of #4 visible in my MUA, but ATM my Alpha are not available for such a test ...

problem for me is that I cant find find any combination of kernel/hardware where I could use any frame buffer at all ...

Still I could try to 'emerge/compile' the patch ... I will ASAP.

This bug remains (since weeks) in my 'to keep hot TODO list'
Comment 7 Tim Yamin (RETIRED) gentoo-dev 2006-04-19 15:35:09 UTC
Patch added to 2.6.11-r5 headers, reopen bug if you still get problems.