Re: Compiling on 64-bit AMD
Arjan van de Ven <[email protected]> Mon, 03 Nov 2003 07:32:58 -0500
| Newsgroups | gmane.linux.redhat.taroon |
|---|---|
| Organization | Red Hat, Inc. |
| Message-ID | <[email protected]> |
On Mon, 2003-11-03 at 02:30, Michael Levine wrote:
> Hello,
> I am having trouble building a kernel module on AMD64 version of beta2,
> I keep getting:
> {standard input}:242035: Error: Incorrect register `%edx' used with `q'
> suffix
> {standard input}:245938: Error: Incorrect register `%eax' used with `q'
> suffix
> {standard input}:246454: Error: Incorrect register `%eax' used with `q'
> suffix
> {standard input}:246568: Error: Incorrect register `%edx' used with `q'
> suffix
this looks like you're using 32 bit headers...
are you sure you are compiling the module against the kernel headers and
not something else like the glibc headers ?
signature.asc
(application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (GNU/Linux) iD8DBQA/pkr5xULwo51rQBIRAm4ZAKCbFzXHErQlXwIQkeNFawnxntrthgCgiau/ w477mMphftGMEQXFXlwGbEQ= =fTvL -----END PGP SIGNATURE-----