x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../include -I../../lib -I../../lib -I../../src -D_REENTRANT -I/usr/include/libmpeg3 -Wall -O3 -ffast-math -pipe -O2 -pipe -D_GNU_SOURCE -Werror-implicit-function-declaration -c ati128.c -fPIC -DPIC -o .libs/ati128.o In file included from /usr/include/linux/fb.h:4, from ati128.c:38: /usr/include/asm/types.h:28: error: conflicting types for `int64_t' /usr/include/sys/types.h:194: error: previous declaration of `int64_t' /usr/include/asm/types.h:29: error: conflicting types for `u_int64_t' /usr/include/sys/types.h:200: error: previous declaration of `u_int64_t' x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../include -I../../lib -I../../lib -I../../src -D_REENTRANT -I/usr/include/libmpeg3 -Wall -O3 -ffast-math -pipe -O2 -pipe -D_GNU_SOURCE -Werror-implicit-function-declaration -c ati128_overlay.c -fPIC -DPIC -o .libs/ati128_overlay.o make[3]: *** [ati128.lo] Error 1 make[3]: *** Waiting for unfinished jobs.... make[3]: Leaving directory `/var/tmp/portage/DirectFB-0.9.21/work/DirectFB-0.9.21/gfxdrivers/ati128' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/DirectFB-0.9.21/work/DirectFB-0.9.21/gfxdrivers' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/DirectFB-0.9.21/work/DirectFB-0.9.21' make: *** [all-recursive-am] Error 2 !!! ERROR: dev-libs/DirectFB-0.9.21 failed. !!! Function src_compile, Line 87, Exitcode 2 !!! (no error message) !!! If you need support, post the topmost build error, NOT this status message. Reproducible: Always Steps to Reproduce: 1. emerge DirectFB 2. emerge fails 3. something about pizza
you neglected to post `emerge info` like the bug report page said to re-open once you have
Portage 2.0.51-r8 (default-linux/amd64/2004.3, gcc-3.3.5, glibc-2.3.4.20041102-r0, 2.6.9-gentoo-r10 x86_64) ================================================================= System uname: 2.6.9-gentoo-r10 x86_64 AMD Athlon(tm) 64 Processor 3200+ Gentoo Base System version 1.6.8 Python: dev-lang/python-2.3.4 [2.3.4 (#1, Nov 5 2004, 08:25:07)] dev-lang/python: 2.3.4 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.8.5-r2, 1.9.3, 1.5, 1.6.3, 1.7.9, 1.4_p6 sys-devel/binutils: 2.15.92.0.2-r2 sys-devel/libtool: 1.5.10-r2 virtual/os-headers: 2.6.8.1-r1 ACCEPT_KEYWORDS="amd64 ~amd64" AUTOCLEAN="yes" CFLAGS="-O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache distlocks sandbox" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="amd64 X aalib acpi alsa arts avi berkdb bidi bitmap-fonts bonobo bootsplash cdparanoia cdr crypt cups directfb divx4linux dvb dvd dvdread edl esd f77 faad fam fbcon ffmpeg flac foomaticdb fortran gdbm ggi gif gimp gimpprint gkrellm gnome gpm gstreamer gtk hardened imlib ipv6 jack java javascript joystick jp2 jpeg libcaca live lm_sensors lzo lzw lzw-tiff mad matroska mikmod motif mozilla mp3 mpeg mpeg4 mplayer multilib mythtv nas ncurses need network nls nntp nvidia offensive oggvorbis opengl oss pam pda pdf perl png ppds python readline rtc samba sdl slang ssl tcltk tcpd theora tiff timidity truetype usb userlocales v4l v4l2 wxwindows xanim xinerama xml xml2 xmms xpm xrandr xv xvid xvmc zlib"
tim: seems to be an amd64 issue, take a look will you please ? :)
Please attach /usr/include/asm/types.h...
Created attachment 46895 [details, diff] Patch Please try this patch on /usr/include/linux/types.h and tell me if that happens to fix this issue. Thanks!
I'm having a different issue here: powerpc-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 -O2 -mcpu=7450 -maltivec -mabi=altivec -pipe -D_GNU_SOURCE -Werror-implicit-function-declaration -c keyboard.c -fPIC -DPIC -o .libs/keyboard.o In file included from /usr/include/linux/wait.h:12, from /usr/include/linux/keyboard.h:4, from keyboard.c:42: /usr/include/linux/list.h: In function `__list_add_rcu': /usr/include/linux/list.h:94: error: implicit declaration of function `__memory_barrier' In file included from /usr/include/linux/thread_info.h:20, from /usr/include/linux/spinlock.h:12, from /usr/include/linux/wait.h:15, from /usr/include/linux/keyboard.h:4, from keyboard.c:42: /usr/include/linux/bitops.h: In function `get_bitmask_order': /usr/include/linux/bitops.h:78: error: implicit declaration of function `fls' make[3]: *** [keyboard.lo] Error 1 make[3]: Leaving directory `/var/tmp/portage/DirectFB-0.9.21/work/DirectFB-0.9.21/inputdrivers/keyboard' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/DirectFB-0.9.21/work/DirectFB-0.9.21/inputdrivers' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/DirectFB-0.9.21/work/DirectFB-0.9.21' make: *** [all-recursive-am] Error 2 !!! ERROR: dev-libs/DirectFB-0.9.21 failed. !!! Function src_compile, Line 87, Exitcode 2 !!! (no error message) !!! If you need support, post the topmost build error, NOT this status message. emerge info output: Portage 2.0.51-r8 (default-ppc-2004.3, gcc-3.4.1, glibc-2.3.4.20041102-r0, 2.6.9-gentoo-r9 ppc) ================================================================= System uname: 2.6.9-gentoo-r9 ppc 7455, altivec supported Gentoo Base System version 1.6.8 Python: dev-lang/python-2.3.4 [2.3.4 (#1, Sep 6 2004, 21:11:55)] dev-lang/python: 2.3.4 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.8.5-r2, 1.4_p6, 1.5, 1.9.3, 1.7.9, 1.6.3 sys-devel/binutils: 2.15.90.0.3-r3 sys-devel/libtool: 1.5.10-r2 virtual/os-headers: 2.6.8.1-r1 ACCEPT_KEYWORDS="ppc ~ppc" AUTOCLEAN="yes" CFLAGS="-O2 -mcpu=7450 -maltivec -mabi=altivec -pipe" CHOST="powerpc-unknown-linux-gnu" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /var/bind /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -mcpu=7450 -maltivec -mabi=altivec -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs buildpkg ccache distlocks" GENTOO_MIRRORS="http://ftp.easynet.nl/mirror/gentoo/ ftp://ftp.easynet.nl/mirror/gentoo/ ftp://mirror.switch.ch/mirror/gentoo/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X aac aalib accessibility alsa altivec apache2 berkdb bonobo cdr cjk crypt cups directfb dvd dvdr emacs esd f77 fbcon fortran gcj gdbm gif gnome gnome-libs gpm gstreamer gtk gtk2 gtkhtml guile hal howl idea imlib ipv6 ithreads jabber java jpeg jython lcms ldap mad maildir mono motif mozcalendar mozilla mozsvg mpeg mplayer nas nls nptl oggvorbis opengl opie pam pcre perl png postgres ppc python qt radeon readline rhino ruby samba sdl sheep slang smime spell ssl svg tcltk tcpd tiff truetype unicode usb vnc wxwindows xinerama xml2 xmms xvid yahoo zlib video_cards_radeon"
Created attachment 46914 [details, diff] PPC Patch
the provided amd64 patch doesnt work ... it applies to linux/types.h, the error is with asm/types.h and sys/types.h as seen in original report
Yes ... and asm/types.h doesn't have the conflicting identifier -- at least it doesn't for me in include/asm-x86_64/types.h and that's why I asked for an attached types.h; but then since the only place that it actually gets defined (after grepping through the headers) in is in <linux/types.h> anyway then the error would most likely be there... And hence a patch for it. Compilers are very strange sometimes ... :-)
Created attachment 47013 [details] asm/types.h Since noone has done this yet, and it's still open, I'm attaching the requested asm/types.h. I am also having the problem on Athlon 64.
See Bug #75249 for an idea about what's going on
this bug is for amd64 ONLY goto Bug 76358 if you want ppc help
Fixed in CVS, please sync and remerge linux26-headers. Reopen this bug if you have any further issues. Thanks!
still getting compile errors here ;( although different ones this time... x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../include -I../../lib -I../../lib -I../../src -DDATADIR=\"/usr/share/directfb-0.9.21\" -D_REENTRANT -Wall -O3 -ffast-math -pipe -march=athlon64 -O2 -pipe -fweb -ftracer -D_GNU_SOURCE -Werror-implicit-function-declaration -c idirectfbvideoprovider_v4l.c -fPIC -DPIC -o .libs/idirectfbvideoprovider_v4l.o In file included from /usr/include/linux/videodev.h:8, from idirectfbvideoprovider_v4l.c:48: /usr/include/linux/videodev2.h:490: error: parse error before "v4l2_std_id" /usr/include/linux/videodev2.h:561: error: parse error before "v4l2_std_id" /usr/include/linux/videodev2.h:566: error: parse error before '}' token /usr/include/linux/videodev2.h:579: error: parse error before "v4l2_std_id" /usr/include/linux/videodev2.h:582: error: parse error before '}' token /usr/include/linux/videodev2.h:616: error: parse error before "v4l2_std_id" /usr/include/linux/videodev2.h:618: error: parse error before '}' token make[3]: *** [idirectfbvideoprovider_v4l.lo] Error 1 make[3]: Leaving directory `/home/portage/tmp/portage/DirectFB-0.9.21/work/DirectFB-0.9.21/interfaces/IDirectFBVideoProvider' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/home/portage/tmp/portage/DirectFB-0.9.21/work/DirectFB-0.9.21/interfaces' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/portage/tmp/portage/DirectFB-0.9.21/work/DirectFB-0.9.21' make: *** [all-recursive-am] Error 2
I changed the patch slightly a moment ago; try synching (you want linux26-headers-2.6.8.1-appCompat.patch to have an MD5 of 8f3a515e5e309495343a3eef4721ddd6) and remerging your headers.
ok it works now, thanks.