View previous topic :: View next topic |
Author |
Message |
oc666 Guru
Joined: 15 May 2006 Posts: 330 Location: Israel
|
Posted: Sun Jul 09, 2006 4:31 pm Post subject: kernel compile error |
|
|
When I compiled my kernel, I have this problem: Code: | make && make modules_install
CHK include/linux/version.h
SPLIT include/linux/autoconf.h -> include/config/*
CHK include/linux/compile.h
CHK usr/initramfs_list
GZIP kernel/config_data.gz
IKCFG kernel/config_data.h
CC kernel/configs.o
LD kernel/built-in.o
GEN .version
CHK include/linux/compile.h
UPD include/linux/compile.h
CC init/version.o
LD init/built-in.o
LD .tmp_vmlinux1
drivers/built-in.o:(.data+0x8a38): undefined reference to `cfb_fillrect'
drivers/built-in.o:(.data+0x8a40): undefined reference to `cfb_copyarea'
drivers/built-in.o:(.data+0x8a48): undefined reference to `cfb_imageblit'
make: *** [.tmp_vmlinux1] Error 1
|
I'm using AMD64. _________________ embAD-new way to insert ads to your website |
|
Back to top |
|
|
troymc Guru
Joined: 22 Mar 2006 Posts: 553
|
Posted: Sun Jul 09, 2006 4:43 pm Post subject: |
|
|
Did you modify your .config manually?
Those are framebuffer options and should have been setup correctly automatically.
They are:
Code: |
# grep -i config_fb_cfb .config
CONFIG_FB_CFB_FILLRECT=y
CONFIG_FB_CFB_COPYAREA=y
CONFIG_FB_CFB_IMAGEBLIT=y
|
troymc |
|
Back to top |
|
|
oc666 Guru
Joined: 15 May 2006 Posts: 330 Location: Israel
|
Posted: Sun Jul 09, 2006 4:44 pm Post subject: |
|
|
troymc wrote: | Did you modify your .config manually?
Those are framebuffer options and should have been setup correctly automatically.
They are:
Code: |
# grep -i config_fb_cfb .config
CONFIG_FB_CFB_FILLRECT=y
CONFIG_FB_CFB_COPYAREA=y
CONFIG_FB_CFB_IMAGEBLIT=y
|
troymc |
I didn't modify .config manually.
Code: | # grep -i config_fb_cfb .config
CONFIG_FB_CFB_FILLRECT=m
CONFIG_FB_CFB_COPYAREA=m
CONFIG_FB_CFB_IMAGEBLIT=m |
_________________ embAD-new way to insert ads to your website |
|
Back to top |
|
|
troymc Guru
Joined: 22 Mar 2006 Posts: 553
|
Posted: Sun Jul 09, 2006 4:52 pm Post subject: |
|
|
Then I'd suggest you clean before you build this time.
Code: |
# make clean
# make all
# make modules_install
# make install
|
troymc |
|
Back to top |
|
|
oc666 Guru
Joined: 15 May 2006 Posts: 330 Location: Israel
|
Posted: Sun Jul 09, 2006 5:07 pm Post subject: |
|
|
troymc wrote: | Then I'd suggest you clean before you build this time.
Code: |
# make clean
# make all
# make modules_install
# make install
|
troymc |
I did this, but it's failed again at the same step.
Code: |
AS arch/x86_64/lib/putuser.o
AS arch/x86_64/lib/thunk.o
CC arch/x86_64/lib/usercopy.o
AR arch/x86_64/lib/lib.a
GEN .version
CHK include/linux/compile.h
UPD include/linux/compile.h
CC init/version.o
LD init/built-in.o
LD .tmp_vmlinux1
drivers/built-in.o:(.data+0x86f8): undefined reference to `cfb_fillrect'
drivers/built-in.o:(.data+0x8700): undefined reference to `cfb_copyarea'
drivers/built-in.o:(.data+0x8708): undefined reference to `cfb_imageblit'
make: *** [.tmp_vmlinux1] Error 1
|
_________________ embAD-new way to insert ads to your website |
|
Back to top |
|
|
troymc Guru
Joined: 22 Mar 2006 Posts: 553
|
Posted: Sun Jul 09, 2006 6:38 pm Post subject: |
|
|
My next suggestion would be to manually modify your .config and make those options built-in and not modules.
Code: |
# grep -i config_fb_cfb .config
CONFIG_FB_CFB_FILLRECT=m
CONFIG_FB_CFB_COPYAREA=m
CONFIG_FB_CFB_IMAGEBLIT=m
|
[change the ms to ys]
But I have no idea why this isn't being handled correctly.
Something must be goofy with your FrameBuffer config.
troymc |
|
Back to top |
|
|
oc666 Guru
Joined: 15 May 2006 Posts: 330 Location: Israel
|
Posted: Mon Jul 10, 2006 7:09 am Post subject: |
|
|
I've ati radeon x850pro graphic card. What do I need to enable in the kernel for that? _________________ embAD-new way to insert ads to your website |
|
Back to top |
|
|
|