SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I was doing some housekeeping to save space and thought "I know I'll be clever and uninstall all the kernel 2.4.xx packages to save space, after all I'm using 2.6.4 now so I shouldn't need any of it"
now I can't ./configure anything and I can't do any make menuconfig for kernel compiles I tried re-installing the packages but it doesn't seem to help. Do I need to re-install from scratch?
I get the following error when trying ./configure
Code:
checking if the linker (/usr/i486-slackware-linux/bin/ld) is GNU ld... yes
checking for /usr/i486-slackware-linux/bin/ld option to reload object files... - r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognise dependent libraries... pass_all
checking how to run the C preprocessor... /lib/cpp
configure: error: C preprocessor "/lib/cpp" fails sanity check
See `config.log' for more details.
I got frustrated and re-installed everything (I needed to do it anyway at some point to get rid of my old SuSE install that was eating up all my space).
I reckon re-installing gcc might have worked, guess I'll never know now - and I don't plan on ever deleting the kernel packages again
I didn't think the problem came from the kernel, i thought it came from me deleting the kernel headers that are used for compiling against (the packages kernel-sources.tgz)
try the gcc.3.3.3 pkg, I succed in compiling kernel for the first time (and at the first try!) with gcc3.xx series (before I had to use the 2.95 to do the job)
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.