User forums > Help

Can't compile Makefile, process terminated with status 2

(1/2) > >>

Mr. Egg:
Hi, I'm trying to compile a makefile but everytime I try to I kept getting this code from the build log. I'm not really sure on how to go on upon this and where to go, what does it mean and how I fix this? Thank you in advance


--- Code: ----------------- Build: 3dsx in Project_PC_3ds_game (compiler: GNU GCC Compiler)---------------

Checking if target is up-to-date: mingw32-make.exe -q -f Makefile 3dsx
Running command: mingw32-make.exe -f Makefile 3dsx
mingw32-make.exe: *** INTERNAL: readdir: Invalid argument.  Stop.
Process terminated with status 2 (0 minute(s), 0 second(s))
0 error(s), 0 warning(s) (0 minute(s), 0 second(s))

--- End code ---

Here is a picture if you want to see it

oBFusCATed:
Edit the make commands in your project -> build options. You have to remove the target variables, or make sure that the targets in your project have the same names as targets in your makefile.

Mr. Egg:
Can you clairfy on what you mean and where I can check to fix it? I'm still new Code: Blocks and confused on where to go.

stahta01:
Checked against Code::Blocks SVN version 9958 which is the version I am using for an custom CB project.
This area seems to have not changed in SVN trunk.
Project -> Build Options
Select Target or Project in left hand list (You likely want target 3dsx) Edit: Add name of target from OP error
Tab: "Make Commands"

Likely need to change "Ask if rebuild is needed" Edit: Correction this seems to be the wrong command to edit.
From

--- Code: ---$make -q -f $makefile $target
--- End code ---
to

--- Code: ---$make -q -f $makefile
--- End code ---

Tim S.

Mr. Egg:
Hi, thank you for your response.

I did what you suggested but sadly it didn't work. I noticed that the same results keeps happening

Navigation

[0] Message Index

[#] Next page

Go to full version