Hi now i am stuck again, lol.
I patch the kernel with the patch from nvidia for the agp support.
When i patch get something like chunk #1 failed et 607
and when i do 'make bzImage' I get the following, I cut the important stuff(I think) from the compile output:
Code:
d7xx_tco.o amd7xx_tco.c
make -C agp modules
make[3]: Entering directory `/usr/src/linux-2.4.20.SuSE/drivers/char/agp'
gcc -D__KERNEL__ -I/usr/src/linux-2.4.20.SuSE/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -Wno-sign-compare -finline-limit=2000 -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=athlon -DMODULE -nostdinc -iwithprefix include -DKBUILD_BASENAME=agpgart_fe -c -o agpgart_fe.o agpgart_fe.c
gcc -D__KERNEL__ -I/usr/src/linux-2.4.20.SuSE/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -Wno-sign-compare -finline-limit=2000 -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=athlon -DMODULE -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:589: warning: assignment from incompatible pointer type
agpgart_be.c: In function `amd_create_gatt_table':
agpgart_be.c:2499: warning: assignment from incompatible pointer type
agpgart_be.c:2500: warning: assignment from incompatible pointer type
agpgart_be.c: In function `amd_free_gatt_table':
agpgart_be.c:2526: warning: assignment from incompatible pointer type
agpgart_be.c:2527: warning: assignment from incompatible pointer type
agpgart_be.c: In function `x86_64_insert_memory':
agpgart_be.c:2819: warning: integer constant is too large for "long" type
agpgart_be.c:2820: warning: integer constant is too large for "long" type
agpgart_be.c: In function `amd_8151_configure':
agpgart_be.c:3002: warning: integer constant is too large for "long" type
agpgart_be.c: In function `serverworks_create_gatt_table':
agpgart_be.c:3608: warning: assignment from incompatible pointer type
agpgart_be.c:3609: warning: assignment from incompatible pointer type
agpgart_be.c: In function `serverworks_free_gatt_table':
agpgart_be.c:3637: warning: assignment from incompatible pointer type
agpgart_be.c:3638: warning: assignment from incompatible pointer type
agpgart_be.c: In function `nvidia_generic_setup':
agpgart_be.c:4347: error: structure has no member named `num_of_masks'
make[3]: *** [agpgart_be.o] Fout 1
make[3]: Leaving directory `/usr/src/linux-2.4.20.SuSE/drivers/char/agp'
make[2]: *** [_modsubdir_agp] Fout 2
make[2]: Leaving directory `/usr/src/linux-2.4.20.SuSE/drivers/char'
make[1]: *** [_modsubdir_char] Fout 2
make[1]: Leaving directory `/usr/src/linux-2.4.20.SuSE/drivers'
make: *** [_mod_drivers] Fout 2
MYAMD2600XP:/usr/src/linux-2.4.20.SuSE # gpgart_be.c:3638: warning: assignment from incompatible pointer type
bash: gpgart_be.c:3638:: command not found
MYAMD2600XP:/usr/src/linux-2.4.20.SuSE # agpgart_be.c: In function `nvidia_generic_setup':
> agpgart_be.c:4347: error: structure has no member named `num_of_masks'
> make[3]: *** [agpgart_be.o] Fout 1
> make[3]: Leaving directory `/usr/src/linux-2.4.20.SuSE/drivers/char/agp'
bash: command substitution: line 1: unexpected EOF while looking for matching `''
bash: command substitution: line 3: syntax error: unexpected end of file
bash: agpgart_be.c:: command not found
MYAMD2600XP:/usr/src/linux-2.4.20.SuSE # make[2]: *** [_modsubdir_agp] Fout 2
bash: make[2]:: command not found
MYAMD2600XP:/usr/src/linux-2.4.20.SuSE # make[2]: Leaving directory `/usr/src/linux-2.4.20.SuSE/drivers/char'
> make[1]: *** [_modsubdir_char] Fout 2
> make[1]: Leaving directory `/usr/src/linux-2.4.20.SuSE/drivers'
> make: *** [_mod_drivers] Fout 2
> MYAMD2600XP:/usr/src/linux-2.4.20.SuSE #gpgart_be.c:3638: warning: assignment from incompatible pointer type
> agpgart_be.c: In function `nvidia_generic_setup':
bash: command substitution: line 1: unexpected EOF while looking for matching `''
bash: command substitution: line 4: syntax error: unexpected end of file
bash: make[2]:: command not found
MYAMD2600XP:/usr/src/linux-2.4.20.SuSE # agpgart_be.c:4347: error: structure has no member named `num_of_masks'
> make[3]: *** [agpgart_be.o] Fout 1
> make[3]: Leaving directory `/usr/src/linux-2.4.20.SuSE/drivers/char/agp'
> make[2]: *** [_modsubdir_agp] Fout 2
> make[2]: Leaving directory `/usr/src/linux-2.4.20.SuSE/drivers/char'
bash: command substitution: line 1: unexpected EOF while looking for matching `''
bash: command substitution: line 4: syntax error: unexpected end of file
bash: agpgart_be.c:4347:: command not found
MYAMD2600XP:/usr/src/linux-2.4.20.SuSE # make[1]: *** [_modsubdir_char] Fout 2
bash: make[1]:: command not found
MYAMD2600XP:/usr/src/linux-2.4.20.SuSE # make[1]: Leaving directory `/usr/src/linux-2.4.20.SuSE/drivers'
> make: *** [_mod_drivers] Fout 2
Oh yeah 'Fout' = 'Error'
Pls help me