?
Solved

Solaris CC - could not open file "ir.out"

Posted on 2004-09-17
1
Medium Priority
?
520 Views
Last Modified: 2008-02-26
I am trying to build an C++ program (Tuxedo server) which I have inherited.

I get the following error:

Could not open file "ir.out"
SunWS_cache: Error: Error occurred in invoked compiler, exit status = 1(2).  Aborting....
CMDTUX_CAT:1832: ERROR: can't execute CC -w -w  -D_REENTRANT -mt -R/usr/lib/lwp   -I$TUXDIR/include -o

The compiler is /app/SUNWspro/WS6U1/bin/cc

There was an old ir.out of 0 blocks. I get the same error if I remove this.

I would appreciate any pointers as to whether e.g. this is an environmental problem.
0
Comment
Question by:tonyhoss
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 15

Accepted Solution

by:
efn earned 2000 total points
ID: 12089657
I don't know what the real problem is, but I have encountered the same problem and I can give you a workaround that worked for me.

Rig it so the link will fail with an unresolved reference.  In my case, I delete a source file from the list in the makefile and rebuild.  The method may be different in your case.

Then restore whatever was missing and build again.  This makes the ir.out error magically disappear.  At least, it does for me.

--efn
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Unlike C#, C++ doesn't have native support for sealing classes (so they cannot be sub-classed). At the cost of a virtual base class pointer it is possible to implement a pseudo sealing mechanism The trick is to virtually inherit from a base class…
IntroductionThis article is the second in a three part article series on the Visual Studio 2008 Debugger.  It provides tips in setting and using breakpoints. If not familiar with this debugger, you can find a basic introduction in the EE article loc…
The viewer will learn how to use the return statement in functions in C++. The video will also teach the user how to pass data to a function and have the function return data back for further processing.
The viewer will be introduced to the technique of using vectors in C++. The video will cover how to define a vector, store values in the vector and retrieve data from the values stored in the vector.

752 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question