[Error] ld returned 1 exit status?

Apr 22, 2013 at 5:26pm
Hi everybody,

I recently got this error in a very simple program, when compiling it. I use DEV 5.4.1, and I have no clue at all of what it means. Anyone does?

Thanks a lot!
Apr 22, 2013 at 5:40pm
Do you mean: "IDE returned 1 exit status"? If so, it's because there probably was an error in your program and it didn't return correctly at the end of it.


A program should always return 0 when terminating. If it's returning 1 at termination there was some kind of error interrupting.
Apr 22, 2013 at 5:40pm
Are there any other messages apart from that one?
Actually, this looks like a linker error, usually seems to be preceded by a message "undefined reference to xxxx" - that is the important message.
Last edited on Apr 22, 2013 at 5:53pm
Topic archived. No new replies allowed.