I just call these three .c files in turn, but when I call each file, one error pops up: collect2: error: ld returned 1 exit status
gcc -c laba_linux.c -o laba_linux.o
gcc laba_linux.o main.o ... -o result_program -lncurses
gcc -o main.exe file1.c file2.c ...
Source: https://ru.stackoverflow.com/questions/955880/More articles:parse dwStyle WindowsAPIGeneration of PHP classes from Russian XSDCreating your own helper in the Zend Framework 3 (Helps)How to insert an image?How to view / decode the source code of a game written in Lua? [closed]Linux virtual machine does not startPaths to resourcespossible php array combinationscounting mysql valuesHow to use UNION ALL and order by correctly?All Articles
gcc -c laba_linux.c -o laba_linux.o
to get the object files. And then put them togethergcc laba_linux.o main.o ... -o result_program -lncurses
- Mikegcc -o main.exe file1.c file2.c ...
- VTT