* problem prom.c
@ 2002-01-13 21:05 k_fukui
0 siblings, 0 replies; only message in thread
From: k_fukui @ 2002-01-13 21:05 UTC (permalink / raw)
To: linuxppc-dev
Hi! Ben.
I got a compilation problem from your rsync tree(2.4.18.pre3).
Here is the error message.
I have questioon which is the patch correct?
Kaoru
gcc -D__KERNEL__ -I/usr/src/redhat/BUILD/linux/include -Wall -Wstrict-prototypes -Wno-trigra -fomit-frame-pointer -fno-strict-aliasing -fno-common -D__powerpc__ -fsigned-char -msoft-flpe -ffixed-r2 -Wno-uninitialized -mmultiple -mstring -DKBUILD_BASENAME=prom -c -o prom.o
prom.c: In function `prom_hold_cpus':
prom.c:300: `offset' undeclared (first use in this function)
prom.c:300: (Each undeclared identifier is reported only once
prom.c:300: for each function it appears in.)
make[1]: *** [prom.o] Error 1
make[1]: Leaving directory `/usr/src/redhat/BUILD/linux/arch/ppc/kernel'
make: *** [_dir_arch/ppc/kernel] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.55016 (%build)
diff -urN base/arch/ppc/kernel/prom.c fixed/arch/ppc/kernel/prom.c
--- base/arch/ppc/kernel/prom.c Fri Jan 11 22:40:35 2002
+++ fixed/arch/ppc/kernel/prom.c Mon Jan 14 05:50:14 2002
@@ -280,6 +280,7 @@
{
extern void __secondary_hold(void);
unsigned long i;
+ unsigned long offset = reloc_offset();
int cpu;
phandle node;
char type[16], *path;
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2002-01-13 21:05 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-01-13 21:05 problem prom.c k_fukui
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).