Hi all!

When i try to build winpthreads from SVN I get errors.
Errors in attached file.

niXman.
gcc  -g -O2 -c src/dll_dependency.S -o dll_dependency.o
gcc  -g -O2 -c src/dll_math.c -o dll_math.o
ar cru libgcc.a dll_dependency.o dll_math.o
touch libgcc.a	
ar cru libgcc_s.a
touch libgcc_s.a
cp libgcc.a libgcc.dll.a
touch libgcc.dll.a
ar cru libgcc_s.dll.a
touch libgcc_s.dll.a
echo "static int __attribute__((unused)) dummy;" > dummy.c
make  all-am
make[1]: Entering directory `/winpthreads'
/bin/sh ./libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I.  -I./include -DIN_WINPTHREAD  -Wall -g -O2 -MT src/libwinpthread_la-barrier.lo -MD -MP -MF src/.deps/libwinpthread_la-barrier.Tpo -c -o src/libwinpthread_la-barrier.lo `test -f 'src/barrier.c' || echo './'`src/barrier.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I./include -DIN_WINPTHREAD -Wall -g -O2 -MT src/libwinpthread_la-barrier.lo -MD -MP -MF src/.deps/libwinpthread_la-barrier.Tpo -c src/barrier.c -o src/libwinpthread_la-barrier.o
mv -f src/.deps/libwinpthread_la-barrier.Tpo src/.deps/libwinpthread_la-barrier.Plo
/bin/sh ./libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I.  -I./include -DIN_WINPTHREAD  -Wall -g -O2 -MT src/libwinpthread_la-cond.lo -MD -MP -MF src/.deps/libwinpthread_la-cond.Tpo -c -o src/libwinpthread_la-cond.lo `test -f 'src/cond.c' || echo './'`src/cond.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I./include -DIN_WINPTHREAD -Wall -g -O2 -MT src/libwinpthread_la-cond.lo -MD -MP -MF src/.deps/libwinpthread_la-cond.Tpo -c src/cond.c -o src/libwinpthread_la-cond.o
src/cond.c: In function '__pthread_clock_nanosleep':
src/cond.c:150:19: error: 'CLOCK_REALTIME' undeclared (first use in this function)
src/cond.c:150:19: note: each undeclared identifier is reported only once for each function it appears in
src/cond.c:151:22: error: 'CLOCK_MONOTONIC' undeclared (first use in this function)
src/cond.c:152:22: error: 'CLOCK_PROCESS_CPUTIME_ID' undeclared (first use in this function)
src/cond.c:154:16: error: 'TIMER_ABSTIME' undeclared (first use in this function)
make[1]: *** [src/libwinpthread_la-cond.lo] Error 1
make[1]: Leaving directory `/winpthreads'
make: *** [all] Error 2
------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2dcopy1
_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to