[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

device3dfx-source does not compile for me. At least not with kernel 2.4.2-ac25

Hi all Debianers.

device3dfx-source does not compile for me.

I use kernel-package, make-kpkg.

This is what I use anyway:

I download kernel source from ftp.kernel.org by hand.

And run this command in /usr/local/src/kernel/linux-2.4.2/linux/
(with ln -s linux linux.ac for the Alan Cox patches :)

alias buildkernel='make-kpkg clean && make-kpkg --revision=custom.1.0
kernel_image && make-kpkg --revision=custom.1.0 kernel_headers'

Then dpkg -i install the resulting kernel-image and kernel-headers packages it
makes. And update my personally managed lilo.conf file, and also set the
/usr/src/linux symbolic link to the header directory

Then I run this in /usr/local/src/kernel/linux-2.4.2/linux/

alias buildmodules='make-kpkg clean && make-kpkg --revision=custom.1.0

And I get this error message eventually:


make[2]: Entering directory `/usr/src/modules/device3dfx'
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
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: In function `get_pgd_fast':
/usr/src/linux/include/asm/pgalloc.h:68: `boot_cpu_data_R1ee2fa50' undeclared
(first use in this function)
/usr/src/linux/include/asm/pgalloc.h:68: (Each undeclared identifier is reported
only once
/usr/src/linux/include/asm/pgalloc.h:68: 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:79: `boot_cpu_data_R1ee2fa50' 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:111: `boot_cpu_data_R1ee2fa50' 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:121: `boot_cpu_data_R1ee2fa50' undeclared
(first use in this function)
make[2]: *** [3dfx.o] Error 1
make[2]: Leaving directory `/usr/src/modules/device3dfx'
make[1]: *** [build-stamp] Error 2
make[1]: Leaving directory `/usr/src/modules/device3dfx'
Module /usr/src/modules/device3dfx failed.

I'm am not yet completely comfortable or familiar with the Debian Bug Reporting
system, so I post my problem here first.

Also, if there are better, or at least different, ways of doing the above, you
are free to inform me also. I don't have personal contact with any other Linux
enthusiasts in my local area. I live pretty much in the woods of South

Also, the alsa-source modules compile just fine using make-kpkg.

I have a request though... is there anyway to, when you have several kernel
module packages installed, i.e. in /usr/src/modules/ ..., is there a way to just
use make-kpkg to compile only one of them specifically at a time, and not
attempt to do compile them all at once each time... it is somewhat bothersome...
I now have to just work around it, but untarring each source package tar.gz file
separately, use make-kpkg to make the .deb file, then install, then remove the
/usr/src/modules/[name of directory] and then untar the other, and do it that
way, to prevent make-kpkg from trying to compile them all...

Brock Lynn
bytor / Euro-NDN on openprojects irc

Reply to: