Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Vanilla-sources 2.4.20 Broken!
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
sheepdog
Guru
Guru


Joined: 14 Oct 2002
Posts: 369
Location: Edison Enterprises Inc., Lake Oswego, Oregon, USA

PostPosted: Sun Dec 01, 2002 10:45 pm    Post subject: Vanilla-sources 2.4.20 Broken! Reply with quote

emerged vanilla-sources today and got 2.4.20. However, build fails while trying to build bzImage with:
Code:
make: *** No rule to make target `include/linux/autoconf.h', needed by `include/config/MARKER'.  Stop.
Indeed there is no autoconf.h in /usr/src/linux/include/.
Unmerged 2.4.20 and emerge 2.4.19, which was the previous kernel and it, too, now will not build with the same problem. No other sources on this machine than 2.4.19.

Any suggestions anyone?

-- Michael
Back to top
View user's profile Send private message
rac
Bodhisattva
Bodhisattva


Joined: 30 May 2002
Posts: 6553
Location: Japanifornia

PostPosted: Sun Dec 01, 2002 11:34 pm    Post subject: Reply with quote

How did you configure it? Did you run "make menuconfig"? Did you copy an old .config file over? If so, did you run "make oldconfig"?
_________________
For every higher wall, there is a taller ladder
Back to top
View user's profile Send private message
sheepdog
Guru
Guru


Joined: 14 Oct 2002
Posts: 369
Location: Edison Enterprises Inc., Lake Oswego, Oregon, USA

PostPosted: Sun Dec 01, 2002 11:43 pm    Post subject: menuconfig Reply with quote

Ran menuconfig and wrote the config file. Copied it elsewhere and did the "emerge unmerge vanilla-sources". Then copied in the config file. Rechecked it by running menuconfig again and examining it that way. Did not write the file again from menuconfig. Did the build from this point.

What is old_config?

-- Michael
Back to top
View user's profile Send private message
rac
Bodhisattva
Bodhisattva


Joined: 30 May 2002
Posts: 6553
Location: Japanifornia

PostPosted: Mon Dec 02, 2002 12:03 am    Post subject: Reply with quote

oldconfig is useful when you copy over an old config file from a previous kernel. It's like "make config", but only asks you new questions. There are some things (like making that autoconf.h) that are done by all the *configs, and I think you have to run one of them or kernels won't build properly. That's been my experience, at least.
_________________
For every higher wall, there is a taller ladder
Back to top
View user's profile Send private message
sheepdog
Guru
Guru


Joined: 14 Oct 2002
Posts: 369
Location: Edison Enterprises Inc., Lake Oswego, Oregon, USA

PostPosted: Mon Dec 02, 2002 12:20 am    Post subject: Yes! Reply with quote

Yup. That was it. Just did "make menuconfig" and actually wrote the file without changing anything and the kernel would build. Thank you.

-- Michael
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