[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

2.4.21-ben2 crashing on compilation



Hi guys,

I just rsync the 2.4.21-ben2 and, when compiling, two things happen:

If I activate the:

CONFIG_FB_CONTROL
CONFIG_FB_PLATINUM
CONFIG_FB_VALKYRIE

the compilation crashes with:

ld -T arch/ppc/vmlinux.lds -Ttext 0xc0000000 -Bstatic arch/ppc/kernel/head.o arch/ppc/kernel/idle_6xx.o init/main.o init/version.o init/do_mounts.o \        --start-group \
        arch/ppc/kernel/kernel.o arch/ppc/platforms/platform.o arch/ppc/mm/mm.o arch/ppc/lib/lib.o kernel/kernel.o mm/mm.o fs/fs.o ipc/ipc.o \
         drivers/char/char.o drivers/block/block.o drivers/misc/misc.o drivers/net/net.o drivers/char/drm/drm.o drivers/ide/idedriver.o drivers/scsi/scsidrv.o drivers/ieee1394/ieee1394drv.o
drivers/cdrom/driver.o drivers/sound/sounddrivers.o drivers/pci/driver.o drivers/pcmcia/pcmcia.o drivers/net/pcmcia/pcmcia_net.o drivers/net/wireless/wireless_net.o drivers/macintosh/macintosh.o
drivers/video/video.o drivers/usb/usbdrv.o drivers/media/media.o drivers/input/inputdrv.o drivers/i2c/i2c.o \
        net/network.o \
        /usr/src/2.4.21-ben2/lib/lib.a \
        --end-group \
        -o vmlinux
drivers/video/video.o(.data+0x238c): undefined reference to `fbcon_cfb32_setup'
drivers/video/video.o(.data+0x2390): undefined reference to `fbcon_cfb32_bmove'
drivers/video/video.o(.data+0x2394): undefined reference to `fbcon_cfb32_clear'
drivers/video/video.o(.data+0x2398): undefined reference to `fbcon_cfb32_putc'
drivers/video/video.o(.data+0x239c): undefined reference to `fbcon_cfb32_putcs'
drivers/video/video.o(.data+0x23ac): undefined reference to `fbcon_cfb32_clear_margins'
make[1]: *** [vmlinux] Error 1
make[1]: Leaving directory `/usr/src/2.4.21-ben2'
make: *** [stamp-build] Error 2
                                                                                                                                                     

Now, I really don't know what the heck those things are! I mean, I had them on
in my previous compilations, but really... are they needed? I thought I only
needed the Radeon FB activated... Also, is there any way of knowing which one of
the three the laptop has? Am I Platinum or am I a Valkyrie? :-)

My actual kernel config (that does not compile) regarding framebuffer, is the
following (I am only pasting the fields set to Y):

#
# Console drivers
#
CONFIG_VGA_CONSOLE=y

#
# Frame-buffer support
#
CONFIG_FB=y
CONFIG_DUMMY_CONSOLE=y
CONFIG_FB_OF=y
CONFIG_FB_CONTROL=y
CONFIG_FB_PLATINUM=y
CONFIG_FB_VALKYRIE=y
CONFIG_FB_RADEON=y
CONFIG_FBCON_ADVANCED=y
CONFIG_FBCON_CFB16=y
CONFIG_FBCON_CFB24=y
CONFIG_FBCON_MAC=y
CONFIG_FONT_8x8=y
CONFIG_FONT_8x16=y

Also, if I recompile without the CONTROL, PLATINUM and VALKYRIE, the kernel
compiles, and then crashes at boot time with a nice Ooops... but that stuff is
too complicated to copy it by hand! :-)  If needed, I will definelty do so, but
I would like to know if there is a way of "pasting" that (I can't think of one,
though...)

Any ideas on this one? BTW, I have a Powerbook G4 1GHz 15'', ATI Radeon Mobility
9000 M9.

Thanks!!

-- 
J. Javier Maestro
<jjmaestro@computer.org>
http://rigel.homelinux.com



Reply to: