Re: compiling module on AMD64 machine
Arjan van de Ven <[email protected]> Fri, 17 Oct 2003 10:02:03 +0200
| Newsgroups | gmane.linux.redhat.taroon |
|---|---|
| Organization | Red Hat, Inc. |
| Message-ID | <[email protected]> |
On Fri, 2003-10-17 at 00:38, [email protected] wrote: > It is a module I received from a hardware vendor. > I am under NDA so I cannot post source. > > Here are the CFLAGS... > -I. -DMODULE -D__KERNEL__ -Ulinux -fno-strict-aliasing -pipe -Wall -Wstrict-prototypes -I/lib/modules/`uname -r`/build/include -D__KERNEL_SYSCALLS__ -DEXPORT_SYMTAB -Wuninitialized -Wpointer-arith -Wcast-align -O3 first of all these are not the same flags the kernel uses so there will/may be ABI differences... Also I assume you have kernel-source installed ?
signature.asc
(application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (GNU/Linux) iD8DBQA/j6H7xULwo51rQBIRAthqAKCDZPfM2XbtrJfRODeW780jdD7pKwCgjZh7 +MlUM9Ek6Uq4/9Svn4QVeEc= =Fp2W -----END PGP SIGNATURE-----