Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Can't Make bzImage
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
scott8711
Tux's lil' helper
Tux's lil' helper


Joined: 25 Oct 2002
Posts: 145

PostPosted: Wed Nov 13, 2002 4:17 am    Post subject: Can't Make bzImage Reply with quote

There is nothing that pisses me off more then the bzImage file!!!!!

OK, here we go. . . I had the system up an running andthngs were almost great. I wanted to set up he printer so I emerged and installed the packages indicated in the gentoo printing guide. It did not work so I decided to go back to make menuconfig and check to see if a printer was supported. I had been given a menuconfig by sommeone and decided that since i was in the menuconfig I would load it.

After I did that I got an error. The errors I see after make bzImage are:

init/main.c: In function 'calibrate_delay' :
init/main.c:214: warning: left-hand operand of comma expression has no effect
init/main.c:214: parse error before ';' token
init/main.c:217: warning: too few arguments for format
init/main.c:222: warning: return with a value, in function returniing void
init/main.c: At top level :
init/main.c:233: 'debug_kernel' undeclared here (not in a function)
init/main.c:233: initializer element is not constant
init/main.c:233: (near initialization for '__setup_debug_kernel.setup_func)'
make: *** [init/man] Error 1

I have tried to build bzImage with the config gven to me, the original config, and with no options selected. All give the same result.

What is going on?

Scott
Back to top
View user's profile Send private message
girafon
Tux's lil' helper
Tux's lil' helper


Joined: 22 Aug 2002
Posts: 140
Location: France

PostPosted: Wed Nov 13, 2002 7:35 am    Post subject: Reply with quote

i ve had this issue too when i set my local var to french.

maybe u set an environment var the system doesnt accept?
_________________
the more the things change, the more they stay the same.

Snake PLISKEN
Back to top
View user's profile Send private message
scott8711
Tux's lil' helper
Tux's lil' helper


Joined: 25 Oct 2002
Posts: 145

PostPosted: Wed Nov 13, 2002 1:54 pm    Post subject: Reply with quote

I have tried it with seeveral language variaables set and with no variables at all in menuconfig set. Are there some variables that absolutly must be set?

Scott
Back to top
View user's profile Send private message
474
l33t
l33t


Joined: 19 Apr 2002
Posts: 714

PostPosted: Wed Nov 13, 2002 2:15 pm    Post subject: Reply with quote

Quote:
I have tried to build bzImage with the config gven to me, the original config, and with no options selected.

By "original config", I hope you mean that you backed up your original configuration options. Try doing:
Code:
cd /usr/src/linux
make mrproper

then loading your config again, before proceeding with the usual build process. That command cleans up stale object files, dependencies etc, and puts your kernel source tree back into a "virgin" kind of state. I don't recommend using another person's config, unless (a) they are using the same kernel ebuild (b) they have a very similar system.

If you still have problems, post your config so we can have a look at it.

General background info for good kernel control:

You could make sure you're using the latest kernel ebuild (i.e. gentoo-sources-r9, if you want to use the Gentoo kernel). Here's a way of rebuilding your kernel tree cleanly (just in case it got mashed up):
Code:
emerge -C gentoo-sources
cd /usr/src
rm -rf gentoo-sources-r9
rm linux
emerge rsync
emerge gentoo-sources

You will lose your config if you do that, as you will if you do "make mrproper". If your kernel revision changes, I recommend doing the config again from scratch (yes, it is a pain in the arse - but kernel options do change sometimes). With the "rm -rf" command above, you should change the directory name to whatever the directory is according to the kernel you were using. And before you rebuild the kernel, get rid of (or backup) your old modules before compiling the modules, *if* the kernel you are building is the same version as the one you *last* built e.g.:
Code:
make dep && make clean bzImage
mv /lib/modules/2.4.19-gentoo-r9 /lib/modules/2.4.19-gentoo-r9.orig
make modules modules_install

There are quite a few posts around the forum, documenting what you need for parallel printer support (if that's what you want). The parallel port options are reasonably obvious, but don't forget "support for user-space printer drivers" in the "Character Devices" section.
Back to top
View user's profile Send private message
scott8711
Tux's lil' helper
Tux's lil' helper


Joined: 25 Oct 2002
Posts: 145

PostPosted: Wed Nov 13, 2002 2:42 pm    Post subject: It Built Reply with quote

IT BUILT, bzmage BUILT, YES, YES, YEEEEEEEEEEESSSSS!

DAMN YOUR GOOD!!!!

Sorry for that outburst.

Thanks forthe help

Scott
Back to top
View user's profile Send private message
474
l33t
l33t


Joined: 19 Apr 2002
Posts: 714

PostPosted: Wed Nov 13, 2002 2:55 pm    Post subject: Reply with quote

Quote:
Thanks forthe help

Glad it worked. :)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things 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