Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Why isn't object file created?

Status
Not open for further replies.

jani12

Advanced Member level 4
Joined
Oct 30, 2014
Messages
108
Helped
0
Reputation
0
Reaction score
1
Trophy points
1,298
Activity points
2,536
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

The compiler license file is in a different Linux server. According to my IT department, I don't need access to this different Linux Server. License gets pulled without me having access to this server.

Then, what is the problem? Why isn't the first .o file getting created?
 

one possibility is :
the compiler in linux server is not able to write the object file in the windows machine.

perhaps ,you can try the option of mounting the windows source tree to linux and compile.
 

Then, what is the problem? Why isn't the first .o file getting created?

I do not know really but it is trying to create the object file in the ./BOOT/Object directory. I presume you have permissions to write there.

As your IT dept correctly said, it is not a real issue of the license files. Please try to write the .o file somewhere else.
 

one possibility is :
the compiler in linux server is not able to write the object file in the windows machine.

perhaps ,you can try the option of mounting the windows source tree to linux and compile.


I created Object folder. Then, build worked.
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top