Re: kernel 2.6 compile error
I am however excluding absolutely everything that I do not need (also as modules). I think i cannot exclude some of the modules like: kallsysms, isicom etc.. if the unset the values for kallsysm let's say ,at the time of make-kpkg it automatically sets the value. correct me if i am wrong and let me know how can i unset it pemanently so that it will not set automatically. Thanks Paras. On 7/28/05, Jan Schledermann [EMAIL PROTECTED] wrote: Andrew Nelson wrote: This is your problem, the new versions of GCC wont compile the current Kernel sources in Debian. You can That's new to me. I have compiled both 2.6.10, 2.6.11 and 2.6.12 successfully with GCC 4.X on my bleeding edge sid system. Actually just 2 hours ago I did a total recompile of 2.6.12, just after having done a dist-upgrade! I am however excluding absolutely everything that I do not need (also as modules). As far as I am concerned the kernel compilation problems was resolved in one of the first fix-release to the new compiler. Wheras the kernel itself compiles just fine I imagine that there some non C++ compliant programmed modules/drivers that can make the new and more strict compiler choke. Best regards Jan -- ** Do not use the reply-to address. It'll end up in the trash can ** Mail me at: janATschledermann.orREMOVE_THISg -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: kernel 2.6 compile error
did apt-get dist upgrade to my SID, donwloded 2.6.12-3 src and build was successful excpet i had one error regarding slda wan driver that i unset it in .config file. Thanks Paras. On 7/28/05, Paras pradhan [EMAIL PROTECTED] wrote: I am however excluding absolutely everything that I do not need (also as modules). I think i cannot exclude some of the modules like: kallsysms, isicom etc.. if the unset the values for kallsysm let's say ,at the time of make-kpkg it automatically sets the value. correct me if i am wrong and let me know how can i unset it pemanently so that it will not set automatically. Thanks Paras. On 7/28/05, Jan Schledermann [EMAIL PROTECTED] wrote: Andrew Nelson wrote: This is your problem, the new versions of GCC wont compile the current Kernel sources in Debian. You can That's new to me. I have compiled both 2.6.10, 2.6.11 and 2.6.12 successfully with GCC 4.X on my bleeding edge sid system. Actually just 2 hours ago I did a total recompile of 2.6.12, just after having done a dist-upgrade! I am however excluding absolutely everything that I do not need (also as modules). As far as I am concerned the kernel compilation problems was resolved in one of the first fix-release to the new compiler. Wheras the kernel itself compiles just fine I imagine that there some non C++ compliant programmed modules/drivers that can make the new and more strict compiler choke. Best regards Jan -- ** Do not use the reply-to address. It'll end up in the trash can ** Mail me at: janATschledermann.orREMOVE_THISg -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
kernel 2.6 compile error
hi: i am using debian sid using kernel 2.6.11. i want to build the custom compile using make-kpkg. here is the command that is used to do so... -- sargebox:/usr/src/kernel-source-2.6.11# fakeroot make-kpkg --revision=custom.2.0 kernel_image -- i cannot proceed at many points.. here are some of the errors --- drivers/char/generic_serial.c:876: warning: 'cli' is deprecated (declared at include/linux/interrupt.h:65) drivers/char/generic_serial.c:888: warning: 'restore_flags' is deprecated (declared at include/linux/interrupt.h:78) make[3]: *** [drivers/char/generic_serial.o] Error 1 make[2]: *** [drivers/char] Error 2 make[1]: *** [drivers] Error 2 make[1]: Leaving directory `/usr/src/kernel-source-2.6.11' make: *** [stamp-build] Error 2 -- rather than that. the other errors are realted to kallsysm error. isicom error and more are they related to gcc and g++ or make/automake? here are the gcc,g++,make and automake packages i am using.. gcc (GCC) 4.0.1 (Debian 4.0.1-2) g++ (GCC) 4.0.1 (Debian 4.0.1-2) GNU Make 3.80 automake (GNU automake) 1.4-p6 --- how do i solve the problem and build successfully. Thanks Paras.
Re: kernel 2.6 compile error
gcc (GCC) 4.0.1 (Debian 4.0.1-2) g++ (GCC) 4.0.1 (Debian 4.0.1-2) GNU Make 3.80 automake (GNU automake) 1.4-p6 This is your problem, the new versions of GCC wont compile the current Kernel sources in Debian. You can 1. Change the top level MAKEFILE in the source directory to point at the previous GCC versions 2. Temporarily change the symlinks in /usr/bin for gcc/g++ etc to point at the old version. I'm a bit of a noob and couldn't get 1. to work so used 2. quite successfully. HTH Wackojacko -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: kernel 2.6 compile error
On Wednesday 27 July 2005 07:16, Paras pradhan [EMAIL PROTECTED] ([EMAIL PROTECTED]) wrote: i am using debian sid using kernel 2.6.11. i want to build the custom compile using make-kpkg. gcc (GCC) 4.0.1 (Debian 4.0.1-2) g++ (GCC) 4.0.1 (Debian 4.0.1-2) Try this. Edit the top-level makefile; e.g., /usr/src/kernel-source-2.6.11/Makefile. Change: HOSTCC = gcc HOSTCXX = g++ to read: HOSTCC = gcc-3.3 HOSTCXX = g++-3.3 and run make-kpkg. It works for me. I am not an expert. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: kernel 2.6 compile error
compile using make-kpkg. gcc (GCC) 4.0.1 (Debian 4.0.1-2) g++ (GCC) 4.0.1 (Debian 4.0.1-2) Try this. Edit the top-level makefile; e.g., /usr/src/kernel-source-2.6.11/Makefile. Change: HOSTCC = gcc HOSTCXX = g++ to read: HOSTCC = gcc-3.3 HOSTCXX = g++-3.3 Make sure that you do have gcc-3.3 installed.. -ishwar -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: kernel 2.6 compile error
Wackojacko wrote: gcc (GCC) 4.0.1 (Debian 4.0.1-2) g++ (GCC) 4.0.1 (Debian 4.0.1-2) GNU Make 3.80 automake (GNU automake) 1.4-p6 This is your problem, the new versions of GCC wont compile the current Kernel sources in Debian. You can 1. Change the top level MAKEFILE in the source directory to point at the previous GCC versions 2. Temporarily change the symlinks in /usr/bin for gcc/g++ etc to point at the old version. This is what I do. MAKEFLAGS=CC=gcc-2.95 make-kpkg //andy -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: kernel 2.6 compile error
Andrew Nelson wrote: This is your problem, the new versions of GCC wont compile the current Kernel sources in Debian. You can That's new to me. I have compiled both 2.6.10, 2.6.11 and 2.6.12 successfully with GCC 4.X on my bleeding edge sid system. Actually just 2 hours ago I did a total recompile of 2.6.12, just after having done a dist-upgrade! I am however excluding absolutely everything that I do not need (also as modules). As far as I am concerned the kernel compilation problems was resolved in one of the first fix-release to the new compiler. Wheras the kernel itself compiles just fine I imagine that there some non C++ compliant programmed modules/drivers that can make the new and more strict compiler choke. Best regards Jan -- ** Do not use the reply-to address. It'll end up in the trash can ** Mail me at: janATschledermann.orREMOVE_THISg -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]