gcc -D__KERNEL__ -I/usr/src/linux-2.4.31/include -Wall -Wstrict-prototypes
-Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -pipe
-mpreferred-stack-boundary=2 -march=i686 -fno-unit-at-a-time -DMODULE
-DMODVERSIONS -include /usr/src/linux-2.4.31/include/linux/modversions.h
-DHAVE_LINUX_SPINLOCK_HEADER -DRTC_LOCK -DEXPECT_OK -D__NO_VERSION__
-I/var/tmp/portage/oprofile-0.9.1-r1/work/oprofile-0.9.1/module/x86
-I/var/tmp/portage/oprofile-0.9.1-r1/work/oprofile-0.9.1
-I/var/tmp/portage/oprofile-0.9.1-r1/work/oprofile-0.9.1/libutil
-I/var/tmp/portage/oprofile-0.9.1-r1/work/oprofile-0.9.1/libop -nostdinc
-iwithprefix include -DKBUILD_BASENAME=oprofile -c -o oprofile.o oprofile.c
oprofile.c:118: error: conflicting types for 'op_do_profile'
oprofile.h:144: error: previous declaration of 'op_do_profile' was here
oprofile.c:118: error: conflicting types for 'op_do_profile'
oprofile.h:144: error: previous declaration of 'op_do_profile' was here
make[4]: *** [oprofile.o] Error 1
make[4]: Leaving directory
`/var/tmp/portage/oprofile-0.9.1-r1/work/oprofile-0.9.1/module'
make[3]: ***
[_mod_/var/tmp/portage/oprofile-0.9.1-r1/work/oprofile-0.9.1/module] Error 2
make[3]: Leaving directory `/usr/src/linux-2.4.31'
make[2]: *** [module] Error 1
make[2]: Leaving directory
`/var/tmp/portage/oprofile-0.9.1-r1/work/oprofile-0.9.1'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/var/tmp/portage/oprofile-0.9.1-r1/work/oprofile-0.9.1'
make: *** [all] Error 2
!!! ERROR: dev-util/oprofile-0.9.1-r1 failed.
Call stack:
ebuild.sh, line 1526: Called dyn_compile
ebuild.sh, line 923: Called src_compile
oprofile-0.9.1-r1.ebuild, line 60: Called die
Portage 2.1_pre7-r4 (default-linux/x86/2005.1, gcc-3.4.6, glibc-2.4-r1,
2.6.15.6 i686)
=================================================================
System uname: 2.6.15.6 i686 Intel(R) Xeon(TM) CPU 3.06GHz
Gentoo Base System version 1.12.0_pre16
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632)
[disabled]
dev-lang/python: 2.3.5, 2.4.2-r1
sys-apps/sandbox: 1.2.17
sys-devel/autoconf: 2.13, 2.59-r7
sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils: 2.16.1-r2
sys-devel/libtool: 1.5.22
virtual/os-headers: 2.6.11-r3
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium4 -mcpu=pentium4 -mmmx -msse -msse2 -msse3 -O3
-fomit-frame-pointer -funroll-loops -pipe"
CHOST="i686-pc-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/mozilla/defaults/pref /usr/share/X11/xkb /usr/share/config /var/bind
/var/qmail/alias /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/terminfo
/etc/texmf/web2c /etc/env.d"
CXXFLAGS="-march=pentium4 -mcpu=pentium4 -mmmx -msse -msse2 -msse3 -O3
-fomit-frame-pointer -funroll-loops -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.mirror.icd.hu/
http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/
http://gd.tuwien.ac.at/opsys/linux/gentoo/
ftp://ftp.tu-clausthal.de/pub/linux/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 FFmpeg X Xaw3d aalib acpi apache2 apm arts ati avi berkdb bidi
bitmap-fonts caca cdparanoia cdr crypt cscope cups curl dba dga directfb distcc
divx divx4 divx4linux divx5 divx5linux dri dvb dvd dvdr dvdread eds emacs
emacs-w3 emboss encode ethereal evo f77 faad faad2 fam fame fbcon ffmpeg flash
foomaticdb fortran fvwm2 g77 gb gcj gd gdbm ggi gif gphoto2 gpm gstreamer gtk
gtk2 gtkhtml i8x0 icc imagemagick imlib imlib2 innodb isdnlog ithreads java
jpeg lcms leim libg++ libwww live lzo mad mcal mesa mikmod mmx mmx2 motif
mozilla mp3 mpeg mule mysql ncurses network nls nptl nptlonly ogg oggvorbis
opengl oss pam pcre pda pdflib perl php php4 plotutils png ppds pppd pthread
pthreads python qt qtx quicktime readline rtc samba sdl slp spell sse sse2 sse3
ssl tcltk tcpd tetex theora thread threads tiff truetype truetype-fonts
type1-fonts unicode usb utf8 v4l v4l2 vorbis win32 winvidix wmf xml xml2 xmms
xosd xv xvid xvmc zeo zlib elibc_glibc kernel_linux userland_GNU
video_cards_ati"
Unset: ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL,
LDFLAGS, LINGUAS, PORTDIR_OVERLAY