2001-11-15 23:12:14

by Manoj Iyer

[permalink] [raw]
Subject: 2.4.15.pre4 compile breaks on ppc


I am building Linux power pc kernel 2.4.15.pre4 and I see the following
error...

ld -r -o x.o start.o xmon.o ppc-dis.o ppc-opc.o subr_prf.o setjmp.o
make[2]: Leaving directory `/usr/src/linux.2.4.15.pre4/arch/ppc/xmon'
make[1]: Leaving directory `/usr/src/linux.2.4.15.pre4/arch/ppc/xmon'
ld -T arch/ppc/vmlinux.lds -Ttext 0xc0000000 -Bstatic
arch/ppc/kernel/head.o init/main.o init/version.o \
--start-group \
arch/ppc/kernel/kernel.o arch/ppc/mm/mm.o arch/ppc/lib/lib.o
kernel/kernel.o mm/mm.o fs/fs.o ipc/ipc.o arch/ppc/xmon/x.o \
drivers/char/char.o drivers/block/block.o drivers/misc/misc.o
drivers/net/net.o drivers/media/media.o drivers/net/fc/fc.o
drivers/ide/idedriver.o drivers/scsi/scsidrv.o drivers/cdrom/driver.o
drivers/pci/driver.o drivers/net/wireless/wireless_net.o
drivers/macintosh/macintosh.o drivers/video/video.o drivers/usb/usbdrv.o
drivers/input/inputdrv.o drivers/md/mddev.o \
net/network.o \
/usr/src/linux.2.4.15.pre4/lib/lib.a \
--end-group \
-o vmlinux
fs/fs.o: In function `cpuinfo_open':
fs/fs.o(.text+0x2b06e): undefined reference to `cpuinfo_op'
fs/fs.o(.text+0x2b072): undefined reference to `cpuinfo_op'
make: *** [vmlinux] Error 1
root@acura:/usr/src/linux.2.4.15.pre4 >

Kindly copy [email protected] to your reply, I dont subscribe to this
list.

I really appreciate any help.

Thanks
Manoj Iyer


2001-11-15 23:46:01

by Tom Rini

[permalink] [raw]
Subject: Re: 2.4.15.pre4 compile breaks on ppc

On Thu, Nov 15, 2001 at 05:01:20PM -0600, Manoj Iyer wrote:

> I am building Linux power pc kernel 2.4.15.pre4 and I see the following
> error...
[snip]

The cpuinfo stuff has changed. Hopefully 2.4.15-pre5 will be OK. In
the mean time, look at http://penguinppc.org/dev/kernel.shtml

--
Tom Rini (TR1265)
http://gate.crashing.org/~trini/