naseeam
asked on
Why isn't object file created?
I'm using WindRiver 5.9.4.8 Compiler to cross compile large embedded 'C' language project.
The source code is in the hard disk on my windows computer. The compiler is in Oracle Linux Server.
I invoke WinSCP to access Linux Server. Now, there are Two Windows on my screen. Window on the left has my windows directory tree. Window on the right has my Linux directory tree. I drag source code from my Windows machine to Linux Directory Tree.
WinSCP comes with a command shell. I invoke make program from the command shell. The compiler starts executing because I see dcc command on the command window. It tries to compile first .c file but object file or .o file isn't created. The error message is as follows:
"/tmp/dtmpBAAa25644", error: cannot create output file ./BOOT/Object/filename.o
Why? Do I lack some permissions in Linux Server ?
The source code is in the hard disk on my windows computer. The compiler is in Oracle Linux Server.
I invoke WinSCP to access Linux Server. Now, there are Two Windows on my screen. Window on the left has my windows directory tree. Window on the right has my Linux directory tree. I drag source code from my Windows machine to Linux Directory Tree.
WinSCP comes with a command shell. I invoke make program from the command shell. The compiler starts executing because I see dcc command on the command window. It tries to compile first .c file but object file or .o file isn't created. The error message is as follows:
"/tmp/dtmpBAAa25644", error: cannot create output file ./BOOT/Object/filename.o
Why? Do I lack some permissions in Linux Server ?
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
After speaking to my IT department, I shouldn't need access to server that contains the license. They're saying license file is accessed without me having access to the Linux Server that contains the license file. This means it shouldn't be license file access issue.
Is it a write access issue? I dragged source code from Windows to Linux Server. This means I have access beyond home directory?
What is the root cause of problem? If I use something like puTTy, is it going to solve the problem?
Is it a write access issue? I dragged source code from Windows to Linux Server. This means I have access beyond home directory?
What is the root cause of problem? If I use something like puTTy, is it going to solve the problem?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
It is writing output to Object folder but it doesn't exist. I created Object folder. Then, the build worked.
I was expecting makefile to create Object folder but I didn't see any make directory command in the makefile.
I was expecting makefile to create Object folder but I didn't see any make directory command in the makefile.
ASKER
Expert found the root cause of the problem.
There could have been so many possibilities but the expert pointed to the root cause.
There could have been so many possibilities but the expert pointed to the root cause.
ASKER
The error message doesn't say anything about the license file. Maybe license file isn't necessary to start compiling but it is needed to create .o file.