Help with errors while compiling
Reid Thompson
reid.thompson@ateb.com
Mon Dec 7 21:36:00 GMT 2009
On Mon, 2009-12-07 at 12:12 -0800, Afflictedd2 wrote:
> Hi everyone,
>
> I'm trying to build a simple program using pthreads, but I get the
> following
> errors, why?
>
> Any help appreciated.
> J
>
> make -f Makefile CFG=Debug
> g++ -c -g -o "Debug/Pthreads.o" -I/Cygwin/usr/include Pthreads.cpp
> In file included from Pthreads.cpp:10:
> /Cygwin/usr/include/pthread.h:77: error: `pthread_attr_t' was not
> declared
> in this scope
> /Cygwin/usr/include/pthread.h:77: error: expected primary-expression
perhaps an -lpthread
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
More information about the Cygwin
mailing list