Re-install MinGW and
If you have Vista make sure it is a MinGW GCC that works with Vista.
NOTE: This post has little to do with Code::Blocks; so, it likely will be locked.
See Link; Q6 does not necessarily have the exact cause of your problem;
But, please read the makefile to see what commands it expects to exist.
I am guessing, the "copy" command is missing from the message.http://help.eclipse.org/ganymede/topic/org.eclipse.cdt.doc.user/concepts/cdt_c_makefile.htm
Note: I just read the make file and the copy command failing might be normal.
I suggest posting more info in a better group for this type of problem.
The minimal info is:
OS: example XP
OS Version: example XP SP3
MinGW GCC Version: example 3.4.5 (mingw-vista special r3)
Library Name and Version: example pdcurses CVS