RE: Module Errors
Kevin Curtis <[email protected]>
| Newsgroups | gmane.linux.aurora.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi, I had exactly the same problem earlier this week, see earlier postings and replies. It turns out that you need kgcc. Kevin -----Original Message----- From: Anthony Mendoza [mailto:[email protected]] Sent: 02 May 2003 09:13 To: [email protected] Subject: [aurora-sparc-devel] Module Errors 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 _______________________________________________ aurora-sparc-devel mailing list [email protected] http://lists.linuxpower.org/mailman/listinfo/aurora-sparc-devel