Description of problem: Header files are installed into /usr/i686-pc-mingw32/sys-root/mingw/include/pthread/ directory instead of /usr/i686-pc-mingw32/sys-root/mingw/include/. As a result pthread.h header file is not accessible with #include <pthread.h> directive. If use #include <pthread/pthread.h>, other headers from pthread library are not found during compilation process, because are included without directory prefix (e.g. #include <sched.h>, not #include <pthread/sched.h>). The only way to use mingw32-pthread I see is to add -I/usr/i686-pc-mingw32/sys-root/mingw/include/pthread/ to CFLAGS and use #include <pthread.h> directive. Version-Release number of selected component (if applicable): 2.8.0-4.el5
All mingw32 packages have been removed from EPEL-5 as per https://fedorahosted.org/rel-eng/ticket/5977