[Breezy] 2.6.12 kernel compilation error

Bob Nielsen nielsen at oz.net
Fri Jun 3 22:47:35 UTC 2005


I want to compile a 2.6.12 kernel from Ubuntu linux-source-2.6.12 
with the Win4Lin patches added.  The patching didn't appear to have any 
problems, but when I try to compile the kernel, I get the following 
error:

arch/i386/kernel/acpi/wakeup.S: Assembler messages:
arch/i386/kernel/acpi/wakeup.S:184: Error: attempt to move .org backwards
arch/i386/kernel/acpi/wakeup.S:187: Error: attempt to move .org backwards
arch/i386/kernel/acpi/wakeup.S:191: Error: attempt to move .org backwards
arch/i386/kernel/acpi/wakeup.o: Bad value
arch/i386/kernel/acpi/wakeup.S:333: FATAL: Can't write 
arch/i386/kernel/acpi/wakeup.o: Bad value

I checked the buildinfo for the packaged linux-image-2.6.12-1-k7 and 
have all of the necessary packages installed EXCEPT for gcc-opt-1.16.  I 
cannot find any reference to this in the Ubuntu repository, although I 
don't know if has anything to do with the above error (The version of 
gcc-4.0 I have installed is 4.0.0-8ubuntu instead of 4.0.0.7ubuntu7).  
The file in question was not touched by the patch and I have been able 
to compile earlier kernel versions with the Win4Lin patches applied 
(2.6.12 includes the drivers for my PCHDTV HD-3000 card and I have had 
occasional problems patching those into earlier kernel versions).

I would appreciate any suggestions.

Bob 





More information about the ubuntu-users mailing list