Module Errors

"Anthony Mendoza" <[email protected]>
Newsgroups gmane.linux.aurora.devel
Message-ID <[email protected]>
I'm trying to compile a module via the following:

cc -D__KERNEL__ -D__KERNEL_MODULE_sparc=1 
-I/usr/src/linux-2.4.20-2.3sparc/include -Wall -Wstrict-prototypes 
-Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing 
-fno-common -Wno-unused -pipe -m32 -mtune=ultrasparc -DMODULE 
-DMODVERSIONS -include 
/usr/src/linux-2.4.20-2.3sparc/include/linux/modversions.h 
-DKBUILD_BASENAME=ppp_generic -DEXPORT_SYMTAB -c ppp_generic.c


I receive no errors, yet when I run depmod -a later I get:

Updating module dependencies
depmod: ELF file 
/lib/modules/2.4.20-2.3sparc/kernel/drivers/net/ppp_generic.o not for 
this architecture


Any ideas on what I should be looking at to fix this?

Any help appreciated.

--
"Try not.  Do or do not, there is no try." -Yoda
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.