Re: v2.6.22.1-rt1

From: Michael Gerdau
Date: Thu Jul 12 2007 - 10:45:55 EST


[sorry Ingo for the dublicated post]

> to build a 2.6.22.1-rt1 tree, the following patches should be applied:
> Â
> Â Âhttp://kernel.org/pub/linux/kernel/v2.6/linux-2.6.22.1.tar.bz2
> Â Âhttp://redhat.com/~mingo/realtime-preempt/patch-2.6.22.1-rt1

I get a compile error on my x86_64 dualcore sytem.

mgd@seneca:/usr/src/linux-2.6.22.1-rt1> make
 CHK   include/linux/version.h
 CHK   include/linux/utsrelease.h
 CALL  Âscripts/checksyscalls.sh
 CHK   include/linux/compile.h
 CC [M] Ânet/rfkill/rfkill-input.o
net/rfkill/rfkill-input.c: In function ârfkill_schedule_toggleâ:
net/rfkill/rfkill-input.c:60: error: size of array âtype nameâ is negative
net/rfkill/rfkill-input.c:60: warning: comparison of distinct pointer types lacks a cast
net/rfkill/rfkill-input.c:68: error: size of array âtype nameâ is negative
net/rfkill/rfkill-input.c:68: warning: comparison of distinct pointer types lacks a cast
net/rfkill/rfkill-input.c: At top level:
net/rfkill/rfkill-input.c:82: warning: implicit declaration of function â__MUTEX_INITIALIZERâ
net/rfkill/rfkill-input.c:82: warning: missing braces around initializer
net/rfkill/rfkill-input.c:82: warning: (near initialization for ârfkill_wlan.mutexâ)
net/rfkill/rfkill-input.c:82: error: initializer element is not constant
net/rfkill/rfkill-input.c:82: error: (near initialization for ârfkill_wlan.mutex.lock.wait_lock.raw_lock.slockâ)
net/rfkill/rfkill-input.c:82: error: initializer element is not constant
net/rfkill/rfkill-input.c:82: error: (near initialization for ârfkill_wlan.lockâ)
net/rfkill/rfkill-input.c:83: warning: missing braces around initializer
net/rfkill/rfkill-input.c:83: warning: (near initialization for ârfkill_bt.mutexâ)
net/rfkill/rfkill-input.c:83: error: initializer element is not constant
net/rfkill/rfkill-input.c:83: error: (near initialization for ârfkill_bt.mutex.lock.wait_lock.raw_lock.slockâ)
net/rfkill/rfkill-input.c:83: error: initializer element is not constant
net/rfkill/rfkill-input.c:83: error: (near initialization for ârfkill_bt.lockâ)
make[2]: *** [net/rfkill/rfkill-input.o] Fehler 1
make[1]: *** [net/rfkill] Fehler 2
make: *** [net] Fehler 2


I used a linux-2.6.22.tar.bz2 and applied patch-2.6.22.1.bz2 followed
by patch-2.6.22.1-rt1

I had copied my .config from my (working) 2.6.22-cfs-v19 directory and
issued a 'make oldconfig' using mostly defaults.

Best,
Michael
--
Technosis GmbH, GeschÃftsfÃhrer: Michael Gerdau, Tobias Dittmar
Sitz Hamburg; HRB 89145 Amtsgericht Hamburg
Vote against SPAM - see http://www.politik-digital.de/spam/
Michael Gerdau email: mgd@xxxxxxxxxxxx
GPG-keys available on request or at public keyserver

Attachment: signature.asc
Description: This is a digitally signed message part.