Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 22499 - gaming-sources 2.4.20-gaming-r4 errors while compiling
Summary: gaming-sources 2.4.20-gaming-r4 errors while compiling
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: x86-kernel@gentoo.org (DEPRECATED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-06-09 12:12 UTC by Mike Basinger
Modified: 2003-06-11 17:04 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 Mike Basinger 2003-06-09 12:12:30 UTC
When trying to compile gaming-sources 2.4.20-r4, i get the following errors.

gcc -D__KERNEL__ -I/usr/src/linux-2.4.20-gaming-r4/include  -Wall
-Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common
-fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=athlon-xp  
-nostdinc -iwithprefix include -DKBUILD_BASENAME=agpgart_be  -DEXPORT_SYMTAB -c
agpgart_be.c
agpgart_be.c: In function `agp_generic_create_gatt_table':
agpgart_be.c:580: warning: assignment from incompatible pointer type
agpgart_be.c: In function `amd_create_gatt_table':
agpgart_be.c:2453: warning: assignment from incompatible pointer type
agpgart_be.c:2454: warning: assignment from incompatible pointer type
agpgart_be.c: In function `amd_free_gatt_table':
agpgart_be.c:2480: warning: assignment from incompatible pointer type
agpgart_be.c:2481: warning: assignment from incompatible pointer type
agpgart_be.c: At top level:
agpgart_be.c:4941: `PCI_DEVICE_ID_VIA_P4X333' undeclared here (not in a function)
agpgart_be.c:4941: initializer element is not constant
agpgart_be.c:4941: (near initialization for `agp_bridge_info[48].device_id')
agpgart_be.c:4946: initializer element is not constant
agpgart_be.c:4946: (near initialization for `agp_bridge_info[48]')
agpgart_be.c:4952: initializer element is not constant
agpgart_be.c:4952: (near initialization for `agp_bridge_info[49]')
agpgart_be.c:4973: initializer element is not constant
agpgart_be.c:4973: (near initialization for `agp_bridge_info[50]')
make[4]: *** [agpgart_be.o] Error 1
make[4]: Leaving directory `/usr/src/linux-2.4.20-gaming-r4/drivers/char/agp'
make[3]: *** [first_rule] Error 2
make[3]: Leaving directory `/usr/src/linux-2.4.20-gaming-r4/drivers/char/agp'
make[2]: *** [_subdir_agp] Error 2
make[2]: Leaving directory `/usr/src/linux-2.4.20-gaming-r4/drivers/char'
make[1]: *** [_subdir_char] Error 2
make[1]: Leaving directory `/usr/src/linux-2.4.20-gaming-r4/drivers'
make: *** [_dir_drivers] Error 2
Comment 1 Stuart Still 2003-06-11 15:29:28 UTC
I also have received this error.  My machine has the VT8363/8365 AGP chipset and my graphics card is a radeon r100.  It occured both when agpgart was compiled into the kernel and as a module, and did not occur when I removed the 'VIA chipset support' option (although this stops agp working despite the kernel compiling).  I assume it is related to the inclusion of the nforce2 chipset support.
Comment 2 Bob Johnson (RETIRED) gentoo-dev 2003-06-11 17:04:16 UTC
just fixed this error, youll need to emerge sync,  rm 
/usr/portage/distfiles/patches-2.4.20-gaming-r4.tar.bz2 and
redownload.