FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Ubuntu > Ubuntu User

 
 
LinkBack Thread Tools
 
Old 12-18-2008, 12:40 PM
Christoph Bier
 
Default Compiling Ubuntu kernel sources fails

Hello,

I need to compile my own Ubuntu kernel because I need to patch it to get
support for the "Active Protection System" of my ThinkPad. For
convenience I chose the Debian way guided by
https://help.ubuntu.com/community/Kernel/Compile#AltBuildMethod. But it
fails:


root@skull-tp:/usr/src/linux-source-2.6.27# fakeroot make-kpkg
--initrd --append-to-version=-aps-patch kernel-image kernel-headers
[...]
/bin/sh: line 0: [: -ge: unary operator expected
/bin/sh: line 0: [: -ge: unary operator expected
/bin/sh: line 0: [: -ge: unary operator expected
/bin/sh: line 0: [: -lt: unary operator expected
/bin/sh: line 0: [: -eq: unary operator expected
/bin/sh: line 0: [: -eq: unary operator expected
/bin/sh: line 0: [: -eq: unary operator expected
/bin/sh: line 0: [: -lt: unary operator expected
/bin/sh: line 0: [: -eq: unary operator expected
/bin/sh: line 0: [: -eq: unary operator expected
/bin/sh: line 0: [: -gt: unary operator expected
/bin/sh: line 0: [: -ge: unary operator expected
/bin/sh: line 0: [: -gt: unary operator expected
/bin/sh: line 0: [: -ge: unary operator expected
/bin/sh: line 0: [: -ge: unary operator expected

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

====== making target debian/stamp-conf [new prereqs: ]======
The changelog says we are creating 2.6.27.2-aps-patch.
However, I thought the version is ..-aps-patch
exit 3
make: *** [debian/stamp-conf] Error 3



I already changed /bin/sh from Dash to Bash because I read about
problems with dash:

root@skull-tp:/usr/src/linux-source-2.6.27# ls -l /bin/sh
lrwxrwxrwx 1 root root 4 2008-12-07 11:37 /bin/sh -> bash

But it didn't help. What's going wrong here? I had the same issue last
week with a vanilla kernel (but now I try to compile the Ubuntu kernel
sources).

Best
Christoph
--
+++ Typografie-Regeln: http://zvisionwelt.de/downloads.html (1.6)


--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 
Old 12-21-2008, 12:45 PM
Christoph Bier
 
Default Compiling Ubuntu kernel sources fails

As a workaround I disabled Xen support. Then it works.

Best
Christoph
--
+++ Typografie-Regeln: http://zvisionwelt.de/downloads.html (1.6)


--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 

Thread Tools




All times are GMT. The time now is 10:26 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org