This is the mail archive of the
pthreads-win32@sourceware.org
mailing list for the pthreas-win32 project.
source compile error
- From: William Estrada <MrUmunhum at popdial dot com>
- To: pthreads-win32 at sourceware dot org
- Date: Tue, 02 Dec 2008 11:28:07 -0800
- Subject: source compile error
- Reply-to: MrUmunhum at popdial dot com
Hi Group,
I downloaded and untared pthreads-w32-2-8-0-release. Ran ' make clean GC '
and got this message:
$ make clean GC
rm -f *~
rm -f *.i
rm -f *.o
rm -f *.obj
rm -f *.exe
rm -f pthread.def
make CLEANUP=-D__CLEANUP_C XC_FLAGS=" " OBJ="attr.o barrier.o
cancel.o cleanup.o condvar.o create.o dll.o errno.o exit.o fork.o
global.o misc.o mutex.o nonportable.o private.o rwlock.o sched.o
semaphore.o signal.o spin.o sync.o tsd.o version.o" pthreadGC2.dll
make[1]: Entering directory
`/src/Win_Pthread/pthreads-w32-2-8-0-release'
gcc -c -o attr.o -D__CLEANUP_C -O3 -finline-functions -I.
-DHAVE_CONFIG_H -Wall attr.c
In file included from pthread.h:288,
from attr.c:41:
./sched.h:70:3: error: #error Please upgrade your GNU compiler to
one that supports __declspec.
But I am running the latest GCC:
$ gcc -v
Using built-in specs.
Target: i686-pc-linux-gnu
Configured with: ./configure
Thread model: posix
gcc version 4.3.2 (GCC)
So what's up??
--
William Estrada
MrUmunhum@popdial.com
Mt-Umunhum-Wireless.net ( http://Mt-Umunhum-Wireless.net )
Ymessenger: MrUmunhum