On Sun, 18 Mar 2007 18:54:38 +0100 Alexander Surma wrote: > Hi, > > I have cross-compiled some kernels now on my AMD64 for Sparc64-es, but it > seems that I can't do a 2.6.20-mm2. > I configured the kernel like always, but now the compilation process stops > with this output: > > == > GEN .version > CHK include/linux/compile.h > UPD include/linux/compile.h > CC init/version.o > LD init/built-in.o > LD .tmp_vmlinux1 > `stop_sioq' referenced in section `.init.text' of fs/built-in.o: defined in > discarded section `.exit.text' of fs/built-in.o > `mon_bin_exit' referenced in section `.init.text' of drivers/built-in.o: > defined in discarded section `.exit.text' of drivers/built-in.o > `mon_text_exit' referenced in section `.init.text' of drivers/built-in.o: > defined in discarded section `.exit.text' of drivers/built-in.o > make: *** [.tmp_vmlinux1] Error 1 > === > > Seems like the kernel was almost done. > I have to admit, that I commented the "-Werror" in the Makefiles > arch/sparc64/kernel/Makefile out, because it wouldn't compile just because of > an unused variable. Is that something crucial? No, it's just how the sparc64 maintainer wants it to be. > Do you know howto get the kernel to compile? Please tell me what information > you need to help me. The USB monitor bug has already been fixed in a later kernel. On the stop_sioq error, I also see it on a cross-build but not on a native x86_64 build. That's odd. It is incorrect (should not be marked as __exit since it is called from __init code and from __exit code). Do you want to submit a patch for that? --- ~Randy *** Remember to use Documentation/SubmitChecklist when testing your code *** -- To unsubscribe from this list: send an email with "unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx Please read the FAQ at http://kernelnewbies.org/FAQ