-
errors while making modules
I try to build a new Kernel, everythink works fine on my system but im not able to make a new kernel. I read allready the Instruction here but always i do "make modules" i get following error :
agpgart_be.c: In function `agp_generic_create_gatt_table':
agpgart_be.c:591: warning: assignment from incompatible pointer type
agpgart_be.c: In function `amd_create_gatt_table':
agpgart_be.c:2476: warning: assignment from incompatible pointer type
agpgart_be.c:2477: warning: assignment from incompatible pointer type
agpgart_be.c: In function `amd_free_gatt_table':
agpgart_be.c:2503: warning: assignment from incompatible pointer type
agpgart_be.c:2504: warning: assignment from incompatible pointer type
agpgart_be.c: In function `serverworks_create_gatt_table':
agpgart_be.c:3587: warning: assignment from incompatible pointer type
agpgart_be.c:3588: warning: assignment from incompatible pointer type
agpgart_be.c: In function `serverworks_free_gatt_table':
agpgart_be.c:3616: warning: assignment from incompatible pointer type
agpgart_be.c:3617: warning: assignment from incompatible pointer type
ld -m elf_i386 -r -o agpgart.o agpgart_fe.o agpgart_be.o
make[3]: Leaving directory `/usr/src/kernel-source-2.4.20-xfs/drivers/char/agp'
make -C drm modules
make[3]: Entering directory `/usr/src/kernel-source-2.4.20-xfs/drivers/char/drm'
gcc-2.95 -D__KERNEL__ -I/usr/src/kernel-source-2.4.20-xfs/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i686 -DMODULE -nostdinc -iwithprefix include -DKBUILD_BASENAME=tdfx_drv -c -o tdfx_drv.o tdfx_drv.c
In file included from tdfx_drv.c:35:
drmP.h:932: redefinition of `__cmpxchg'
/usr/src/kernel-source-2.4.20-xfs/include/asm/system.h:244: `__cmpxchg' previously defined here
make[3]: *** [tdfx_drv.o] Fehler 1
make[3]: Leaving directory `/usr/src/kernel-source-2.4.20-xfs/drivers/char/drm'
make[2]: *** [_modsubdir_drm] Fehler 2
make[2]: Leaving directory `/usr/src/kernel-source-2.4.20-xfs/drivers/char'
make[1]: *** [_modsubdir_char] Fehler 2
make[1]: Leaving directory `/usr/src/kernel-source-2.4.20-xfs/drivers'
make: *** [_mod_drivers] Fehler 2
I allready updated the System and changed the DRI drivers, so i dont want to reinstall to try if it works on a fresh install.
please help
-
I got the exact same thing after building Free S/Wan for the 2.4.20-xfs kernel with "make oldgo" in the Fre S/Wan source directory. The only other modification I made to the kernel configuration was the definition of the correct processor. Did you managed to get i build properly?
many thanks
gronk
Similar Threads
-
By wicking in forum Hdd Install / Debian / Apt
Replies: 0
Last Post: 08-06-2004, 07:50 PM
-
By gus in forum Customising & Remastering
Replies: 0
Last Post: 07-22-2004, 09:52 AM
-
By mikekgr in forum Hdd Install / Debian / Apt
Replies: 0
Last Post: 06-30-2004, 08:01 AM
-
By gowator in forum Hdd Install / Debian / Apt
Replies: 8
Last Post: 02-06-2004, 01:51 PM
-
By Ambrose in forum Customising & Remastering
Replies: 3
Last Post: 08-12-2003, 05:01 PM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules

Dell 6P85J 4TB ST4000NM0063 7.2k 6Gb/s 3.5” SAS SED Hard Drive with Tray
$39.99

Western Digital HUS726T4TAL5204 4TB 7.2K SAS 12Gb/s 3.5" 512e HDD NetApp X375A
$64.00

DELL 2TB Enterprise HDD (7200RPM, 3.5", SATA III, 128MB Cache) HUS722T2TALA600
$49.95

Toshiba DT01ACA100 1 TB 3.5" SATA III 3.5 in Desktop Hard Drive
$24.99

Lot of 2 HP 4TB / 128MB SATA 7.2K RPM 3.5" Hard Drive MB4000GCWDC /ST4000NM0033
$125.00

Seagate Exos ST2000NX0253 HDD 2TB SATA 7.2K 2.5" 512b/s
$55.00

Dell ST6000NM0034 1HT27Z-150 NWCCG 6TB SAS 3.5 7.2K ENTERPRISE SERVER DRIVE
$68.99

Seagate 2.5" Barracuda 1TB SATA III 6Gbps HDD 2F110A-500
$19.99

Western Digital 1TB 3.5" SATA III 7200RPM Desktop Hard Drive
$34.99

HUS726060ALA640 HGST Ultrastar 6TB SATA 6Gbps 7.2K 3.5" Hard Drive OF21860
$129.99