DebianThis forum is for the discussion of Debian 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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
I had the same problem after upgrading to etch and using the 2.6.8 kernel sources from apt. I inteded on using etch on both a server and a desktop (seperate machines), but could not compile the debian kernel source. For my server, i ended up reinstalling with sarge and compiling 2.6.8 with gcc 3.3.5. For my desktop I upgraded to 2.6.12-nitro5 and I did not get this error (although i did get plenty of warnings!) Hopefully one of these solutions will be of use.
Well, if you have both gcc-3.3.5 and gcc-4.0.1 installed, a quick/dirty way to do it would be something like "HOSTCC=gcc-3.3.5 make-kpkg kernel_image" or similar. It seems like the upgrade will leave the older gcc installed??? I'm not sure if this works, will try when I get home.
//EDIT:
Quote:
Originally posted by makuyl Hmm, which gcc version are you using? : ls -l /usr/bin/gcc* /usr/bin/cpp* /usr/bin/g++*
Try using 3.3 if 4.0 doesn't work. For example:
rm /usr/bin/gcc
ln -s /usr/bin/gcc-3.3 /usr/bin/gcc
and do the same for cpp and g++
If you don't have them do: apt-get install gcc-3.3 cpp-3.3 g++-3.3
Give this a try, seems to be a better if more permanent way to do it.
Last edited by koobert637; 08-14-2005 at 03:17 PM.
I filed a bug report on this and received a reply on same day:
This is an automatic notification regarding your Bug report
#323059: kernel-source-2.6.8 fails at make menuconfig command,
which was filed against the kernel-source-2.6.8 package.
It has been closed by one of the developers, namely
Norbert Tretkowski
It is written that removing or downgrading is dangerous.
For the sake of the above posting that requires an upgrade of the kernel,
Is it not possible to:
vi /etc/apt/preferences
i key (insert mode).
Package: gcc
Pin: version = 3.3*
Pin-Priority: 1001
Esc key (leave insert mode).
: key.
x key.
Enter key.
apt-get update
If gcc is not downgraded and you already had a version 4 or greater perhaps
apt-get remove gcc-4.0-base
I have not tested this so don't be angry if it decimates your picket fence.
Update: I find libgcc1 will cause problems if it was also updated. Downgrading that file... may be somewhat tricky unless someone knows a way to may apt think it is 'upgrading' to the older version.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.