problems compiling external modules on 2.4.20-pre8

From: Fabio Massimo Di Nitto (fabbione@fabbione.net)
Date: Wed Oct 02 2002 - 00:04:16 EST


Hi all,
        I have a small problem compiling the old 3dfx module (shipped
with debian) but i can't really understand what I am missing here.
Any help would be really really appreciated. (even a nice RTFM that can
point me somewhere ;) ).

Thanks
Fabio

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/string.h:25,
                 from /usr/src/linux/include/linux/fs.h:23,
                 from 3dfx_driver.c:116:
/usr/src/linux/include/asm/string.h: In function `__constant_memcpy3d':
/usr/src/linux/include/asm/string.h:300: warning: return makes pointer
from integer without a cast
/usr/src/linux/include/asm/string.h: In function `__memcpy3d':
/usr/src/linux/include/asm/string.h:307: warning: return makes pointer
from integer without a cast
In file included from /usr/src/linux/include/linux/highmem.h:5,
                 from /usr/src/linux/include/linux/vmalloc.h:8,
                 from /usr/src/linux/include/asm/io.h:47,
                 from /usr/src/linux/include/asm/pci.h:35,
                 from /usr/src/linux/include/linux/pci.h:622,
                 from 3dfx_driver.c:119:
/usr/src/linux/include/asm/pgalloc.h: In function `get_pgd_fast':
/usr/src/linux/include/asm/pgalloc.h:78: `boot_cpu_data_R0657d037'
undeclared (first use in this function)
/usr/src/linux/include/asm/pgalloc.h:78: (Each undeclared identifier is
reported only once
/usr/src/linux/include/asm/pgalloc.h:78: 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:89: `boot_cpu_data_R0657d037'
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:122: `boot_cpu_data_R0657d037'
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:132: `boot_cpu_data_R0657d037'
undeclared (first use in this function)
make: *** [3dfx.o] Error 1

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Mon Oct 07 2002 - 22:00:32 EST