Hi,
I'm still a beginner for C programming. In my assignment I've encountered this problem and I know is a linker problem but I'm not sure how to solve it. I'm trying to link 3 files which 2 .c files and 1 .h file. Below are the codes for my file:
Welcome to LinuxQuestions.org, a friendly and active Linux Community. You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Run โปรแกรม dev c แล้วมันฟ้องว่า Error ld returned 1 exit status ต้องแก้ไขตรงจุดไหนครับ? Nov 05, 2017 For the Love of Physics - Walter Lewin - May 16, 2011 - Duration: 1:01:26. Lectures by Walter Lewin. They will make you ♥ Physics. Recommended for you. Feb 21, 2018 Java Project Tutorial - Make Login and Register Form Step by Step Using NetBeans And MySQL Database - Duration: 3:43:32. 1BestCsharp blog Recommended for you. Feb 01, 2009 cannot open output file learndx.exe. This is the file you are compiling. This usually happens if the previous build is still running. Close any previous instance first.
![Dev Dev](https://img-bbs.csdn.net/upload/201311/27/1385537387_41491.png)
These 3 files are my codings. I hope someone can help me out. I'm stuck at his problem for long time. Thanks in advance. Appreciate your help.
- 5 Contributors
- forum 4 Replies
- 11,276 Views
- 5 Years Discussion Span
- commentLatest Postby Sean1234$Latest Post
Banfa597
Program Collect2
I think you mean Ld returned 1 exit status.
Do you really mean you tried to link the 2 c files and the h file or do you mean you compiled the c files and tried to link the resulting objects?
The processor of building a program is
Collect2 Ld Returned 1 Exit Status Dev C++
- Compile each individual source (.c) file producing an object file (.o or .obj)
- Link all the object files produced in stage 1 with any require libraries
Vst plugin waveshell vst 9.2 _x64 download. Traktor pro 2.6 8 crack. NOTE 1: you neither compile or link header (.h) files, they are included into source (.c) files and the code the contain is compiled in that manner.
NOTE 2: It is very poor practice to #include source files (.c) into other source files (.c) as you have done in your driver.c listing. However if you must/do do that then you should not separately compile the source (.c) that you included.
![Dev c++ error ld returned 1 exit status Dev c++ error ld returned 1 exit status](/uploads/1/2/6/1/126121987/638851030.png)
Normally the IDE handles the build process for you so it would help us to know what tools, compiler tool-chain and/or IDE you are using.