This is the mail archive of the libc-ports@sources.redhat.com mailing list for the libc-ports project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

conflicting types for '__lll_lock_wait'


The idea is the following one;  I am traying to compile cross compiler who 
runs on uclibc in i386 and that he generates binary code for i386-glibc.  But 
when wanting to compile the glibc library I get this error: 

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
../nptl/sysdeps/unix/sysv/linux/lowlevellock.c: In function '__lll_lock_wait':
../nptl/sysdeps/unix/sysv/linux/lowlevellock.c:32: warning: implicit 
declaration of function 'atomic_compare_and_exchange_val_acq'
../nptl/sysdeps/unix/sysv/linux/lowlevellock.c:36: warning: implicit 
declaration of function 'atomic_compare_and_exchange_bool_acq'
../nptl/sysdeps/unix/sysv/linux/lowlevellock.c: In function 
'__lll_timedlock_wait':
../nptl/sysdeps/unix/sysv/linux/lowlevellock.c:71: warning: implicit 
declaration of function 'lll_futex_timed_wait'
make[2]: *** [/root/glibc-build/nptl/libc-lowlevellock.o] Error 1
make[2]: Leaving directory `/root/glibc-20051107/nptl'
make[1]: *** [nptl/subdir_lib] Error 2
make[1]: Leaving directory `/root/glibc-20051107'
make: *** [all] Error 2 

I'm using the linux-libc-headers version 2.6.12.0. I followed the passages of 
book CLFS of linuxfromscratch.

Well, I hope that they can help me and any contribution could by utility 
 
--------------------------------------------------------------------------------------


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]