Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
make dep && clean bzImage module modules_install fai
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
ChojinDSL
l33t
l33t


Joined: 07 Jul 2003
Posts: 784

PostPosted: Tue Jul 08, 2003 9:20 am    Post subject: make dep && clean bzImage module modules_install fai Reply with quote

Hi, Ive completed the installation process once. I was using the gaming sources then, but upon booting I noticed through an error message that support for devfs was not enabled.
So I've been trying to reinstall the kernel, both from gaming-sources and from gentoo-sources.
make dep and make clean go without a hitch.
but when I make bzImage I get the following error:
---------------------------------------------------------------------------------
drivers/block/block.o drivers/misc/misc.o drivers/net/net.o drivers/media/media.o drivers/char/agp/agp.o drivers/char/drm/drm.o drivers/ide/idedriver.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/video/video.o drivers/usb/usbdrv.o drivers/input/inputdrv.o drivers/i2c/i2c.o \
net/network.o \
grsecurity/grsec.o \
crypto/crypto.o \
/usr/src/linux-2.4.20-gentoo-r5/arch/i386/lib/lib.a /usr/src/linux-2.4.20-gentoo-r5/lib/lib.a /usr/src/linux-2.4.20-gentoo-r5/arch/i386/lib/lib.a \
--end-group \
-o vmlinux
drivers/char/drm/drm.o(.text+0x7728): In function `sis_fb_alloc':
: undefined reference to `sis_malloc'
drivers/char/drm/drm.o(.text+0x77d6): In function `sis_fb_alloc':
: undefined reference to `sis_free'
drivers/char/drm/drm.o(.text+0x7849): In function `sis_fb_free':
: undefined reference to `sis_free'
drivers/char/drm/drm.o(.text+0x7c7f): In function `sis_final_context':
: undefined reference to `sis_free'
make: *** [vmlinux] Error 1
---------------------------------------------------------------------------

I have tried to use make mrproper and then repeat the make menuconfig/make dep make clean .....etc. process, but It always stops at the bzImage state and gives me the error above.

Any ideas? Are there perhaps any option I should disable in the make menuconfig? Or maybe I should set a few options to made as modules instead of compiling them into the kernel?

By the way, is there any difference in performance if you make something as a module instead of compiling it directly into the kernel?
Back to top
View user's profile Send private message
sebo
Tux's lil' helper
Tux's lil' helper


Joined: 26 Jun 2003
Posts: 114
Location: Aix en Provence, FRANCE

PostPosted: Tue Jul 08, 2003 9:44 am    Post subject: Reply with quote

Have you done this after the end of the compile process:

Code:
# cp /usr/src/linux/arch/i386/boot/bzImage /boot

_________________
Sébastien
Back to top
View user's profile Send private message
ChojinDSL
l33t
l33t


Joined: 07 Jul 2003
Posts: 784

PostPosted: Tue Jul 08, 2003 10:22 am    Post subject: Reply with quote

Yeah I have done. But I just get an error stating:
"cp: cannot stat `/usr/src/linux/arch/i386/boot/bzImage': No such file or directory"

Besides, it seems obvious to me from the previous error message that "make bzImage" did not finish sucessfully.
Back to top
View user's profile Send private message
adrenalin
Tux's lil' helper
Tux's lil' helper


Joined: 29 Dec 2002
Posts: 129

PostPosted: Tue Jul 08, 2003 10:25 am    Post subject: Reply with quote

What happens if you omit the 'make clean' part ?
Back to top
View user's profile Send private message
b1nd3n14l
Tux's lil' helper
Tux's lil' helper


Joined: 06 Jun 2003
Posts: 80

PostPosted: Tue Jul 08, 2003 10:26 am    Post subject: Reply with quote

If you dont have the need for SIS in DRM...

make menuconfig

Deselect SIS in the DRM section....
Character devices
-- DRM 4.1 drivers
< > SiS

and try again....

If you do need it... I cant help you....
8O
_________________
Later...Gator...

First ever Gentoo Install: June 5th , 2003
Registered User #12078 at http://counter.li.org
Back to top
View user's profile Send private message
EzInKy
Veteran
Veteran


Joined: 11 Oct 2002
Posts: 1742
Location: Kentucky

PostPosted: Tue Jul 08, 2003 11:13 am    Post subject: Reply with quote

I found this searching google:

http://www.ussg.iu.edu/hypermail/linux/kernel/0201.3/0294.html

Quote:


Hi,

I just got the following:

drivers/char/drm/drm.o: In function `sis_fb_alloc':
drivers/char/drm/drm.o(.text+0x6d26): undefined reference to `sis_malloc'
drivers/char/drm/drm.o(.text+0x6d6d): undefined reference to `sis_free'
drivers/char/drm/drm.o: In function `sis_fb_free':
drivers/char/drm/drm.o(.text+0x6eb5): undefined reference to `sis_free'
drivers/char/drm/drm.o: In function `sis_final_context':
drivers/char/drm/drm.o(.text+0x7386): undefined reference to `sis_free'

My .config looks as follows: ....



and this was the response:

Quote:


Hi,

here's the problem!

You need the sis framebuffer (sisfb) compiled as well. sisfb contains
the alloc/free functions the (unresolved) symbols refer to.



There were some other links you may want to check out if enabling framebuffer support for sis card under console drivers isn't the problem.
Back to top
View user's profile Send private message
syph3r2001
n00b
n00b


Joined: 01 Jul 2003
Posts: 44

PostPosted: Tue Jul 08, 2003 11:44 am    Post subject: Reply with quote

also sounds like you didnt mount /boot
Back to top
View user's profile Send private message
linux_weenie
Guru
Guru


Joined: 25 Jun 2003
Posts: 365

PostPosted: Tue Jul 08, 2003 11:59 am    Post subject: Reply with quote

generally i do the following steps when compiling a kernel.
Code:

make clean
cp .config myconfig # save configuration file
make mrproper # set kernel config to defaults
cp myconfig .config # put your config back
make menuconfig
# do your configuration
make dep
make clean
make bzImage
make modules
make modules_install
mount /boot
cp /usr/src/linux/arch/i386/boot/bzImage /boot # copies the boot image
/sbin/lilo # updates lilo
umount /boot
reboot

hope this helps you out.

-Will
Back to top
View user's profile Send private message
ChojinDSL
l33t
l33t


Joined: 07 Jul 2003
Posts: 784

PostPosted: Sun Jul 13, 2003 2:46 pm    Post subject: Reply with quote

Thanks for all the help people. Ive fixed it (somehow). Cant quite remember what I had done, since I immediately continued with the rest of the installation.
But thanks people. :D I sure love this community.

Ive run into this problem before on my first try to install gentoo. Somehow I fixed it back then. After I while I kind of broke my system when trying to update the kernel. Well not really broke it, but you know for a noob, anything that doesnt produce the same results as in the manual is considered a broken system, even if its just the wrong system time. :wink:

Anyway, after a while I decided to do a fresh install, and this time stick with the gentoo-sources kernel. I originally wanted to use the gaming-sources, but i figure, I gotta learn to walk before I can fly, so better stick with standard options like it says in the install guide, that way if anything breaks, I know its not because im using the wrong kernel sources.

Well blah blah blah.... anyhow. It seems that whenever the make bzImage part fails, this is always due to some improper selections in make menuconfig. i.e. as in compile into the kernel or as a module. Allthough I wonder why there would be any option to compile something into kernel if it will only work properly if you compile it as a module.
Of course being the ueber-noob that I am, I could be totally wrong here.

Oh well, I should just be happy and thankful that gentoo is up and running on my laptop now.

I know this has probably been said before, but I gotta say, multitasking is amazing in gentoo. I know I cant really compare my laptop (pIII 1.1ghz 512mbRAM) performance with my desktop (pIII 450mhz 768mbRAM) performance. But from what I remember from windows, I'm pretty sure that I wouldnt be able to play music (xmms) and watch a video (mplayer) smoothly, without jerkyness or interruptions in the audio!, while having my cpu at 100% because I am doing an emerge in the background.
Wow, I'm really impressed. Under WinXP even with the possibility of prioritizing tasks, if the cpu goes under full load, you can usually kiss audio and video smoothness goodbye.

This feature alone is what makes all the compiling time worthwile. Besides from what I can remember from Mandrake and Suse, I've never had this execellent multitasking performance. thats in the end why I switched back to Windows, because the performance didnt seem any better.

but wow..

Now, if only I could get 3DstudioMax5.1 to run perfect and stable under linux, then I would never have to switch back to Windows. Oh well, time will come.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo 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