Device3Dfx going to fail under 2.4.3?

2001-03-15
2001-04-18
  • A. J. Clark

    A. J. Clark - 2001-03-15

    Due to the IDE hardware on my ABit VP6, I've recently been running the AC series of 2.4.2 kernels.  However, it seems that with the changes in the memory handling (I'm guessing here), it's breaking the Device3Dfx build, which I *believe* will continue into the 2.4.3 stable and beyond.

    Here's what I get when building Device3Dfx:

    [adam@throbber Device3Dfx]$ make
    cc -o kinfo kinfo.c
    ./kinfo
    cc -DMODULE -D__KERNEL__ -I/usr/src/linux/include -O2 -m486 -fomit-frame-pointer -fno-strength-reduce -malign-loops=2 -malign-jumps=2 -malign-functions=2 -c -o 3dfx.o 3dfx_driver.c
    /usr/src/linux/include/asm/pgalloc.h: In function `get_pgd_fast':
    In file included from /usr/src/linux/include/linux/highmem.h:5,
                     from /usr/src/linux/include/linux/vmalloc.h:7,
                     from /usr/src/linux/include/asm/io.h:110,
                     from /usr/src/linux/include/asm/pci.h:26,
                     from /usr/src/linux/include/linux/pci.h:560,
                     from 3dfx_driver.c:125:
    /usr/src/linux/include/asm/pgalloc.h:47: `cpu_data_Rsmp_d1da2ceb' undeclared (first use in this function)
    /usr/src/linux/include/asm/pgalloc.h:47: (Each undeclared identifier is reported only once
    /usr/src/linux/include/asm/pgalloc.h:47: for each function it appears in.)
    /usr/src/linux/include/asm/pgalloc.h: In function `free_pgd_fast':
    /usr/src/linux/include/asm/pgalloc.h:58: `cpu_data_Rsmp_d1da2ceb' undeclared (first use in this function)
    /usr/src/linux/include/asm/pgalloc.h: In function `get_pte_fast':
    /usr/src/linux/include/asm/pgalloc.h:75: `cpu_data_Rsmp_d1da2ceb' undeclared (first use in this function)
    /usr/src/linux/include/asm/pgalloc.h: In function `free_pte_fast':
    /usr/src/linux/include/asm/pgalloc.h:85: `cpu_data_Rsmp_d1da2ceb' undeclared (first use in this function)
    make: *** [3dfx.o] Error 1

    Any suggestions, fixes, patches?  My UT is calling.  =)

     
    • Frédéric Marchand

      I got an Abit BP6 (with the celerons) and i'm running 2.4.2 and Device3Dfx worked fine.

      Just be sure that /usr/src/linux is your 2.4.2 source tree.

       
    • A. J. Clark

      A. J. Clark - 2001-03-17

      Right, it works fine under 2.4.2, but I've been using the AC patches (from about ac12, I believe), to correct a few problems with the VIA and Highpoint chipsets on the VP6.  That's when Device3dfx stopped compiling and started generating the messages above.

      /usr/src/linux always points to the active kernel I'm using, which it should be.

       
    • Artur Kedzierski

      I am getting similar problem under 2.4.3-ac9. This is the error:
      In file included from /usr/src/linux/include/linux/highmem.h:5,
                       from /usr/src/linux/include/linux/vmalloc.h:7,
                       from /usr/src/linux/include/asm/io.h:110,
                       from /usr/src/linux/include/asm/pci.h:26,
                       from /usr/src/linux/include/linux/pci.h:562,
                       from 3dfx_driver.c:125:
      /usr/src/linux/include/asm/pgalloc.h: In function `get_pgd_fast':
      /usr/src/linux/include/asm/pgalloc.h:74: `boot_cpu_data_R65dda927' undeclared (first use in this function)
      /usr/src/linux/include/asm/pgalloc.h:74: (Each undeclared identifier is reported only once
      /usr/src/linux/include/asm/pgalloc.h:74: for each function it appears in.)
      /usr/src/linux/include/asm/pgalloc.h: In function `free_pgd_fast':
      /usr/src/linux/include/asm/pgalloc.h:85: `boot_cpu_data_R65dda927' undeclared (first use in this function)
      /usr/src/linux/include/asm/pgalloc.h: In function `pte_alloc_one_fast':
      /usr/src/linux/include/asm/pgalloc.h:117: `boot_cpu_data_R65dda927' undeclared (first use in this function)
      /usr/src/linux/include/asm/pgalloc.h: In function `pte_free_fast':
      /usr/src/linux/include/asm/pgalloc.h:127: `boot_cpu_data_R65dda927' undeclared (first use in this function)
      make: *** [3dfx.o] Error 1

       

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks