Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Can't compile Kernel
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
191
n00b
n00b


Joined: 29 Jun 2004
Posts: 13
Location: Germany

PostPosted: Tue Jun 29, 2004 10:31 pm    Post subject: Can't compile Kernel Reply with quote

Hello everyone!

I'm new!
I tryed to make a Gentoo-System from stage 1, now I try to build the kernel and make can't finish.
Error Messages are

drivers/char/drm/drm.o(.text+0xd64e): In function `sis_fb_alloc':
: undefined reference to `sis_malloc'
drivers/char/drm/drm.o(.text+0xd6ff): In function `sis_fb_alloc':
: undefined reference to `sis_free'
drivers/char/drm/drm.o(.text+0xd760): In function `sis_fb_free':
: undefined reference to `sis_free'
drivers/char/drm/drm.o(.text+0xdbaf): In function `sis_final_context':
: undefined reference to `sis_free'
make: *** [vmlinux] Error 1

My network and graphic chips are from SiS
any help???

Please reply!

many thanx in advance,

191
_________________
Singlewing is out, look for a pass-oriented system...
We proof the opposite!
Back to top
View user's profile Send private message
_5d7_
n00b
n00b


Joined: 26 Jun 2004
Posts: 10
Location: Texas

PostPosted: Tue Jun 29, 2004 11:13 pm    Post subject: Reply with quote

What kernel are you using and what command line arguments?
Back to top
View user's profile Send private message
191
n00b
n00b


Joined: 29 Jun 2004
Posts: 13
Location: Germany

PostPosted: Tue Jun 29, 2004 11:21 pm    Post subject: kernel Reply with quote

make dep && make bzImage modules modules_install
gentoo-sources
linux-2.4.26-gentoo-r3
_________________
Singlewing is out, look for a pass-oriented system...
We proof the opposite!
Back to top
View user's profile Send private message
_5d7_
n00b
n00b


Joined: 26 Jun 2004
Posts: 10
Location: Texas

PostPosted: Tue Jun 29, 2004 11:38 pm    Post subject: Reply with quote

The gentoo-sources are based off of an older version of the linux kernel 2.4 the current is 2.6. If or when you have the time I would upgrade your kernel sources to the 2.6 version by duing an
Code:
emerge gentoo-dev-sources


But to just get your installation up and going first disable

Graphics Support -> SiS acceleration
- All this will disable is support for high resolutions in your console. It won't hurt a thing.

and if that doesn't work disable
Character Devices -> Direct Rendering Manager
- Which will disable any 3D rendering
Back to top
View user's profile Send private message
191
n00b
n00b


Joined: 29 Jun 2004
Posts: 13
Location: Germany

PostPosted: Tue Jun 29, 2004 11:48 pm    Post subject: i update Reply with quote

thanx, i update!
_________________
Singlewing is out, look for a pass-oriented system...
We proof the opposite!
Back to top
View user's profile Send private message
191
n00b
n00b


Joined: 29 Jun 2004
Posts: 13
Location: Germany

PostPosted: Wed Jun 30, 2004 7:04 am    Post subject: next question Reply with quote

now that i have emerged the 26 sources, can i delete /usr/src/linux?
the new kernel is in /usr/src/linux-2.6.7-gentoo-r6

thanx
_________________
Singlewing is out, look for a pass-oriented system...
We proof the opposite!
Back to top
View user's profile Send private message
Rainmaker
Veteran
Veteran


Joined: 12 Feb 2004
Posts: 1650
Location: /home/NL/ehv/

PostPosted: Wed Jun 30, 2004 7:13 am    Post subject: Reply with quote

Don't delete /usr/src/linux

Instead, delete /usr/src/linux/2.4.26-gentoo-r3

Then update the symlink by saying

ln -sf /usr/src/linux-2.6.foo-foo /usr/src/linux

ofcourse, replace foo.foo wth whatever the dir is called.

Just for completeness: the 2.6 kernels are not "newer" nor "better". These are just 2 different branches. Most people go with 2.6, because it seemes to give a bit extra performance on most systems.
_________________
If you can't dazzle them with brilliance, baffle them with bullshit.
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