kernel compiling problems

Rob Brandt yellowdog-general@lists.terrasoftsolutions.com
Mon Jul 7 19:49:01 2003


Hello;

Using YDL 2.2, source for kernel version 2.4.18 on a Beige G3.  I'm trying to
add support for SCSI CD-Roms as I posted in a message here last month.

I've gotten to "make vmlinux", and it runs for quite a while, but eventually
quits at:

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/appletalk/appletalk.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 \
        net/network.o \
        /usr/src/linux-2.4.18/lib/lib.a \
        --end-group \
        -o vmlinux
drivers/macintosh/macintosh.o: In function `pmu_handle_data':
drivers/macintosh/macintosh.o(.text.openfirmware+0x1554): undefined reference to
`set_backlight_level'
drivers/macintosh/macintosh.o(.text.openfirmware+0x1554): relocation truncated
to fit: R_PPC_REL24 set_backlight_level
make: *** [vmlinux] Error 1

I've looked for references to both openfirmware and backlighting, but all that I
can find I've turned off and still get the error.

Ideas?

TIA

Rob