| Author |
Message |
|
|
Post subject: error compiling kernel
Posted: 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 |
|
|
| |
|
|
|
 |
|
|
Post subject:
Posted: Oct 12, 2007 - 02:55 PM
|
|
Joined: Dec 30, 2006
Posts: 38
Status: Offline
|
|
|
|
|
 |
|
|
Post subject:
Posted: 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  |
|
|
| |
|
|
|
 |
|
|
Post subject:
Posted: 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! |
|
|
| |
|
|
|
 |
|
|
Post subject:
Posted: 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 |
|
|
| |
|
|
|
 |
|
|
Post subject:
Posted: Oct 15, 2007 - 07:55 AM
|
|
Joined: Dec 30, 2006
Posts: 38
Status: Offline
|
|
|
|
|
 |
|
|