Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 24243 - nvidia-kernel-1.0.4363-r2 fails to compile
Summary: nvidia-kernel-1.0.4363-r2 fails to compile
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-07-10 13:24 UTC by Peter Karlsson
Modified: 2003-07-10 20:56 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Peter Karlsson 2003-07-10 13:24:35 UTC
When I try to upgrade the nvidia modules, the following happen:

>>> md5 src_uri ;-) NVIDIA_kernel-1.0-4363.tar.gz
>>> Unpacking source...
>>> Unpacking NVIDIA_kernel-1.0-4363.tar.gz to
/var/tmp/portage/nvidia-kernel-1.0.4363-r2/work
 * Linux kernel 2.4.21
>>> Source unpacked.
rm -f nv.o os-agp.o os-interface.o os-registry.o  nv-linux.o nv_compiler.h *.d
NVdriver nvidia.o
echo \#define NV_COMPILER \"`gcc -v 2>&1 | tail -1`\" > nv_compiler.h
gcc -c -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts
-Wparentheses -Wpointer-arith -Wcast-qual -Wno-multichar  -O -MD -D__KERNEL__
-DMODULE -D_LOOSE_KERNEL_NAMES -DNTRM -D_GNU_SOURCE -D_LOOSE_KERNEL_NAMES
-D__KERNEL__ -DMODULE  -DNV_MAJOR_VERSION=1 -DNV_MINOR_VERSION=0
-DNV_PATCHLEVEL=4363  -DNV_UNIX   -DNV_LINUX   -DNV_INT64_OK   -DNVCPU_X86     
-DREMAP_PAGE_RANGE_4  -I. -I/usr/src/linux/include -Wno-cast-qual nv.c
I fil inkluderad fr
Comment 1 Peter Karlsson 2003-07-10 13:24:35 UTC
When I try to upgrade the nvidia modules, the following happen:

>>> md5 src_uri ;-) NVIDIA_kernel-1.0-4363.tar.gz
>>> Unpacking source...
>>> Unpacking NVIDIA_kernel-1.0-4363.tar.gz to
/var/tmp/portage/nvidia-kernel-1.0.4363-r2/work
 * Linux kernel 2.4.21
>>> Source unpacked.
rm -f nv.o os-agp.o os-interface.o os-registry.o  nv-linux.o nv_compiler.h *.d
NVdriver nvidia.o
echo \#define NV_COMPILER \"`gcc -v 2>&1 | tail -1`\" > nv_compiler.h
gcc -c -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts
-Wparentheses -Wpointer-arith -Wcast-qual -Wno-multichar  -O -MD -D__KERNEL__
-DMODULE -D_LOOSE_KERNEL_NAMES -DNTRM -D_GNU_SOURCE -D_LOOSE_KERNEL_NAMES
-D__KERNEL__ -DMODULE  -DNV_MAJOR_VERSION=1 -DNV_MINOR_VERSION=0
-DNV_PATCHLEVEL=4363  -DNV_UNIX   -DNV_LINUX   -DNV_INT64_OK   -DNVCPU_X86     
-DREMAP_PAGE_RANGE_4  -I. -I/usr/src/linux/include -Wno-cast-qual nv.c
I fil inkluderad från nv.c:14:
nv-linux.h:24:31: linux/modversions.h: Filen eller katalogen finns inte
make: *** [nv.o] Fel 1

!!! ERROR: media-video/nvidia-kernel-1.0.4363-r2 failed.
!!! Function src_compile, Line 116, Exitcode 2
!!! (no error message)

Reproducible: Always
Steps to Reproduce:
1. Upgrade nvidia-kernel
2.
3.




My emerge info:

Portage 2.0.48-r1 (default-x86-1.4, gcc-3.2.2, glibc-2.3.1-r4)
=================================================================
System uname: 2.4.21 i686 Pentium II (Deschutes)
GENTOO_MIRRORS="http://gentoo.oregonstate.edu
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config
/usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config
/usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
PORTDIR="/usr/portage"
DISTDIR="/usr/portage/distfiles"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR_OVERLAY=""
USE="x86 oss 3dnow apm arts avi crypt cups encode gif jpeg kde gnome libg++
libwww mikmod mmx motif mpeg ncurses nls pdflib png quicktime spell truetype
xml2 xmms xv zlib gdbm berkdb slang readline svga tcltk java guile X sdl gpm
tcpd pam ssl perl python esd imlib oggvorbis gtk qt opengl mozilla cdr"
COMPILER="gcc3"
CHOST="i686-pc-linux-gnu"
CFLAGS="-mcpu=i686 -O3 -pipe"
CXXFLAGS="-mcpu=i686 -O3 -pipe"
ACCEPT_KEYWORDS="x86"
MAKEOPTS="-j2"
AUTOCLEAN="yes"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
FEATURES="sandbox ccache"
Comment 2 SpanKY gentoo-dev 2003-07-10 20:56:32 UTC
you have to setup your kernel properly ... 
 
that is to say, go into /usr/src/linux and do the whole `make menuconfig` and then do a 
`make dep`