double declaration of ___lll_lock_wait

Ken Moffat ken at
Tue Mar 14 10:28:55 PST 2006

On Mon, 13 Mar 2006, German Podesta wrote:

> I followed all the passages for the compilation exactly howto describe the 
> book, with exception that I am using heads 2,6,11 of the kernel instead of 
> the indicated ones in the book.  But it sends the following error to me:
> In file included from ../nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c:21:
> ../nptl/sysdeps/unix/sysv/linux/lowlevellock.c:29: error: conflicting types 
> for '__lll_lock_wait'
> ../nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h:227: error: previous 
> declaration of '__lll_lock_wait' was here

  Why would you want to use *older* headers ?  Also, your phrasing 
suggests you might be using raw kernel headers.  I think this is a case 
where my best advice to you will be 'FBBG' (Follow Book, Book Good).

  das eine Mal als Tragödie, das andere Mal als Farce

More information about the cross-lfs mailing list