sidux.com
Menu

News

Give back
Last 3 Contributions
30-11-2008 20.00
25-11-2008 100.00
25-11-2008 20.00

Donate


Sponsor
hetzner.de

Languages
Preferred language:



Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
dacorsa
Post subject: error compiling kernel  PostPosted: Oct 12, 2007 - 02:37 PM



Joined: Dec 30, 2006
Posts: 38

Status: Offline
i have changed something in kernel with make menuconfig...while make-kpkg clean i have an error:

root@SiduxBox:/usr/src/linux-headers-2.6.23-slh-smp-2# make-kpkg clean
exec debian/rules DEBIAN_REVISION=5:10.Custom clean

====== making target CLN-common [new prereqs: testdir]======

====== making target CLN-common [new prereqs: ]======
/usr/bin/make -f ./debian/rules real_stamp_clean
make[1]: Entering directory `/usr/src/linux-headers-2.6.23-slh-smp-2'
====== making target real_stamp_clean [new prereqs: ]======
running clean
test ! -f scripts/package/builddeb.kpkg-dist || \
mv -f scripts/package/builddeb.kpkg-dist scripts/package/builddeb
test ! -f scripts/package/Makefile.kpkg-dist || \
mv -f scripts/package/Makefile.kpkg-dist scripts/package/Makefile
test ! -f .config || cp -pf .config config.precious
test ! -f Makefile || \
/usr/bin/make ARCH=i386 distclean
make[2]: Entering directory `/usr/src/linux-headers-2.6.23-slh-smp-2'
scripts/Makefile.clean:17: /usr/src/linux-headers-2.6.23-slh-smp-2/drivers/infiniband/hw/amso1 100/Makefile: No such file or directory
make[5]: *** No rule to make target `/usr/src/linux-headers-2.6.23-slh-smp-2/drivers/infiniban d/hw/amso1100/Makefile'. Stop.
make[4]: *** [drivers/infiniband/hw/amso1100] Error 2
make[3]: *** [drivers/infiniband] Error 2
make[2]: *** [_clean_drivers] Error 2
make[2]: Leaving directory `/usr/src/linux-headers-2.6.23-slh-smp-2'
make[1]: *** [real_stamp_clean] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.23-slh-smp-2'
make: *** [CLN-common] Error 2
root@SiduxBox:/usr/src/linux-headers-2.6.23-slh-smp-2#


if i type make-kpkg kernel-image

the error is:

make[1]: Entering directory `/usr/src/linux-headers-2.6.23-slh-smp-2'
CHK include/linux/version.h
CHK include/linux/utsrelease.h
make[2]: *** No rule to make target `missing-syscalls'. Stop.
make[1]: *** [prepare0] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.23-slh-smp-2'
make: *** [debian/stamp-kernel-conf] Error 2
 
 View user's profile Send private message  
Reply with quote Back to top
dacorsa
Post subject:   PostPosted: Oct 12, 2007 - 02:55 PM



Joined: Dec 30, 2006
Posts: 38

Status: Offline
how can i resolve?????
 
 View user's profile Send private message  
Reply with quote Back to top
op4latino
Post subject:   PostPosted: Oct 13, 2007 - 04:37 AM



Joined: Dec 02, 2006
Posts: 1046
Location: East Coast
Status: Offline
how about if you try as user

Code:
mkdir ~/mykernels
cd ~/mykernels
wget -Nc http://debian.tu-bs.de/project/sidux/kernel/k23.1-slh-smp-1.zip
unzip kernel-2.6.23.1-slh-smp-1.zip -d slhkern
mkdir 2.6.23.1 && cd 2.6.23.1
cp ../slhkern/*sh .
./kernel-source-ng.bash -b$(pwd) -k stable
cd linux
make oldconfig
make menuconfig
fakeroot make-kpkg binary -rev 1 kernel-image


to install
edit the install-kernel-sidux.sh line 10:
"VER=2.6.23.1-slh-smp-1" to whatever your kernel is named now and run it as root

note: if you don't need all the patches you can edit kernel-source-ng.bash and take whatever patches you think you don't need

Warning: If you run your own kernel, don't expect support for it. I know that for personal experiences Wink
 
 View user's profile Send private message  
Reply with quote Back to top
slh
Post subject:   PostPosted: Oct 13, 2007 - 10:14 AM



Joined: Nov 25, 2006
Posts: 2571

Status: Online!
op4latino wrote:
Warning: If you run your own kernel, don't expect support for it. I know that for personal experiences ;)
And change the EXTRAVERSION(!), it's giving supporters serious headaches to deal with mislabelled kernels!
 
 View user's profile Send private message  
Reply with quote Back to top
op4latino
Post subject:   PostPosted: Oct 14, 2007 - 04:45 AM



Joined: Dec 02, 2006
Posts: 1046
Location: East Coast
Status: Offline
You'll find the extraversion in linux/Makefile. It should be the 4th line.

If you use kernel-source-ng.bash, it will change it by default with your username. For more options, use kernel-source-ng.bash -h
 
 View user's profile Send private message  
Reply with quote Back to top
dacorsa
Post subject:   PostPosted: Oct 15, 2007 - 07:55 AM



Joined: Dec 30, 2006
Posts: 38

Status: Offline
thanks very much op4latino and slh!!!!

i was searching in the net and found kerneler! is a good utility, see:

http://www.kerneler.org/index.php?title=Main_Page

http://www.kerneler.org/index.php?title=Screenshot/en

thanks to all!
 
 View user's profile Send private message  
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Powered by PNphpBB2 © 2003-2007 The PNphpBB Group
Credits
 
Logos and trademarks are the property of their respective owners, comments are property of their posters, the rest is © 2006-2008 by sidux e.V., 10407 Berlin, Kniprodestr. 104. sidux e.V. is a Berlin, Germany based non-profit foundation. Consult Impressum and Legal Terms for details. sidux™ is Free Software released under the GNU/GPL license and other compatible licenses.
powered by Zikula & Zafenio