Re: Compilation linux-source-2.6.18
I have filed a bug (#429625). I don't need SMP. I just wanted to get the parallel port working. The easiest solution for me is probably just to stick with kernel 2.6.8 for a while. Thanks again, Ben -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Compilation linux-source-2.6.18
On Sun, Jun 17, 2007 at 03:05:30AM -0700, Ben wrote: Hello, I have just upgraded my 712 to etch and am trying to compile a kernel. Compilation fails in arch/parisc/mm/init.c with the following error: make-kpkg --initrd --append-to-version=-ben linux-image ... arch/parisc/mm/init.c:34: error: conflicting types for '_text' include/asm-generic/sections.h:6: error: previous declaration of '_text' was here ... Just confirmed I get the same thing with the linux-source-2.6.18 tar ball. I am using the debian linux-source-2.6.18 package. I remember that with 2.6.8 a patch had to be applied to the standard debian source package for hppa but that seems to have disappeared. 2.6.18 has outstanding patches for every arch. But I don't know how debian kernels are built and where to get those patches. I suspect you are missing a step. Can you tell us where you got the kernel build instructions from? thanks, grant -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Compilation linux-source-2.6.18
Hello Grant, Thank you for looking at this. My build instructions come from the man page for make-kpkg. (Is that what you meant?) In other words what I did was: apt-get linux-source-2.6.14 unpack the archive make menuconfig make-kpkg --initrd linux-image That procedure should be common to all architectures, but in the previous release hppa was an exception. There was a separate package called something like kernel-patch-2.6.8-hppa which had to be manually applied. There is no such patch available in the latest release, so I assumed (until compilation failed) that the hppa-specific stuff had been incorporated into the standard debian kernel source package as for the other architectures. When you say you get the same thing with the linux-source-2.6.18 tar ball do you mean you tried it with the standard (non Debian) source code? That is interesting. Ben -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Compilation linux-source-2.6.18
On Mon, Jun 18, 2007 at 12:45:49AM -0700, Ben wrote: Hello Grant, Thank you for looking at this. My build instructions come from the man page for make-kpkg. (Is that what you meant?) In other words what I did was: apt-get linux-source-2.6.14 unpack the archive make menuconfig make-kpkg --initrd linux-image Ok. That's essentially what I did too. That procedure should be common to all architectures, but in the previous release hppa was an exception. There was a separate package called something like kernel-patch-2.6.8-hppa which had to be manually applied. There is no such patch available in the latest release, so I assumed (until compilation failed) that the hppa-specific stuff had been incorporated into the standard debian kernel source package as for the other architectures. Well, hppa still needs such a patch for 2.6.18. Please file a bug against linux-source-2.6.18 package. Essentially the 4 offending lines need to be deleted in mm/init.c and recent SMP patches need to be backported. When you say you get the same thing with the linux-source-2.6.18 tar ball do you mean you tried it with the standard (non Debian) source code? That is interesting. No - I also installed linux-source-2.6.18 and unpacked the archive (.tar.bz2 file). If you are trying to build SMP kernel, my advice is to use parisc-2.6 git tree on git.kernel.org. Several SMP fixes went into that and seems to be fairly stable (outside of XFS problems). grant -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Compilation linux-source-2.6.18
Hello, I have just upgraded my 712 to etch and am trying to compile a kernel. Compilation fails in arch/parisc/mm/init.c with the following error: make-kpkg --initrd --append-to-version=-ben linux-image . arch/parisc/mm/init.c:34: error: conflicting types for '_text' include/asm-generic/sections.h:6: error: previous declaration of '_text' was here arch/parisc/mm/init.c:36: error: conflicting types for '_end' include/asm-generic/sections.h:13: error: previous declaration of '_end' was here arch/parisc/mm/init.c:37: error: conflicting types for '_init_begin' include/asm-generic/sections.h:9: error: previous declaration of '_init_begin' was here arch/parisc/mm/init.c:37: error: conflicting types for '_init_end' include/asm-generic/sections.h:9: error: previous declaration of '_init_end' was here make[2]: *** [arch/parisc/mm/init.o] Error 1 make[1]: *** [arch/parisc/mm] Error 2 I am using the debian linux-source-2.6.18 package. I remember that with 2.6.8 a patch had to be applied to the standard debian source package for hppa but that seems to have disappeared. Can anyone help? Thanks in advance, Ben Mulvihill -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]