L
L
LinuxGod2021-04-09 09:31:26
GNU Make
LinuxGod, 2021-04-09 09:31:26

Do you get an error when you try to compile the program?

collect2: error: ld returned 1 exit status
make: *** [Makefile:604: objs/bin/tlc-new] Ошибка 1


There are no Russian characters on the way, tell me what's wrong?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
Z
Zakharov Alexander, 2021-04-09
@LinuxGod

In my opinion, the key here is the message:
>> error: ld returned 1 exit status
As far as I understand, ld is a linker. And he doesn't like it. So he gives the output code "1". Programs usually do this when they want to report an error when they're done. If there is no error, it usually returns 0.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question