Hiya all, Am having trouble compiling kernel 1.2.13 Had a look at DejaNews to see if anyone else has been having the same trouble and found the message enclosed below. Following the instructions therein, solved those particular problems:
I insalled aout-gcc and aout-binutils and modified the path as suggested (doing a which gcc, confirmed this), but nevertheless kept getting errors: > make[1]: *** [kernel.o] Segmentation fault > make[1]: *** Deleting file `kernel.o' > make[1]: Leaving directory `/usr/src/linux/kernel' > make: *** [linuxsubdirs] Error 2 (I was playing around with the Makefile in ./drivers/char in order to add a new driver to it - so that _could_ be the reason, but I don't think so -- if anyone has had any luck with the Advantech PCL812PG labcard driver let me know. Compiling 1.2.13 is just a sanity check to ensure that the driver problems aren't due to the new kernels :) Regards, jay ps: Brian, did you have any luck compiling 1.2.13 ? pps: please CC to me, since am not on the list Subject: Re: 1.2.13 kernel on Debian 1.1? From: [EMAIL PROTECTED] (Miquel van Smoorenburg) Date: 1996/07/13 Message-Id: <[EMAIL PROTECTED]> References: <[EMAIL PROTECTED]> X-Submitted-Via: [EMAIL PROTECTED] (linux.* gateway) Resent-Cc: recipient list not shown: ; Old-Return-Path: <[EMAIL PROTECTED]> X-Mailing-List: <debian-User@lists.debian.org> archive/latest/3519 X-Hdr-Sender: [EMAIL PROTECTED] Resent-From: debian-User@lists.debian.org Organization: Alcohol Diseases R&D Resent-Date: 14 Jul 1996 05:01:08 -0000 X-Env-Sender: [EMAIL PROTECTED] Newsgroups: linux.debian.user Resent-Message-Id: <"onRJw.0.Fd1.Ky7wn"@vega> X-Loop: debian-User@lists.debian.org Resent-Sender: [EMAIL PROTECTED] In article <[EMAIL PROTECTED]>, Brian K Servis <[EMAIL PROTECTED]> wrote: >Is it possible to compile the 1.2.13 kernel source on a Debian 1.1 >system. If so then can someone help me with these errors? I have >applied the supermount-0.4a-1.2.13 patch to the kernel. Everything >goes well until "make zImage". I am running Matlab and it requires >the 1.2.* kernel. [....] >/usr/src/linux/include/asm/io.h:82: inconsistent operand constraints in an >`asm' >/usr/src/linux/include/asm/io.h:82: inconsistent operand constraints in an >`asm' This is because gcc-2.7.2 doesn't grok older asm statements. And when you fix that you'll discover that the kernel will not link because the build process expects an a.out binary and gcc produced an ELF binary. You should really switch to Linux 2.0 (2.0.6 is latest now). But if you really want a 1.2.13 kernel for some reason, install the aout-gcc compiler package. You can compile a 1.2.13 kernel with that one. Don't forget to adjust the PATH so that the a.out gcc will be found in your PATH before the ELF gcc. Something like ( export PATH=/usr/i486-linuxaout/bin:$PATH; make zImage ) Mike. -- + Miquel van Smoorenburg + Cistron Internet Services + Living is a | | [EMAIL PROTECTED] (SP6) | Independent Dutch ISP | horizontal | + [EMAIL PROTECTED] + http://www.cistron.nl/ + fall + -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED]