[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

build troubles Re: nptl 0.3

I'm having some build problems with 0.3.
conflicting types `td_thr_tls_get_addr'

Any ideas or advice ?
(other than move to the new 0.4 version.  I'm doing that tonight ;)

make  -C debug others
make[2]: Entering directory
make[2]: Nothing to be done for `others'.
make[2]: Leaving directory
make  -C nptl_db others
make[2]: Entering directory
gcc td_thr_tls_get_addr.c -c -O -Wall -Winline -Wstrict-prototypes
-Wwrite-strings -g   -fPIC    -I../include -I.
-I/usr/src/toolchain/build_gcc/build/glibc/nptl_db -I.. -I../libio
-I/usr/src/toolchain/build_gcc/build/glibc -I../sysdeps/i386/elf
-I../linuxthreads/sysdeps/unix/sysv/linux -I../linuxthreads/sysdeps/pthread
-I../nptl/sysdeps/pthread -I../sysdeps/pthread
-I../linuxthreads/sysdeps/unix/sysv -I../linuxthreads/sysdeps/unix
-I../linuxthreads/sysdeps/i386/i686 -I../linuxthreads/sysdeps/i386
-I../nptl/sysdeps/unix/sysv/linux/i386 -I../nptl/sysdeps/unix/sysv/linux
-I../nptl/sysdeps/unix/sysv -I../nptl/sysdeps/unix
-I../nptl/sysdeps/i386/i686 -I../nptl/sysdeps/i386
-I../sysdeps/unix/sysv/linux/i386/i686 -I../sysdeps/unix/sysv/linux/i386
-I../sysdeps/unix/sysv/linux -I../sysdeps/gnu -I../sysdeps/unix/common
-I../sysdeps/unix/mman -I../sysdeps/unix/inet -I../sysdeps/unix/sysv/i386
-I../sysdeps/unix/sysv -I../sysdeps/unix/i386 -I../sysdeps/unix
-I../sysdeps/posix -I../sysdeps/i386/i686/fpu -I../sysdeps/i386/i686
-I../sysdeps/i386/i486 -I../sysdeps/i386/fpu -I../sysdeps/i386
-I../sysdeps/wordsize-32 -I../sysdeps/ieee754/ldbl-96
-I../sysdeps/ieee754/dbl-64 -I../sysdeps/ieee754/flt-32 -I../sysdeps/ieee754
-I../sysdeps/generic/elf -I../sysdeps/generic  -I
/lib/modules/2.5.41/build/include -D_LIBC_REENTRANT -D_LIBC_REENTRANT
-include ../include/libc-symbols.h  -DPIC -DSHARED   -DNOT_IN_libc
-DIS_IN_libthread_db -o
td_thr_tls_get_addr.c:34: conflicting types for `td_thr_tls_get_addr'
../linuxthreads_db/thread_db.h:408: previous declaration of
td_thr_tls_get_addr.c: In function `td_thr_tls_get_addr':
td_thr_tls_get_addr.c:43: dereferencing pointer to incomplete type
make[2]: ***
Error 1
make[2]: Leaving directory
make[1]: *** [nptl_db/others] Error 2
make[1]: Leaving directory `/usr/src/toolchain/build_gcc/src/glibc-2.2.94'
make: *** [all] Error 2
[root bp6 glibc]#



On Monday 07 October 2002 06:48 pm, Ulrich Drepper wrote:
> I've uploaded the files
>   nptl-0.3.tar.bz2
>   nptl-0.2-0.3.diff.bz2
> to
>   ftp://people.redhat.com/drepper/nptl/
> and
>    http://people.redhat.com/drepper/nptl/
> The changes from 0.2 are minimal.  Mainly new test cases, one syntax
> error fixed, and some more cleanups.  Most important a fix to the sem_*
> functions which is only visible with higher optimization levels.  I'm
> now maintaining a ChangeLog so you can follow the changes.
> Most of the new tests will never work on LinuxThreads.  They all test
> POSIX functionality which cannot be implemented in the old code.  It's a
> good sign that no code changes were necessary to make them work.  All
> you need is a recent kernel (2.5.41 is out; don't use earlier versions).
> A propos tests: I'd really like to use one of the tests (tst-signal3) as
> another benchmark.  But I failed to do measurements with NGPT.  I must
> be too stupid.  The functionality used is clearly OK according to POSIX
> so NGPT should be able to run it.  I tried version 2.0.2.  If somebody
> gets it to work with NGPT, please let me know.  It can easily be
> arranged to compile the code outside the glibc framework.  Just make
> sure that the test-skeleton.c file is found.
> If you have question please use the phil-list redhat com to post them.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]