[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Compiling 1.2.13 using current frozen distribution

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 :)


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:         miquels@drinkel.cistron.nl (Miquel van Smoorenburg)
Date:         1996/07/13
Message-Id:   <4s8dim$1sf@drinkel.cistron.nl>
References:   <199607120237.VAA17422@widget.ecn.purdue.edu>
X-Submitted-Via: news@ratatosk.yggdrasil.com (linux.* gateway)
Resent-Cc:    recipient list not shown: ;
Old-Return-Path: <miquels@drinkel.cistron.nl>
X-Mailing-List: <debian-User@lists.debian.org> archive/latest/3519
X-Hdr-Sender: miquels@drinkel.cistron.nl 
Resent-From:  debian-User@lists.debian.org
Organization: Alcohol Diseases R&D
Resent-Date:  14 Jul 1996 05:01:08 -0000
X-Env-Sender: debian-User-Request@lists.debian.org
Newsgroups:   linux.debian.user
Resent-Message-Id: <"onRJw.0.Fd1.Ky7wn"@vega>
X-Loop:       debian-User@lists.debian.org
Resent-Sender: debian-User-Request@lists.debian.org

In article <199607120237.VAA17422@widget.ecn.purdue.edu>,
Brian K Servis  <servis@ecn.purdue.edu> 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 )

+ Miquel van Smoorenburg   + Cistron Internet Services +  Living is a     |
| miquels@cistron.nl (SP6) | Independent Dutch ISP     |   horizontal     |
+ miquels@drinkel.ow.org   + http://www.cistron.nl/    +      fall        +

TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-user-REQUEST@lists.debian.org . Trouble? e-mail to Bruce@Pixar.com

Reply to: