mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Jurgen Philippaerts <jurgen@pophost.eunet.be>
To: linux-kernel@vger.kernel.org
Subject: Re: Linux 2.4.19-pre6 doesn't compile on Alpha and sparc64
Date: Fri, 5 Apr 2002 15:02:24 +0200	[thread overview]
Message-ID: <20020405130224.GF22422@sparkie.is.traumatized.org> (raw)
In-Reply-To: <20020405105409.GA29804@alpha.of.nowhere> <Pine.GSO.4.21.0204050636100.25849-100000@weyl.math.psu.edu> <20020405124616.GE22422@sparkie.is.traumatized.org>

On Fri, Apr 05, 2002 at 03:00:11PM +0200, Jurgen Philippaerts wrote:
> On Fri, Apr 05, 2002 at 02:00:14PM +0200, Alexander Viro wrote:
> > 
> > > init/do_mounts.c:45: parse error before `mount_initrd'
> > [snip]
> > 
> > Looks like a missing init.h - sorry, this sucker didn't get caught (on
> > x86 slab.h ends up pulling it in, on alpha it doesn't).
> > 
> > Fix: add #include <linux/init.h> in init/do_mounts.c
> 
> same on sparc64.
> adding the extra #include fixes it.

but then it goes wrong with `make modules`

ps: pre5 did work.

sparc64-linux-gcc -D__KERNEL__ -I/usr/src/linux2419pre6/include -Wall
-Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing
-fno-common -fomit-frame-pointer -m64 -pipe -mno-fpu -mcpu=ultrasparc
-mcmodel=medlow -ffixed-g4 -fcall-used-g5 -fcall-used-g7
-Wno-sign-compare -Wa,--undeclared-regs -DMODULE  -nostdinc -I
/usr/lib/gcc-lib/sparc64-slackware-linux/egcs-2.92.11/include
-DKBUILD_BASENAME=nfsctl  -c -o nfsctl.o nfsctl.c
nfsctl.c:316: parse error before `nfsd_init'
nfsctl.c:317: warning: return-type defaults to `int'
nfsctl.c:334: parse error before `nfsd_exit'
nfsctl.c:335: warning: return-type defaults to `int'
nfsctl.c: In function `nfsd_exit':
nfsctl.c:345: warning: control reaches end of non-void function
nfsctl.c: At top level:
nfsctl.c:347: warning: type defaults to `int' in declaration of
`module_init'
nfsctl.c:347: warning: parameter names (without types) in function
declaration
nfsctl.c:347: warning: data definition has no type or storage class
nfsctl.c:348: warning: type defaults to `int' in declaration of
`module_exit'
nfsctl.c:348: warning: parameter names (without types) in function
declaration
nfsctl.c:348: warning: data definition has no type or storage class
make[2]: *** [nfsctl.o] Error 1
make[2]: Leaving directory `/usr/src/linux2419pre6/fs/nfsd'
make[1]: *** [_modsubdir_nfsd] Error 2
make[1]: Leaving directory `/usr/src/linux2419pre6/fs'
make: *** [_mod_fs] Error 2


Jurgen.
-- 
http://www.tuxedo.org/~esr/faqs/smart-questions.html

Linux sparkie 2.4.19-pre5 #1 Thu Apr 4 19:14:41 CEST 2002 sparc64 unknown
  2:55pm  up 19:08,  8 users,  load average: 0.01, 0.26, 0.45

  reply	other threads:[~2002-04-05 13:07 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-04-05  5:00 Linux 2.4.19-pre6 Marcelo Tosatti
2002-04-05 10:54 ` Linux 2.4.19-pre6 doesn't compile on Alpha Jurriaan on Alpha
2002-04-05 11:48   ` Alexander Viro
2002-04-05 12:46     ` Linux 2.4.19-pre6 doesn't compile on Alpha and sparc64 Jurgen Philippaerts
2002-04-05 13:02       ` Jurgen Philippaerts [this message]
2002-04-05 13:07         ` David S. Miller
2002-04-07 16:30 ` Linux 2.4.19-pre6 Pavel Machek
2002-04-07 23:16   ` Robert Love

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20020405130224.GF22422@sparkie.is.traumatized.org \
    --to=jurgen@pophost.eunet.be \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®