This is the mail archive of the pthreads-win32@sourceware.org mailing list for the pthreas-win32 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]

source compile error


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



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