From: Benjamin Herrenschmidt <benh@kernel.crashing.org>
To: Romain Dolbeau <dolbeau@irisa.fr>, <linuxppc-dev@lists.linuxppc.org>
Subject: Re: Trouble compiling 2.5.30 on old powermac
Date: Tue, 6 Aug 2002 14:45:42 +0200 [thread overview]
Message-ID: <20020806124542.24275@192.168.4.1> (raw)
In-Reply-To: <3D4FBE55.71B00BF7@irisa.fr>
>
>Hello all,
>
>first of all, a big thanks to all hackers for the 2.4.x
>releases that have been fine for me for a looong time :-)
>
>But to be able to port the "pm3fb" driver to 2.5, I need
>a 2.5.x kernel. None of those I tried compiled.
>Michel Dänzer suggested posting my problems here, so here
>it is.
>
>The box is an old 7500 upgraded with a 192Mhz 604e, running
>Debian (used to be "woody", now it's "sarge"). binutils come
>from Debian "sid" as I need the newer binutils for 2.5.
>Additional hardware include an old mac-flashed Matrox
>Millenium, and a Formac Proformance III video card (the one
>that need pm3fb).
>
>Source tree is linuxppc-2.5 from source.mvista.com,
>through rsync.
>
>1) at least 3 non-essential drivers cannot compile:
> the mac serial port, the mac floppy drive, and the
> external SCSI bus (53C94, MESH compiles). I can
> provide the errors if they're needed.
Yup, I fixed MESH, Cuda, via-pmu, adb, but not macserial nor
swim3 nor 53c94 yet, those are on my todo list. As far as macserial
is concerned, I need to look into the new serial driver framework
made by Russel King and figure out enough of it to port the driver.
>2) arch/ppc/kernel/process.c fails with:
>#####
> gcc -Wp,-MD,./.process.o.d -D__KERNEL__ -I/usr/src/linuxppc-2.5/include
>-Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-
>strict-aliasing -fno-common -I/usr/src/linuxppc-2.5/arch/ppc -msoft-float
>-pipe -ffixed-r2
>-Wno-uninitialized -mmultiple -mstring -nostdinc -iwithprefix include
>-DKBUILD_BASENAME=process -c -o process.o process.c
>process.c: In function `set_fpexc_mode':
>process.c:426: `PR_FP_EXC_PRECISE' undeclared (first use in this function)
>process.c:426: (Each undeclared identifier is reported only once
>process.c:426: for each function it appears in.)
>make[2]: *** [process.o] Error 1
>make[2]: Leaving directory `/usr/src/linuxppc-2.5/arch/ppc/kernel'
>#####
That's a new one. Paulus ? Incorrect merge ? Missing include ?
Ben.
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
next prev parent reply other threads:[~2002-08-06 12:45 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-08-06 12:17 Trouble compiling 2.5.30 on old powermac Romain Dolbeau
2002-08-06 12:45 ` Benjamin Herrenschmidt [this message]
2002-08-09 8:40 ` Romain Dolbeau
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=20020806124542.24275@192.168.4.1 \
--to=benh@kernel.crashing.org \
--cc=dolbeau@irisa.fr \
--cc=linuxppc-dev@lists.linuxppc.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;
as well as URLs for NNTP newsgroup(s).