Add driver/libdriver.a to /app/Makefile and add Makefile files to /app/driver (it is recommended to copy /examples/IoT_Demo folder and delete other files that are not needed. Be sure not to delete Makefile files by mistake).
Read More:
- .. ld: symbol(s) not found for architecture x86_64 collect2: ld returned 1 exit status make[2]: ***
- A solution to [error] LD returned 1 exit status
- Php7 compiles collect2: error: LD returned 1 exit status
- Collect2.exe: error: LD returned 5 exit status solution
- Solutions to the problem of collect2: error: LD returned 1 exit status
- collect2: error:ld returned 1 exit status solution
- Collect2: error: LD returned 1 exit status
- Solution to dev C + + error [error] LD returned 1 exit status
- ||Error: LD returned 1 exit status | C + + compile time problems
- Linux GCC compilation error: “collect2: LD returned 1 exit status”
- About the problem of collect2.exe [error] LD returned 1 exit status in dev!!!
- Solution to error [error] LD returned 1 exit status in C language
- undefined reference to `pthread_create’ collect2: ld returned 1 exit status
- undefined reference to `WinMain‘collect2.exe: error: ld returned 1 exit status
- In function `_start’ undefined reference to `main’ error: ld returned 1 exit status
- Solutions to the problem of “collect2.exe: error: LD returned 1” exit “status when writing C + + with vscode
- Error: LTO wrapper failed collect2: error: LD returned 1 exit status
- Possible causes of [errror] ID returned 1 exit status error in dev C + + Programmer
- [Solved] error: link.exe‘ failed with exit status 1158
- Java was started but returned exit code = 13 problem solving