🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.linux.development
Article #2

Re: Problems compiling 1.1.54

#2
From: WE Metzenthen
Date: Mon, 17 Oct 1994 03:14
40 lines
2766 bytes
Huw Davies (cchd@lucifer.latrobe.edu.au) wrote:
: I've just applied the 1.1.54 patches to a (working) copy of 1.1.53, ran
: make config choosing the usual group of options (although I added ISO9660
: support which I must have accidentally turned off building 1.1.53) and
: then ran make zImage. Sadly I get compile time errors (see below). I've
: tried rebuilding the compiler with and without elf support but the errors
: remain.

: Given that noone else has complained, I assume that it's a problem with
: my setup (most likely, I need a later version of something). Any pointers
: appreciated.

: Here is the section I'm having difficulties with....

: make[2]: Entering directory `/usr/src/linux/fs'
: gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-f
: rame-pointer -pipe -m486 -DMODULE -c binfmt_elf.c
: binfmt_elf.c:36: warning: function declaration isn't a prototype
: binfmt_elf.c:825: redefinition of `padzero'
: binfmt_elf.c:61: `padzero' previously defined here

(Almost) Everyone applying patch54 would get the same problem. Here
is what I did:

RTFM (Read The Failure Message ;-), then look at binfmt_elf.c and
take about 1 minute to conclude that binfmt_elf.c actually contains
two complete (but slightly different) versions of the same thing.
Then look at patch54.gz to confirm that Linus didn't have a
binfmt_elf.c to patch against -- SNAFU.

Solution: A number of possibilities, but I chose to edit binfmt_elf.c
by hand to remove the old version from the file.

--
Bill Metzenthen
Mathematics Department
Monash University
Clayton, Victoria, Australia
email: billm@vaxc.cc.monash.edu.au
       billm@euler.maths.monash.edu.au
Technical Details
Message-ID: <37sq7j$se1@harbinger.cc.monash.edu.au>
Path: arc1-ca.pugleaf.net!bga.com!news.sprintlink.net!howland.reston.ans.net!europa.eng.gtefsd.com!aggedor.rmit.EDU.AU!harbinger.cc.monash.edu.au!jacobi.maths.monash.edu.au!billm
References: <1994Oct17.002333.18902@lugb.latrobe.edu.au>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 135ade,4037f7d75eb7e98b,start
X-Google-Attributes: gid135ade,public
X-Google-Thread: 102983,4037f7d75eb7e98b,start
X-Google-Attributes: gid102983,public
X-Google-Thread: 10c7cf,4037f7d75eb7e98b,start
X-Google-Attributes: gid10c7cf,public
X-Google-ArrivalTime: 1994-10-16 20:43:52 PST
Path: arc1-ca.pugleaf.net!bga.com!news.sprintlink.net!howland.reston.ans.net!europa.eng.gtefsd.com!aggedor.rmit.EDU.AU!harbinger.cc.monash.edu.au!jacobi.maths.monash.edu.au!billm
From: billm@jacobi.maths.monash.edu.au (WE Metzenthen)
Newsgroups: comp.os.linux.development,aus.computers.linux,latrobe.linux
Subject: Re: Problems compiling 1.1.54
Followup-To: comp.os.linux.development,aus.computers.linux,latrobe.linux
Date: 17 Oct 1994 03:14:59 GMT
Organization: Monash University
Lines: 40
Message-ID: <37sq7j$se1@harbinger.cc.monash.edu.au>
References: <1994Oct17.002333.18902@lugb.latrobe.edu.au>
NNTP-Posting-Host: jacobi.maths.monash.edu.au
X-NNTP-Posting-User: billm
X-Newsreader: TIN [version 1.2 PL2]