Re: 2.6.15-rc5-rt2 build error

K.R. Foley
2005-12-18T22:03:00Z

Florian Schmidt wrote:
> config attached [cat .config|grep -v "#" >config]
>
> CC lib/rwsem.o
> lib/rwsem.c: In function '__rwsem_do_wake':
> lib/rwsem.c:57: warning: implicit declaration of function 'rwsem_atomic_update'
> lib/rwsem.c:57: error: 'RWSEM_ACTIVE_BIAS' undeclared (first use in this function)
> lib/rwsem.c:57: error: (Each undeclared identifier is reported only once
> lib/rwsem.c:57: error: for each function it appears in.)
> lib/rwsem.c:59: error: 'RWSEM_ACTIVE_MASK' undeclared (first use in this function)
> lib/rwsem.c:62: error: 'struct rw_semaphore' has no member named 'wait_list'
> lib/rwsem.c:85: error: 'struct rw_semaphore' has no member named 'wait_list'
> lib/rwsem.c:99: error: 'struct rw_semaphore' has no member named 'wait_list'
> lib/rwsem.c:108: error: 'RWSEM_WAITING_BIAS' undeclared (first use in this function)
> lib/rwsem.c:113: warning: implicit declaration of function 'rwsem_atomic_add'
> lib/rwsem.c:115: error: 'struct rw_semaphore' has no member named 'wait_list'
> lib/rwsem.c:126: error: 'struct rw_semaphore' has no member named 'wait_list'
> lib/rwsem.c:127: error: 'struct rw_semaphore' has no member named 'wait_list'
> lib/rwsem.c: In function 'rwsem_down_failed_common':
> lib/rwsem.c:153: error: 'struct rw_semaphore' has no member named 'wait_lock'
> lib/rwsem.c:153: warning: type defaults to 'int' in declaration of 'type name'
> lib/rwsem.c:153: error: 'struct rw_semaphore' has no member named 'wait_lock'
> lib/rwsem.c:153: error: 'struct rw_semaphore' has no member named 'wait_lock'
> lib/rwsem.c:153: warning: type defaults to 'int' in declaration of 'type name'
> lib/rwsem.c:153: error: 'struct rw_semaphore' has no member named 'wait_lock'
> lib/rwsem.c:157: error: 'struct rw_semaphore' has no member named 'wait_list'
> lib/rwsem.c:163: error: 'RWSEM_ACTIVE_MASK' undeclared (first use in this function)
> lib/rwsem.c:166: error: 'struct rw_semaphore' has no member named 'wait_lock'
> lib/rwsem.c:166: warning: type defaults to 'int' in declaration of 'type name'
> lib/rwsem.c:166: error: 'struct rw_semaphore' has no member named 'wait_lock'
> lib/rwsem.c:166: error: 'struct rw_semaphore' has no member named 'wait_lock'
> lib/rwsem.c:166: warning: type defaults to 'int' in declaration of 'type name'
> lib/rwsem.c:166: error: 'struct rw_semaphore' has no member named 'wait_lock'
> lib/rwsem.c: In function 'rwsem_down_read_failed':
> lib/rwsem.c:193: error: 'RWSEM_WAITING_BIAS' undeclared (first use in this function)
> lib/rwsem.c:193: error: 'RWSEM_ACTIVE_BIAS' undeclared (first use in this function)
> lib/rwsem.c: In function 'rwsem_down_write_failed':
> lib/rwsem.c:210: error: 'RWSEM_ACTIVE_BIAS' undeclared (first use in this function)
> lib/rwsem.c: In function 'rwsem_wake':
> lib/rwsem.c:226: error: 'struct rw_semaphore' has no member named 'wait_lock'
> lib/rwsem.c:226: warning: type defaults to 'int' in declaration of 'type name'
> lib/rwsem.c:226: error: 'struct rw_semaphore' has no member named 'wait_lock'
> lib/rwsem.c:226: error: 'struct rw_semaphore' has no member named 'wait_lock'
> lib/rwsem.c:226: warning: type defaults to 'int' in declaration of 'type name'
> lib/rwsem.c:226: error: 'struct rw_semaphore' has no member named 'wait_lock'
> lib/rwsem.c:229: error: 'struct rw_semaphore' has no member named 'wait_list'
> lib/rwsem.c:232: error: 'struct rw_semaphore' has no member named 'wait_lock'
> lib/rwsem.c:232: warning: type defaults to 'int' in declaration of 'type name'
> lib/rwsem.c:232: error: 'struct rw_semaphore' has no member named 'wait_lock'
> lib/rwsem.c:232: error: 'struct rw_semaphore' has no member named 'wait_lock'
> lib/rwsem.c:232: warning: type defaults to 'int' in declaration of 'type name'
> lib/rwsem.c:232: error: 'struct rw_semaphore' has no member named 'wait_lock'
> lib/rwsem.c: In function 'rwsem_downgrade_wake':
> lib/rwsem.c:250: error: 'struct rw_semaphore' has no member named 'wait_lock'
> lib/rwsem.c:250: warning: type defaults to 'int' in declaration of 'type name'
> lib/rwsem.c:250: error: 'struct rw_semaphore' has no member named 'wait_lock'
> lib/rwsem.c:250: error: 'struct rw_semaphore' has no member named 'wait_lock'
> lib/rwsem.c:250: warning: type defaults to 'int' in declaration of 'type name'
> lib/rwsem.c:250: error: 'struct rw_semaphore' has no member named 'wait_lock'
> lib/rwsem.c:253: error: 'struct rw_semaphore' has no member named 'wait_list'
> lib/rwsem.c:256: error: 'struct rw_semaphore' has no member named 'wait_lock'
> lib/rwsem.c:256: warning: type defaults to 'int' in declaration of 'type name'
> lib/rwsem.c:256: error: 'struct rw_semaphore' has no member named 'wait_lock'
> lib/rwsem.c:256: error: 'struct rw_semaphore' has no member named 'wait_lock'
> lib/rwsem.c:256: warning: type defaults to 'int' in declaration of 'type name'
> lib/rwsem.c:256: error: 'struct rw_semaphore' has no member named 'wait_lock'
> make[1]: *** [lib/rwsem.o] Error 1
> make: *** [lib] Error 2
> ~/source/kernel/linux-2.6.14$
>
> Regards,
> Flo
>

Flo,

Look back through the mailing list for the past week for a thread
entitled "kernel-2.6.15-rc5-rt2 - compilation error" and check out
Steven's patches in that thread. If you can't find it let me know.

--
kr