[ltt-dev] Help me for compiling linux-2.6.22-rc4-mm2

Mathieu Desnoyers compudj at krystal.dyndns.org
Mon Jul 14 09:22:50 EDT 2008


I think it's best for you to use a more stable version of the Linux
kernel (e.g. linux-2.6.25) or to disable the CONFIG_LOCKDEP feature from
your kernel build and see if it helps.

Mathieu

* Eikes Zhang (ekzhang at gmail.com) wrote:
> ltt-dev:
> When compiling linux-2.6.22-rc4-mm2, bellow errors poped out:
> 
> [zyg at lsdk linux-2.6.22-rc4-mm2-lttng]$ make
>   CHK     include/linux/version.h
>   CHK     include/linux/utsrelease.h
>   CALL    scripts/checksyscalls.sh
>   CHK     include/linux/compile.h
>   CC      kernel/lockdep.o
> kernel/lockdep.c: In function 'check_usage_forwards':
> kernel/lockdep.c:1723: error: 'find_usage_bit' undeclared (first use in this
> function)
> kernel/lockdep.c:1723: error: (Each undeclared identifier is reported only
> once
> kernel/lockdep.c:1723: error: for each function it appears in.)
> kernel/lockdep.c:1725: warning: implicit declaration of function
> 'find_usage_forwards'
> kernel/lockdep.c:1729: error: 'forwards_match' undeclared (first use in this
> function)
> kernel/lockdep.c: In function 'check_usage_backwards':
> kernel/lockdep.c:1742: error: 'find_usage_bit' undeclared (first use in this
> function)
> kernel/lockdep.c:1744: warning: implicit declaration of function
> 'find_usage_backwards'
> kernel/lockdep.c:1748: error: 'backwards_match' undeclared (first use in
> this function)
> make[1]: *** [kernel/lockdep.o] Error 1
> make: *** [kernel] Error 2
> 
> Does anyone fall into this mess too and how to fix this? Thank you.
> 
>                                      2008-07-14
> Best regards!

> _______________________________________________
> ltt-dev mailing list
> ltt-dev at lists.casi.polymtl.ca
> http://lists.casi.polymtl.ca/cgi-bin/mailman/listinfo/ltt-dev


-- 
Mathieu Desnoyers
OpenPGP key fingerprint: 8CD5 52C3 8E3C 4140 715F  BA06 3F25 A8FE 3BAE 9A68




More information about the lttng-dev mailing list