Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 118601

Summary: media-video/nvidia-kernel-1.0.8178-r1 fails to compile: no member named `rlim'
Product: Gentoo Linux Reporter: FieldySnuts <sgtphou>
Component: Current packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: High    
Version: 2005.1   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: media-video/nvidia-kernel-1.0.8178-r1 merge log

Description FieldySnuts 2006-01-10 17:55:47 UTC
media-video/nvidia-kernel-1.0.8178-r1 fails to compile for me. This may only be with 2.6.15 kernels. I use the mm patchset. I am unable to test this on vanilla 2.6.15, as I have reiser4 filesystems and vanilla does not have that.

I do not believe this is related to bug #116543.

cc -Wp,-MD,/var/tmp/portage/nvidia-kernel-1.0.8178-r1/work/NVIDIA-Linux-x86-1.0
-8178-pkg1/usr/src/nv/.os-interface.o.d  -nostdinc -isystem /usr/lib/gcc/i686-pc-
linux-gnu/3.4.5/include -D__KERNEL__ -Iinclude  -include include/linux/autoconf.h
 -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-commo
n -ffreestanding -O2     -fomit-frame-pointer -pipe -msoft-float -mpreferred-stac
k-boundary=2 -fno-unit-at-a-time -march=athlon -Iinclude/asm-i386/mach-default -W
declaration-after-statement  -I/var/tmp/portage/nvidia-kernel-1.0.8178-r1/work/NV
IDIA-Linux-x86-1.0-8178-pkg1/usr/src/nv -Wall -Wimplicit -Wreturn-type -Wswitch -
Wformat -Wchar-subscripts -Wparentheses   -Wno-multichar  -Werror -O -fno-common
-MD    -Wno-cast-qual -Wno-error -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE  -DN
TRM -DNVRM -DDYNAMIC_SLI  -DNV_MAJOR_VERSION=1 -DNV_MINOR_VERSION=0 -DNV_PATCHLEV
EL=8178  -UDEBUG -U_DEBUG -DNDEBUG -DNV_MULTIPLE_BRIDGE_AGPGART_PRESENT -DNV_PM_M
ESSAGE_T_PRESENT -DNV_CHANGE_PAGE_ATTR_PRESENT  -DMODULE -D"KBUILD_STR(s)=#s" -D"
KBUILD_BASENAME=KBUILD_STR(os_interface)"  -D"KBUILD_MODNAME=KBUILD_STR(nvidia)"
-c -o /var/tmp/portage/nvidia-kernel-1.0.8178-r1/work/NVIDIA-Linux-x86-1.0-8178-p
kg1/usr/src/nv/.tmp_os-interface.o /var/tmp/portage/nvidia-kernel-1.0.8178-r1/wor
k/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src/nv/os-interface.c
In file included from /var/tmp/portage/nvidia-kernel-1.0.8178-r1/work/NVIDIA-Linu
x-x86-1.0-8178-pkg1/usr/src/nv/os-interface.c:26:
/var/tmp/portage/nvidia-kernel-1.0.8178-r1/work/NVIDIA-Linux-x86-1.0-8178-pkg1/us
r/src/nv/nv-linux.h:715:2: warning: #warning "conftest.sh failed, assuming remap_
page_range(4)!"
/var/tmp/portage/nvidia-kernel-1.0.8178-r1/work/NVIDIA-Linux-x86-1.0-8178-pkg1/us
r/src/nv/os-interface.c: In function `os_set_mlock_capability':
/var/tmp/portage/nvidia-kernel-1.0.8178-r1/work/NVIDIA-Linux-x86-1.0-8178-pkg1/us
r/src/nv/os-interface.c:1375: error: structure has no member named `rlim'
make[3]: *** [/var/tmp/portage/nvidia-kernel-1.0.8178-r1/work/NVIDIA-Linux-x86-1.
0-8178-pkg1/usr/src/nv/os-interface.o] Error 1
make[2]: *** [_module_/var/tmp/portage/nvidia-kernel-1.0.8178-r1/work/NVIDIA-Linu
x-x86-1.0-8178-pkg1/usr/src/nv] Error 2
NVIDIA: left KBUILD.
nvidia.ko failed to build!
make[1]: *** [mdl] Error 1
make: *** [module] Error 2

I will attach my full merge log.

Gentoo Base System version 1.12.0_pre13
Portage 2.1_pre3-r1 (default-linux/x86/2005.1, gcc-3.4.5, glibc-2.3.5-r3, 2.6.15-
mm2 i686)
=================================================================
System uname: 2.6.15-mm2 i686 AMD Athlon(TM) XP 1800+
ccache version 2.4 [enabled]
dev-lang/python:     2.3.5, 2.4.2
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-r1
sys-devel/binutils:  2.16.1-r1
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="-O2 -march=athlon-xp -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.5/env /usr/kde/3.5/share/config /usr/kde/
3.5/shutdown /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/X1
1/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=athlon-xp -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks notitles sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.chem.wisc.edu/gentoo/ ftp://gentoo.chem.wisc.edu/ge
ntoo/"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="x86 3dnow X aalib alsa apm audiofile avi berkdb bitmap-fonts bzip2 cdr chroo
t crypt curl dv dvd dvdr eds emboss encode ethereal exif expat fam ffmpeg flac fo
omaticdb fortran gdbm gif glut gmp gnome gpm gstreamer gtk gtk2 guile hal idn ima
gemagick imlib java jpeg kde kdeenablefinal lcms ldap libg++ libwww lua mad mikmo
d mmx mng motif mozilla mp3 mpeg ncurses nls nptl ogg oggvorbis openal opengl oss
 pam pcre pdflib perl png pwdb python qt quicktime readline recode samba sdl slan
g snmp spell sqlite sse ssl svga tcltk tiff truetype truetype-fonts type1-fonts u
dev usb vorbis xine xml xml2 xmms xv xvid zlib elibc_glibc kernel_linux userland_
GNU"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
Comment 1 FieldySnuts 2006-01-10 17:56:25 UTC
Created attachment 76795 [details]
media-video/nvidia-kernel-1.0.8178-r1 merge log
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2006-01-10 20:47:33 UTC

*** This bug has been marked as a duplicate of 118252 ***