Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 105029 - nvidia-kernel-7676 won't compile on gentoo-sources-2.6.13
Summary: nvidia-kernel-7676 won't compile on gentoo-sources-2.6.13
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: X11 External Driver Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-09-06 08:42 UTC by razor1394
Modified: 2006-11-09 02:17 UTC (History)
3 users (show)

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


Attachments
2.6.13 kernel config from the affected computer (.config,27.17 KB, text/plain)
2005-09-06 13:57 UTC, razor1394
Details

Note You need to log in before you can comment on or make changes to this bug.
Description razor1394 2005-09-06 08:42:52 UTC
I'm trying to recompile the nvidia driver after switching to 2.6.13 but it fails
the module build. I have tried disabling the userpriv in /etc/make.conf as I had
to do when I first got 7676 on my amd64 system but It doesn't help.

Reproducible: Always
Steps to Reproduce:
1. Switch to gentoo-sources 2.6.13
2. Recompile nvidia-kernel
3.

Actual Results:  
I get this error during compile:

Calculating dependencies ...done!
>>> emerge (1 of 1) media-video/nvidia-kernel-1.0.7676 to /
>>> md5 files   ;-) nvidia-kernel-1.0.7167-r1.ebuild
>>> md5 files   ;-) nvidia-kernel-1.0.7174.ebuild
>>> md5 files   ;-) nvidia-kernel-1.0.6629-r4.ebuild
>>> md5 files   ;-) nvidia-kernel-1.0.6111-r3.ebuild
>>> md5 files   ;-) nvidia-kernel-1.0.7676.ebuild
>>> md5 files   ;-) nvidia-kernel-1.0.7667.ebuild
>>> md5 files   ;-) files/digest-nvidia-kernel-1.0.6111-r3
>>> md5 files   ;-) files/digest-nvidia-kernel-1.0.6629-r4
>>> md5 files   ;-) files/digest-nvidia-kernel-1.0.7167-r1
>>> md5 files   ;-) files/digest-nvidia-kernel-1.0.7174
>>> md5 files   ;-) files/digest-nvidia-kernel-1.0.7667
>>> md5 files   ;-) files/digest-nvidia-kernel-1.0.7676
>>> md5 files   ;-) files/nvidia
>>> md5 files   ;-) files/1.0.6111/nv-pci_find_class.patch
>>> md5 files   ;-) files/1.0.6111/conftest_koutput_includes.patch
>>> md5 files   ;-) files/1.0.6111/power-suspend-2.6.9-changes.patch
>>> md5 files   ;-) files/1.0.6111/vmalloc-reserve.patch
>>> md5 files   ;-) files/1.0.6111/nv_enable_pci.patch
>>> md5 files   ;-) files/1.0.6111/nv-remap-range.patch
>>> md5 files   ;-) files/1.0.6629/NVIDIA_kernel-1.0-6629-1161283.patch
>>> md5 files   ;-) files/1.0.6629/nv-shutup-warnings.patch
>>> md5 files   ;-) files/1.0.6629/NVIDIA_kernel-1.0-6629-1165235.patch
>>> md5 files   ;-) files/1.0.6629/nv-disable-preempt-on-smp_processor_id.patch
>>> md5 files   ;-) files/1.0.6629/conftest_koutput_includes.patch
>>> md5 files   ;-) files/1.0.6629/nv-amd64-shutup-warnings.patch
>>> md5 files   ;-) files/1.0.6629/NVIDIA_kernel-1.0-6629-1189413.patch
>>> md5 files   ;-) files/1.0.6629/NVIDIA_kernel-1.0-6629-1175225.patch
>>> md5 files   ;-) files/1.0.6629/nv-fix-memory-limit.patch
>>> md5 files   ;-) files/1.0.6629/NVIDIA_kernel-1.0-6629-1162524.patch
>>> md5 files   ;-) files/1.0.6629/NVIDIA_kernel-1.0-6629-agp_bridge_data.patch
>>> md5 files   ;-) files/1.0.6629/nv-pgprot-speedup.patch
>>> md5 files   ;-) files/1.0.6629/NVIDIA_kernel-1.0-6629-1155389.patch
>>> md5 files   ;-) files/1.0.6629/nv-pgd_offset.patch
>>> md5 files   ;-) files/1.0.6629/NVIDIA_kernel-1.0-6629-1182399.patch
>>> md5 files   ;-) files/1.0.6629/NVIDIA_kernel-1.0-6629-1171869.patch
>>> md5 files   ;-) files/1.0.6629/nv-vm_flags-no-VM_LOCKED.patch
>>> md5 files   ;-) files/1.0.6629/NVIDIA_kernel-1.0-6629-1201042.diff
>>> md5 files   ;-) files/1.0.7167/NVIDIA_kernel-1.0-7167-1233959.patch
>>> md5 files   ;-)
files/1.0.7167/NVIDIA_kernel-1.0-7167-disable-preempt-on-smp_processor_id.patch
>>> md5 files   ;-) files/1.0.7167/NVIDIA_kernel-1.0-7167-1237815.patch
>>> md5 files   ;-)
files/1.0.7167/NVIDIA_kernel-1.0-7167-conftest-koutput-includes.patch
>>> md5 files   ;-) files/1.0.7167/NVIDIA_kernel-1.0-7167-x86-shutup-warnings.patch
>>> md5 files   ;-)
files/1.0.7167/NVIDIA_kernel-1.0-7167-amd64-shutup-warnings.patch
>>> md5 files   ;-) files/1.0.7667/NVIDIA_kernel-1.0-7667-KERNEL_VERSION-moved.patch
>>> md5 src_uri ;-) NVIDIA-Linux-x86_64-1.0-7676-pkg2.run
 * Determining the location of the kernel source code
 * Found kernel source directory:
 *     /usr/src/linux
 * Found sources for kernel version:
 *     2.6.13-gentoo
 * Checking for MTRR support ...                                               
                                                                       [ ok ]
>>> Unpacking source...
Creating directory NVIDIA-Linux-x86_64-1.0-7676-pkg2
Verifying archive integrity... OK
Uncompressing NVIDIA Accelerated Graphics Driver for Linux-x86_64
1.0-7676..........................................................................
 * Applying 2.6 kernel patches
 * Applying NVIDIA_kernel-1.0-7167-disable-preempt-on-smp_processor_id.patch ...
                                                                      [ ok ]
 * Applying NVIDIA_kernel-1.0-7667-KERNEL_VERSION-moved.patch ...              
                                                                       [ ok ]
 * Converting Makefile.kbuild to use M= instead of SUBDIRS= ...                
                                                                       [ ok ]
>>> Source unpacked.
 * Preparing nvidia module

NVIDIA: calling KBUILD...
make CC=cc  KBUILD_VERBOSE=1 -C /usr/src/linux
M=/var/tmp/portage/nvidia-kernel-1.0.7676/work/NVIDIA-Linux-x86_64-1.0-7676-pkg2/usr/src/nv
modules
make[2]: varning: jobbserver otillg
Comment 1 razor1394 2005-09-06 08:42:52 UTC
I'm trying to recompile the nvidia driver after switching to 2.6.13 but it fails
the module build. I have tried disabling the userpriv in /etc/make.conf as I had
to do when I first got 7676 on my amd64 system but It doesn't help.

Reproducible: Always
Steps to Reproduce:
1. Switch to gentoo-sources 2.6.13
2. Recompile nvidia-kernel
3.

Actual Results:  
I get this error during compile:

Calculating dependencies ...done!
>>> emerge (1 of 1) media-video/nvidia-kernel-1.0.7676 to /
>>> md5 files   ;-) nvidia-kernel-1.0.7167-r1.ebuild
>>> md5 files   ;-) nvidia-kernel-1.0.7174.ebuild
>>> md5 files   ;-) nvidia-kernel-1.0.6629-r4.ebuild
>>> md5 files   ;-) nvidia-kernel-1.0.6111-r3.ebuild
>>> md5 files   ;-) nvidia-kernel-1.0.7676.ebuild
>>> md5 files   ;-) nvidia-kernel-1.0.7667.ebuild
>>> md5 files   ;-) files/digest-nvidia-kernel-1.0.6111-r3
>>> md5 files   ;-) files/digest-nvidia-kernel-1.0.6629-r4
>>> md5 files   ;-) files/digest-nvidia-kernel-1.0.7167-r1
>>> md5 files   ;-) files/digest-nvidia-kernel-1.0.7174
>>> md5 files   ;-) files/digest-nvidia-kernel-1.0.7667
>>> md5 files   ;-) files/digest-nvidia-kernel-1.0.7676
>>> md5 files   ;-) files/nvidia
>>> md5 files   ;-) files/1.0.6111/nv-pci_find_class.patch
>>> md5 files   ;-) files/1.0.6111/conftest_koutput_includes.patch
>>> md5 files   ;-) files/1.0.6111/power-suspend-2.6.9-changes.patch
>>> md5 files   ;-) files/1.0.6111/vmalloc-reserve.patch
>>> md5 files   ;-) files/1.0.6111/nv_enable_pci.patch
>>> md5 files   ;-) files/1.0.6111/nv-remap-range.patch
>>> md5 files   ;-) files/1.0.6629/NVIDIA_kernel-1.0-6629-1161283.patch
>>> md5 files   ;-) files/1.0.6629/nv-shutup-warnings.patch
>>> md5 files   ;-) files/1.0.6629/NVIDIA_kernel-1.0-6629-1165235.patch
>>> md5 files   ;-) files/1.0.6629/nv-disable-preempt-on-smp_processor_id.patch
>>> md5 files   ;-) files/1.0.6629/conftest_koutput_includes.patch
>>> md5 files   ;-) files/1.0.6629/nv-amd64-shutup-warnings.patch
>>> md5 files   ;-) files/1.0.6629/NVIDIA_kernel-1.0-6629-1189413.patch
>>> md5 files   ;-) files/1.0.6629/NVIDIA_kernel-1.0-6629-1175225.patch
>>> md5 files   ;-) files/1.0.6629/nv-fix-memory-limit.patch
>>> md5 files   ;-) files/1.0.6629/NVIDIA_kernel-1.0-6629-1162524.patch
>>> md5 files   ;-) files/1.0.6629/NVIDIA_kernel-1.0-6629-agp_bridge_data.patch
>>> md5 files   ;-) files/1.0.6629/nv-pgprot-speedup.patch
>>> md5 files   ;-) files/1.0.6629/NVIDIA_kernel-1.0-6629-1155389.patch
>>> md5 files   ;-) files/1.0.6629/nv-pgd_offset.patch
>>> md5 files   ;-) files/1.0.6629/NVIDIA_kernel-1.0-6629-1182399.patch
>>> md5 files   ;-) files/1.0.6629/NVIDIA_kernel-1.0-6629-1171869.patch
>>> md5 files   ;-) files/1.0.6629/nv-vm_flags-no-VM_LOCKED.patch
>>> md5 files   ;-) files/1.0.6629/NVIDIA_kernel-1.0-6629-1201042.diff
>>> md5 files   ;-) files/1.0.7167/NVIDIA_kernel-1.0-7167-1233959.patch
>>> md5 files   ;-)
files/1.0.7167/NVIDIA_kernel-1.0-7167-disable-preempt-on-smp_processor_id.patch
>>> md5 files   ;-) files/1.0.7167/NVIDIA_kernel-1.0-7167-1237815.patch
>>> md5 files   ;-)
files/1.0.7167/NVIDIA_kernel-1.0-7167-conftest-koutput-includes.patch
>>> md5 files   ;-) files/1.0.7167/NVIDIA_kernel-1.0-7167-x86-shutup-warnings.patch
>>> md5 files   ;-)
files/1.0.7167/NVIDIA_kernel-1.0-7167-amd64-shutup-warnings.patch
>>> md5 files   ;-) files/1.0.7667/NVIDIA_kernel-1.0-7667-KERNEL_VERSION-moved.patch
>>> md5 src_uri ;-) NVIDIA-Linux-x86_64-1.0-7676-pkg2.run
 * Determining the location of the kernel source code
 * Found kernel source directory:
 *     /usr/src/linux
 * Found sources for kernel version:
 *     2.6.13-gentoo
 * Checking for MTRR support ...                                               
                                                                       [ ok ]
>>> Unpacking source...
Creating directory NVIDIA-Linux-x86_64-1.0-7676-pkg2
Verifying archive integrity... OK
Uncompressing NVIDIA Accelerated Graphics Driver for Linux-x86_64
1.0-7676..........................................................................
 * Applying 2.6 kernel patches
 * Applying NVIDIA_kernel-1.0-7167-disable-preempt-on-smp_processor_id.patch ...
                                                                      [ ok ]
 * Applying NVIDIA_kernel-1.0-7667-KERNEL_VERSION-moved.patch ...              
                                                                       [ ok ]
 * Converting Makefile.kbuild to use M= instead of SUBDIRS= ...                
                                                                       [ ok ]
>>> Source unpacked.
 * Preparing nvidia module

NVIDIA: calling KBUILD...
make CC=cc  KBUILD_VERBOSE=1 -C /usr/src/linux
M=/var/tmp/portage/nvidia-kernel-1.0.7676/work/NVIDIA-Linux-x86_64-1.0-7676-pkg2/usr/src/nv
modules
make[2]: varning: jobbserver otillgänglig: använder -j1. Lägg till "+" i
föräldraregeln.
mkdir -p
/var/tmp/portage/nvidia-kernel-1.0.7676/work/NVIDIA-Linux-x86_64-1.0-7676-pkg2/usr/src/nv/.tmp_versions
make -f scripts/Makefile.build
obj=/var/tmp/portage/nvidia-kernel-1.0.7676/work/NVIDIA-Linux-x86_64-1.0-7676-pkg2/usr/src/nv
echo \#define NV_COMPILER \"`cc -v 2>&1 | tail -n 1`\" >
/var/tmp/portage/nvidia-kernel-1.0.7676/work/NVIDIA-Linux-x86_64-1.0-7676-pkg2/usr/src/nv/nv_compiler.h
  cc
-Wp,-MD,/var/tmp/portage/nvidia-kernel-1.0.7676/work/NVIDIA-Linux-x86_64-1.0-7676-pkg2/usr/src/nv/.nv.o.d
 -nostdinc -isystem /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/include -D__KERNEL__
-Iinclude  -Wall -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing
-fno-common -ffreestanding -O2     -fomit-frame-pointer -march=k8 -mno-red-zone
-mcmodel=kernel -pipe -fno-reorder-blocks  -Wno-sign-compare
-fno-asynchronous-unwind-tables -funit-at-a-time -mno-sse -mno-mmx -mno-sse2
-mno-3dnow -Wdeclaration-after-statement 
-I/var/tmp/portage/nvidia-kernel-1.0.7676/work/NVIDIA-Linux-x86_64-1.0-7676-pkg2/usr/src/nv
-Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wparentheses
  -Wno-multichar  -Werror -O -fno-common -mno-red-zone -minline-all-stringops
-MD    -Wno-cast-qual -Wno-error -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE 
-mcmodel=kernel -DNTRM -D_GNU_SOURCE -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE
 -DNV_MAJOR_VERSION=1 -DNV_MINOR_VERSION=0 -DNV_PATCHLEVEL=7676  -UDEBUG
-U_DEBUG -DNDEBUG -DNV_SIGNAL_STRUCT_RLIM -DNV_MULTIPLE_BRIDGE_AGPGART_PRESENT
-DNV_REMAP_PFN_RANGE_PRESENT -DNV_CHANGE_PAGE_ATTR_PRESENT
-DNV_PCI_DISABLE_DEVICE_PRESENT -DNV_PCI_GET_CLASS_PRESENT -DNV_VMAP_2_PRESENT 
-DMODULE -DKBUILD_BASENAME=nv -DKBUILD_MODNAME=nvidia -c -o
/var/tmp/portage/nvidia-kernel-1.0.7676/work/NVIDIA-Linux-x86_64-1.0-7676-pkg2/usr/src/nv/nv.o
/var/tmp/portage/nvidia-kernel-1.0.7676/work/NVIDIA-Linux-x86_64-1.0-7676-pkg2/usr/src/nv/nv.c
  cc
-Wp,-MD,/var/tmp/portage/nvidia-kernel-1.0.7676/work/NVIDIA-Linux-x86_64-1.0-7676-pkg2/usr/src/nv/.nv-vm.o.d
 -nostdinc -isystem /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/include -D__KERNEL__
-Iinclude  -Wall -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing
-fno-common -ffreestanding -O2     -fomit-frame-pointer -march=k8 -mno-red-zone
-mcmodel=kernel -pipe -fno-reorder-blocks       -Wno-sign-compare
-fno-asynchronous-unwind-tables -funit-at-a-time -mno-sse -mno-mmx -mno-sse2
-mno-3dnow -Wdeclaration-after-statement 
-I/var/tmp/portage/nvidia-kernel-1.0.7676/work/NVIDIA-Linux-x86_64-1.0-7676-pkg2/usr/src/nv
-Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wparentheses
  -Wno-multichar  -Werror -O -fno-common -mno-red-zone -minline-all-stringops
-MD    -Wno-cast-qual -Wno-error -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE 
-mcmodel=kernel -DNTRM -D_GNU_SOURCE -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE
 -DNV_MAJOR_VERSION=1 -DNV_MINOR_VERSION=0 -DNV_PATCHLEVEL=7676  -UDEBUG
-U_DEBUG -DNDEBUG -DNV_SIGNAL_STRUCT_RLIM -DNV_MULTIPLE_BRIDGE_AGPGART_PRESENT
-DNV_REMAP_PFN_RANGE_PRESENT -DNV_CHANGE_PAGE_ATTR_PRESENT
-DNV_PCI_DISABLE_DEVICE_PRESENT -DNV_PCI_GET_CLASS_PRESENT -DNV_VMAP_2_PRESENT 
-DMODULE -DKBUILD_BASENAME=nv_vm -DKBUILD_MODNAME=nvidia -c -o
/var/tmp/portage/nvidia-kernel-1.0.7676/work/NVIDIA-Linux-x86_64-1.0-7676-pkg2/usr/src/nv/nv-vm.o
/var/tmp/portage/nvidia-kernel-1.0.7676/work/NVIDIA-Linux-x86_64-1.0-7676-pkg2/usr/src/nv/nv-vm.c
/var/tmp/portage/nvidia-kernel-1.0.7676/work/NVIDIA-Linux-x86_64-1.0-7676-pkg2/usr/src/nv/nv-vm.c:
In function `nv_vm_malloc_pages':
/var/tmp/portage/nvidia-kernel-1.0.7676/work/NVIDIA-Linux-x86_64-1.0-7676-pkg2/usr/src/nv/nv-vm.c:283:
error: för få argument till funktionen "vmap"
make[3]: ***
[/var/tmp/portage/nvidia-kernel-1.0.7676/work/NVIDIA-Linux-x86_64-1.0-7676-pkg2/usr/src/nv/nv-vm.o]
Fel 1
make[2]: ***
[_module_/var/tmp/portage/nvidia-kernel-1.0.7676/work/NVIDIA-Linux-x86_64-1.0-7676-pkg2/usr/src/nv]
Fel 2
NVIDIA: left KBUILD.
nvidia.ko failed to build!
make[1]: *** [module] Fel 1
make: *** [module] Fel 2

!!! ERROR: media-video/nvidia-kernel-1.0.7676 failed.
!!! Function linux-mod_src_compile, Line 460, Exitcode 2
!!! Unable to make                                  IGNORE_CC_MISMATCH=yes V=1
SYSSRC=/usr/src/linux SYSOUT=/usr/src/linux clean module.

Expected Results:  
Compiled without any hitches.

Portage 2.0.51.22-r2 (default-linux/amd64/2005.0, gcc-3.4.4, glibc-2.3.5-r1,
2.6.12-gentoo-r9 x86_64)
=================================================================
System uname: 2.6.12-gentoo-r9 x86_64 AMD Athlon(tm) 64 Processor 3500+
Gentoo Base System version 1.12.0_pre8
ccache version 2.4 [enabled]
dev-lang/python:     2.3.4-r1, 2.4.1-r1
sys-apps/sandbox:    1.2.12
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
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.20
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/splash /etc/terminfo /etc/env.d"
CXXFLAGS="-march=k8 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks sandbox sfperms strict usersandbox"
GENTOO_MIRRORS="http://ftp.du.se/pub/os/gentoo http://ds.thn.htu.se/linux/gentoo
http://mirror.pudas.net/gentoo http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/"
LC_ALL="sv_SE.UTF-8"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.se.gentoo.org/gentoo-portage"
USE="amd64 X a52 aac aalib acpi alsa apm arts avi berkdb bitmap-fonts bluetooth
cdinstall cdparanoia cdr cdrom crypt dba dbus disablexmb dts dv dvd dvdr eds
emul-linux-x86 encode esd f77 faad fam ffmpeg flac foomaticdb fortran gd
gd-external gif gimpprint gpm gstreamer gtk gtk2 ieee1394 imlib java javascript
jikes jpeg jpeg2k libg++ libwww lm_sensors lzw lzw-tiff mad matroska mikmod
motif mp3 mpeg mysql ncurses nls nptl nptlonly ogg oggvorbis openal opengl oss
pam pdflib perl php png python qt quicktime readline real rss ruby samba sdl
server softmmu spell ssl tcltk tcpd tiff truetype truetype-fonts type1-fonts
unicode usb userlocales vcd visualization vorbis wxwindows xml2 xmms xpm xv xvid
zlib ~amd64 userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LDFLAGS, LINGUAS
Comment 2 t35t0r 2005-09-06 13:49:37 UTC
could you attach your .config file for the kernel for which this error is occurring?
Comment 3 razor1394 2005-09-06 13:57:38 UTC
Created attachment 67765 [details]
2.6.13 kernel config from the affected computer

Done.
Comment 4 Jeremy Huddleston (RETIRED) gentoo-dev 2005-10-28 00:42:39 UTC
The problem is here: -DNV_VMAP_2_PRESENT

Your kernelt's vmap() takes 4 args... I don't see why that's getting set instead
of -DNV_VMAP_4_PRESENT
Comment 5 Stephen Becker (RETIRED) gentoo-dev 2005-12-26 10:20:24 UTC
(In reply to comment #3)
> The problem is here: -DNV_VMAP_2_PRESENT
> 
> Your kernelt's vmap() takes 4 args... I don't see why that's getting set instead
> of -DNV_VMAP_4_PRESENT

Take a look at bug #116543.  I have no idea why this is happening either, but it seems to be related to something having to do with the portage environment, as the make command which is executed to compile the module works if you do it by hand in the portage tmpdir.
Comment 6 Stephen Becker (RETIRED) gentoo-dev 2005-12-26 10:21:38 UTC
forgot to add myself to the CC, sorry for the bugspam...
Comment 7 Jakub Moc (RETIRED) gentoo-dev 2006-11-09 02:17:52 UTC
Obsolete bug concerning obsolete drivers version and obsolete kernel. Closing.