From: Paul M. <le...@li...> - 2003-07-20 13:44:11
|
On Sun, Jul 20, 2003 at 02:25:33PM +0100, Adrian McMenamin wrote: > Getting this - is this a configuration problem? (Though it seems to occur > whether initrd support is on or off). I'm just using the gcc 3.0.4 I use to > build 2.4 series kernels with. > > echo " .section .init.ramfs,\"a\"" > usr/initramfs_data.S > echo ".incbin \"usr/initramfs_data.cpio.gz\"" >> usr/initramfs_data.S > AS usr/initramfs_data.o > usr/initramfs_data.S: Assembler messages: > usr/initramfs_data.S:2: Error: Unknown pseudo-op: `.incbin' > make[2]: *** [usr/initramfs_data.o] Error 1 > make[1]: *** [usr] Error 2 > make: *** [vmlinux] Error 2 > That's interesting, it seems as if your assembler is slightly confused. I'm presently building the kernel with 3.2, and haven't noticed any such compilation problems. Since you likely aren't interested in initramfs to begin with, you can simply pop open usr/initramfs_data.S and remove the incbin line altogether if the problem persists. The relevant sections will still be generated by the ld script, so you should still be able to link just fine by doing this. Anyways, here's my 2.6.0-test1 .config if you want to try with this instead, though I suspect this same issue will happen since it appears to be more of an assembler issue. |