[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Ubuntu-Kernel kompilieren schlaegt fehl



Rainer Kluge schrieb am 20.12.2008 14:39:

> Christoph Bier schrieb:
>> Hallo,
>> 
>> ich weiß, ich bin hier auf der Debian-Liste, aber auf den
>> Ubuntu-Listen habe ich keine Antwort erhalten.[1,2] Deshalb hoffe
>> ich, dass mir hier jemand weiterhelfen kann. Ich muss einen eigenen
>> Ubuntu-Kernel kompilieren, da ich den Kernel patchen muss, um auf
>> meinem ThinkPad das »Active Protection System« nutzen zu können.
>> Dazu würde ich gerne den Debian-Way gehen. Das ist das erste Mal für
>> mich -- als ich noch Debian verwendete, habe ich den Kernel immer
>> einfach so kompiliert und installiert. Deshalb orientiere ich mich
>> an: https://help.ubuntu.com/community/Kernel/Compile#AltBuildMethod.
>> Allerdings scheitere ich:
>> 
>> 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

> Sieht nach einer nicht belegten Environment-Variablen aus. Vielleicht 
> hilft das:
> http://www.linuxquestions.org/questions/debian-26/toruble-with-kernel-compile-lenny-663456/

Von einer Umgebungsvariablen finde ich dort aber nichts. Der OP hat
AFAICS einfach den Xen-Support deaktiviert. Das hilft jetzt bei mir
zwar auch, merkwürdig bleibt's trotzdem.

Danke und Grüße
Christoph
-- 
+++ Typografie-Regeln: http://zvisionwelt.de/downloads.html (1.6)


Reply to: