Results 1 to 2 of 2

Thread: errors while making modules

Hybrid View

  1. #1
    Junior Member
    Join Date
    Jul 2003
    Posts
    1

    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

  2. #2
    Junior Member
    Join Date
    Aug 2003
    Posts
    1
    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

  1. Can't open dependencies file /lib/modules/extra/modules.dep
    By wicking in forum Hdd Install / Debian / Apt
    Replies: 0
    Last Post: 08-06-2004, 07:50 PM
  2. modules in /etc/modules not loading
    By gus in forum Customising & Remastering
    Replies: 0
    Last Post: 07-22-2004, 09:52 AM
  3. Many Errors at .xsession-errors file ...
    By mikekgr in forum Hdd Install / Debian / Apt
    Replies: 0
    Last Post: 06-30-2004, 08:01 AM
  4. Making modules persistant at boot -STILL OPEN
    By gowator in forum Hdd Install / Debian / Apt
    Replies: 8
    Last Post: 02-06-2004, 01:51 PM
  5. Modules.conf more recent the modules.dep
    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
  •  


(New) AMD Ryzen 7 5700X 8 Core 16 Thread AM4 Unlocked 3.4 GHz CPU OEM Tray picture

(New) AMD Ryzen 7 5700X 8 Core 16 Thread AM4 Unlocked 3.4 GHz CPU OEM Tray

$174.99



Intel Core i9-9900K SRG19 3.60GHz 16MB 8-Core LGA1151 B Grade CPU Processor picture

Intel Core i9-9900K SRG19 3.60GHz 16MB 8-Core LGA1151 B Grade CPU Processor

$175.00



Dell Optiplex 7050 Micro Core i5-7500 8 GB RAM 256GB SSD Microsoft Windows 11 picture

Dell Optiplex 7050 Micro Core i5-7500 8 GB RAM 256GB SSD Microsoft Windows 11

$89.99



Lenovo ThinkPad T14S Gen 1 8-Core 4750U 1.70 GHz 512 GB SSD 16 GB RAM Win11Pro picture

Lenovo ThinkPad T14S Gen 1 8-Core 4750U 1.70 GHz 512 GB SSD 16 GB RAM Win11Pro

$240.00



Intel Xeon E5 - 2667V2  / SR19W   3.30GHz 25MB  8-Core CPU Socket LGA2011 picture

Intel Xeon E5 - 2667V2 / SR19W 3.30GHz 25MB 8-Core CPU Socket LGA2011

$30.00



AMD Ryzen 7 9700X 8-Core 16-Thread 40MB Cache Socket AM5 9000 Series Processor picture

AMD Ryzen 7 9700X 8-Core 16-Thread 40MB Cache Socket AM5 9000 Series Processor

$245.99



AMD Ryzen 7 5800X 8-core, 16-Thread Unlocked Desktop Processor picture

AMD Ryzen 7 5800X 8-core, 16-Thread Unlocked Desktop Processor

$189.99



Microsoft Surface Go 2 Laptop Core i5 1135G7 2.4GHz 8GB 128GB SSD picture

Microsoft Surface Go 2 Laptop Core i5 1135G7 2.4GHz 8GB 128GB SSD

$179.99



HP Z420 Pro Workstation PC Xeon E5-2660 8-Core 64GB RAM Quadro K5000 128GB SSD picture

HP Z420 Pro Workstation PC Xeon E5-2660 8-Core 64GB RAM Quadro K5000 128GB SSD

$249.00



DELL Optiplex 780 SFF CORE2DUO 3.0GHz 8GB RAM 250GB HDDDVDRW NO OS picture

DELL Optiplex 780 SFF CORE2DUO 3.0GHz 8GB RAM 250GB HDDDVDRW NO OS

$99.99