From: Martin Costabel <costabel@wanadoo.fr>
To: mberglund <matt@realestatesafari.com>
Cc: "linuxppc-dev@lists.linuxppc.org" <linuxppc-dev@lists.linuxppc.org>
Subject: Re: Kernel compile errors in latest snap
Date: Fri, 18 Aug 2000 11:24:36 +0200 [thread overview]
Message-ID: <399D00D4.EBB750A4@wanadoo.fr> (raw)
In-Reply-To: Pine.LNX.4.21.0008180131200.1723-100000@europa.rcinfo.net
Hi,
both of the bugs you show have been mentioned here in the last couple of
days, and both are, despite heroic efforts by Paul and Cort to update
the bitkeeper tree to a working state, still present in the bitkeeper
tree (as is this annoying ifdef CONFIG_PPC_RTC bug in
arch/ppc/kernel/ppc_ksyms.c!)
mberglund wrote:
>
> Howdy guys, writing from sunny central florida.
>
> I'm trying to use the development kernel linuxppc_2_3.snap.tar.gz from
> fsmlabs from Aug 17 (the time stamp was about 6:59am our time). This is on
> a pmac 7200 which is running linuxppc 2000 and has had no real problems.
>
> The issue: Upon compiling the kernel we found some errors, one of which
> Chris (guy I work with) patched. The other is way outta my league. Where
> should mac_keyb.c be compiled from within the build?
It isn't. According to drivers/macintosh/Makefile, it is compiled in if
you have CONFIG_ADB_KEYBOARD=y or =m, but since the changes for the new
input layer on 2000/07/27, you cannot choose this config option any
more. The new input layer has not yet been accepted by Linus, so it is
probably better to keep the old files around, too.
> These are the errors and from where that function is referenced.
>
> drivers/input/inputdrv.o: In function `keyboard_input':
> drivers/input/inputdrv.o(.text+0x6c): undefined reference to
> `input_keycode'
[]
> drivers/input/adbhid.c:static void adbhid_input_keycode(int, int, int);
> drivers/input/adbhid.c: input_keycode(id, data[1], 0);
> drivers/input/adbhid.c: input_keycode(id, data[2], 0);
> drivers/input/adbhid.c:adbhid_input_keycode(int id, int keycode, int
This has been mentioned before. Until someone fixes it on bitkeeper,
just change the 2 occurrencies of input_keycode in
drivers/input/adbhid.c to adbhid_input_keycode.
> diff:
>
> -ur linuxppc_2_3.orig/drivers/macintosh/via-cuda.c linuxppc_2_3/drivers/macintosh/via-cuda.c
> --- linuxppc_2_3.orig/drivers/macintosh/via-cuda.c Thu Aug 17 02:46:34 2000
> +++ linuxppc_2_3/drivers/macintosh/via-cuda.c Thu Aug 17 10:57:10 2000
> @@ -121,7 +121,7 @@
> };
>
> #ifdef CONFIG_PPC
> -void
> +int
> find_via_cuda()
[]
Seems that Paul and Cort disagreed whether this should be void or int.
For a while it was int in include/linux/cuda.h and void in
drivers/macintosh/via-cuda.c, right now it is the other way round :-). I
guess it should be int in both cases, and you have to add int (0 or 1)
returns at four places, not only one.
On the other hand, even if it compiles, it will probably not boot (see
the recent discussion here). It might boot with yesterday's and today's
merging of test7-pre4, in particular changes to fs/exec.c, but this has
to be seen.
--
Martin
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
next prev parent reply other threads:[~2000-08-18 9:24 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-08-18 5:33 Kernel compile errors in latest snap mberglund
2000-08-18 9:24 ` Martin Costabel [this message]
2000-08-18 9:41 ` Benjamin Herrenschmidt
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=399D00D4.EBB750A4@wanadoo.fr \
--to=costabel@wanadoo.fr \
--cc=linuxppc-dev@lists.linuxppc.org \
--cc=matt@realestatesafari.com \
/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;
as well as URLs for NNTP newsgroup(s).