Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
kernel compile error
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
oc666
Guru
Guru


Joined: 15 May 2006
Posts: 330
Location: Israel

PostPosted: Sun Jul 09, 2006 4:31 pm    Post subject: kernel compile error Reply with quote

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
View user's profile Send private message
troymc
Guru
Guru


Joined: 22 Mar 2006
Posts: 553

PostPosted: Sun Jul 09, 2006 4:43 pm    Post subject: Reply with quote

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
View user's profile Send private message
oc666
Guru
Guru


Joined: 15 May 2006
Posts: 330
Location: Israel

PostPosted: Sun Jul 09, 2006 4:44 pm    Post subject: Reply with quote

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
View user's profile Send private message
troymc
Guru
Guru


Joined: 22 Mar 2006
Posts: 553

PostPosted: Sun Jul 09, 2006 4:52 pm    Post subject: Reply with quote

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
View user's profile Send private message
oc666
Guru
Guru


Joined: 15 May 2006
Posts: 330
Location: Israel

PostPosted: Sun Jul 09, 2006 5:07 pm    Post subject: Reply with quote

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
View user's profile Send private message
troymc
Guru
Guru


Joined: 22 Mar 2006
Posts: 553

PostPosted: Sun Jul 09, 2006 6:38 pm    Post subject: Reply with quote

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
View user's profile Send private message
oc666
Guru
Guru


Joined: 15 May 2006
Posts: 330
Location: Israel

PostPosted: Mon Jul 10, 2006 7:09 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum