Hi. When I patch my kernel with
savagefb-0.3.2-linux-2.4.26.patch.bz2, everything
seems to be ok.

# bunzip2 -c ../savagefb-0.3.2-linux-2.4.26.patch.bz2
| patch -p1
patching file Documentation/Configure.help
Hunk #1 succeeded at 5180 (offset 67 lines).
patching file drivers/video/Config.in
patching file drivers/video/Makefile
patching file drivers/video/fbmem.c
patching file drivers/video/savagefb.c
patching file drivers/video/savagefb.h
patching file include/linux/fb.h

But when I try to compile it, everything works good up
until the very end where I get

gcc -D__KERNEL__
-I/usr/src/kernel-source-2.4.26/include -Wall
-Wstrict-prototypes -Wno-trigraphs
-fno-strict-aliasing -fno-common -O2
-fomit-frame-pointer -pipe
-mpreferred-stack-boundary=2 -march=athlon   -nostdinc
-iwithprefix include -DKBUILD_BASENAME=mmx  -c -o
mmx.o mmx.c
rm -f lib.a
ar  rcs lib.a checksum.o old-checksum.o delay.o
usercopy.o getuser.o memcpy.o strstr.o mmx.o
make[2]: Leaving directory
`/usr/src/kernel-source-2.4.26/arch/i386/lib'
make[1]: Leaving directory
`/usr/src/kernel-source-2.4.26/arch/i386/lib'
ld -m elf_i386 -T
/usr/src/kernel-source-2.4.26/arch/i386/vmlinux.lds -e
stext arch/i386/kernel/head.o
arch/i386/kernel/init_task.o init/main.o
init/version.o init/do_mounts.o \
        --start-group \
        arch/i386/kernel/kernel.o arch/i386/mm/mm.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/ide/idedriver.o drivers/cdrom/driver.o
drivers/sound/sounddrivers.o drivers/pci/driver.o
drivers/video/video.o drivers/media/media.o
crypto/crypto.o \
        net/network.o \
       
/usr/src/kernel-source-2.4.26/arch/i386/lib/lib.a
/usr/src/kernel-source-2.4.26/lib/lib.a
/usr/src/kernel-source-2.4.26/arch/i386/lib/lib.a \
        --end-group \
        -o vmlinux
local symbol 0: discarded in section `.text.exit' from
drivers/video/video.o
make: *** [vmlinux] Error 1

I am using the kernel from Debian and not the straight
linus kernel, if that matters.

The patch was from http://www.directfb.org/cgi-bin/cvsweb.cgi/DirectFB/patches/


        
                
__________________________________
Do you Yahoo!?
Friends.  Fun.  Try the all-new Yahoo! Messenger.
http://messenger.yahoo.com/ 


Reply via email to