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

Bug 21732

Summary: Nvidia-kernel doesn't compile on 2.5.69-mm9
Product: Gentoo Linux Reporter: Aaron Gyes <floam>
Component: [OLD] Core systemAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: major    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Aaron Gyes 2003-05-26 16:43:42 UTC
Works fine with mm8, in mm9 I get:

gcc -c -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts
-Wparentheses -Wcast-qual -Wno-multichar  -O -MD -D__KERNEL__ -DMODULE
-D_LOOSE_KERNEL_NAMES -DKBUILD_MODNAME="nvidia" -DNTRM -D_GNU_SOURCE
-D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE  -DNV_MAJOR_VERSION=1
-DNV_MINOR_VERSION=0 -DNV_PATCHLEVEL=4348  -DNV_UNIX   -DNV_LINUX  
-DNV_INT64_OK   -DNVCPU_X86      -DREMAP_PAGE_RANGE_5  -I.
-I/usr/src/linux/include -I/usr/src/linux/include/asm/mach-default
-Wno-cast-qual os-agp.c
os-agp.c:31: error: parse error before "agp_memory"
os-agp.c:31: warning: no semicolon at end of struct or union
os-agp.c:38: error: parse error before '}' token
os-agp.c:38: warning: type defaults to `int' in declaration of `agp_priv_data'
os-agp.c:38: warning: data definition has no type or storage class
os-agp.c:48: error: parse error before "agpinfo"
os-agp.c:48: warning: type defaults to `int' in declaration of `agpinfo'
os-agp.c:48: warning: data definition has no type or storage class
os-agp.c: In function `KernInitAGP':
os-agp.c:124: warning: passing arg 1 of pointer to function from incompatible
pointer type
os-agp.c:132: error: request for member `aper_base' in something not a structure
or union
os-agp.c:133: error: request for member `aper_size' in something not a structure
or union
os-agp.c:155: error: request for member `aper_base' in something not a structure
or union
os-agp.c:165: error: request for member `aper_size' in something not a structure
or union
os-agp.c:188: error: request for member `mode' in something not a structure or union
os-agp.c:189: error: request for member `mode' in something not a structure or union
os-agp.c:191: error: request for member `mode' in something not a structure or union
os-agp.c:192: error: request for member `mode' in something not a structure or union
os-agp.c:194: error: request for member `mode' in something not a structure or union
os-agp.c:196: error: request for member `aper_base' in something not a structure
or union
os-agp.c:198: error: request for member `aper_size' in something not a structure
or union
os-agp.c: In function `KernAllocAGPPages':
os-agp.c:263: error: `agp_memory' undeclared (first use in this function)
os-agp.c:263: error: (Each undeclared identifier is reported only once
os-agp.c:263: error: for each function it appears in.)
os-agp.c:263: error: `ptr' undeclared (first use in this function)
os-agp.c:265: error: `data' undeclared (first use in this function)
os-agp.c:301: error: request for member `aper_base' in something not a structure
or union
os-agp.c: In function `KernMapAGPPages':
os-agp.c:340: error: `agp_data' undeclared (first use in this function)
os-agp.c:340: error: parse error before ')' token
os-agp.c:347: error: request for member `aper_base' in something not a structure
or union
os-agp.c: In function `KernMapAGPNopage':
os-agp.c:390: error: `agp_data' undeclared (first use in this function)
os-agp.c:390: error: parse error before ')' token
os-agp.c:391: error: `agp_memory' undeclared (first use in this function)
os-agp.c:391: error: `agp_memory_ptr' undeclared (first use in this function)
os-agp.c: In function `KernFreeAGPPages':
os-agp.c:434: error: `agp_memory' undeclared (first use in this function)
os-agp.c:434: error: `ptr' undeclared (first use in this function)
os-agp.c:435: error: `data' undeclared (first use in this function)
make: *** [os-agp.o] Error 1
 
!!! ERROR: media-video/nvidia-kernel-1.0.4363-r1 failed.
!!! Function src_compile, Line 104, Exitcode 2
!!! (no error message)


Reproducible: Always
Steps to Reproduce:
1.Emerge latest mm-sources
2.Reboot or update-modules
3.emerge nvidia-driver

Actual Results:  
It doesn't compile.

Expected Results:  
It should compile fine.

Not sure what the Severity should be, but I'm marking it as Major since it keeps
be from using my system mostly.
Comment 1 Aaron Gyes 2003-05-26 16:45:11 UTC
Sorry, dupe.
Comment 2 Martin Holzer (RETIRED) gentoo-dev 2003-05-26 17:41:31 UTC

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