View previous topic :: View next topic |
Author |
Message |
sheepdog Guru
Joined: 14 Oct 2002 Posts: 369 Location: Edison Enterprises Inc., Lake Oswego, Oregon, USA
|
Posted: Sun Dec 01, 2002 10:45 pm Post subject: Vanilla-sources 2.4.20 Broken! |
|
|
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 |
|
|
rac Bodhisattva
Joined: 30 May 2002 Posts: 6553 Location: Japanifornia
|
Posted: Sun Dec 01, 2002 11:34 pm Post subject: |
|
|
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 |
|
|
sheepdog Guru
Joined: 14 Oct 2002 Posts: 369 Location: Edison Enterprises Inc., Lake Oswego, Oregon, USA
|
Posted: Sun Dec 01, 2002 11:43 pm Post subject: menuconfig |
|
|
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 |
|
|
rac Bodhisattva
Joined: 30 May 2002 Posts: 6553 Location: Japanifornia
|
Posted: Mon Dec 02, 2002 12:03 am Post subject: |
|
|
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 |
|
|
sheepdog Guru
Joined: 14 Oct 2002 Posts: 369 Location: Edison Enterprises Inc., Lake Oswego, Oregon, USA
|
Posted: Mon Dec 02, 2002 12:20 am Post subject: Yes! |
|
|
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 |
|
|
|