Re: 2.6.14 assembler compilation error
From: Alpt
Date: Sun Dec 25 2005 - 23:59:08 EST
On Sat, Dec 24, 2005 at 02:47:53PM +0100, <Alpt>:
~> AS arch/i386/kernel/head.o
~> include/asm-generic/pgtable.h: Assembler messages:
~> include/asm-generic/pgtable.h:114: Error: no such instruction: `static inline void ptep_mkdirty(pte_t *ptep)'
~> include/asm-generic/pgtable.h:115: Error: junk at end of line, first unrecognized character is `{'
~> include/asm-generic/pgtable.h:116: Error: invalid character '_' in mnemonic
~> include/asm-generic/pgtable.h:117: Error: invalid character '_' in mnemonic
~> include/asm-generic/pgtable.h:118: Error: junk at end of line, first unrecognized character is `}'
~> make[1]: *** [arch/i386/kernel/head.o] Error 1
~> make: *** [arch/i386/kernel] Error 2
It is compiling \o/
The function ptep_mkdirty doesn't exist at all!
A quick grep -r verifies that.
I re-downloaded the kernel tarball and now it is working.
For some reasons the tarball I was using (dwloaded from kernel.org) got
corrupted, but since I was getting an error on ptep_mkdirty(), I didn't notice
it. I thought of ptep_mkdirty as ptep_make_dirty. Damn, the tarball was dirty!
This is one more reason to begin to learn all the kernel source code.
Well, time to reboot.
--
:wq!
"I don't know nothing" The One Who reached the Thinking Matter '.'
[ Alpt --- Freaknet Medialab ]
[ GPG Key ID 441CF0EE ]
[ Key fingerprint = 8B02 26E8 831A 7BB9 81A9 5277 BFF8 037E 441C F0EE ]
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/