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.
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.
Oh, sorry. Try: apt-get install debhelper modutils kernel-package libncurses5-dev fakeroot
I suppose you already have module-init-tools. Get also linux-kernel-headers if you get errors about asm.
still get errors
/usr/src/kernel-source-2.6.8/scripts/gcc-version.sh: line 11: i486-linux-gnu-gcc: command not found
/usr/src/kernel-source-2.6.8/scripts/gcc-version.sh: line 12: i486-linux-gnu-gcc: command not found
/usr/src/kernel-source-2.6.8/scripts/gcc-version.sh: line 11: i486-linux-gnu-gcc: command not found
/usr/src/kernel-source-2.6.8/scripts/gcc-version.sh: line 12: i486-linux-gnu-gcc: command not found
/usr/src/kernel-source-2.6.8/scripts/gcc-version.sh: line 11: i486-linux-gnu-gcc: command not found
/usr/src/kernel-source-2.6.8/scripts/gcc-version.sh: line 12: i486-linux-gnu-gcc: command not found
/usr/src/kernel-source-2.6.8/scripts/gcc-version.sh: line 11: i486-linux-gnu-gcc: command not found
/usr/src/kernel-source-2.6.8/scripts/gcc-version.sh: line 12: i486-linux-gnu-gcc: command not found
/usr/src/kernel-source-2.6.8/scripts/gcc-version.sh: line 11: i486-linux-gnu-gcc: command not found
/usr/src/kernel-source-2.6.8/scripts/gcc-version.sh: line 12: i486-linux-gnu-gcc: command not found
/usr/share/kernel-package/rules:1637: *** Error. I do not know where the kernel image goes to [kimagedest undefined] The usual case for this is that I could not determine which arch or subarch tihs machine belongs to. Please specify a subarch, and try again.. Stop.
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
But I didn't see g++ in your output, only the symlink.
$ ls -l /usr/bin/g++*
lrwxrwxrwx 1 root root 7 Aug 10 22:05 /usr/bin/g++ -> g++-3.3
-rwxr-xr-x 1 root root 88828 Jun 21 01:05 /usr/bin/g++-3.3
-rwxr-xr-x 1 root root 93072 Aug 7 20:58 /usr/bin/g++-4.0
Try: apt-get --reinstall install g++-3.3
EDIT: Do you have make?
apt-get install make
Some more packages to apt-get: binutils coreutils libncurses5 module-init-tools
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.