Operating System - HP-UX
1752797 Members
5618 Online
108789 Solutions
New Discussion юеВ

Questions about Softbench Debugger

 
SOLVED
Go to solution
Laura Fowler
New Member

Questions about Softbench Debugger

When I debug an executable created with the aCC compiler using the -g option I get the following warning message:

end.o not linked into target or out of date.

What does this mean and how do I link in end.o?
4 REPLIES 4
Christian Haug
Advisor

Re: Questions about Softbench Debugger

Do you link it with a library. If this library is optimized, this message could appear. Try a debug version of the library.
What's exact your command for compiling and linking?
Laura Fowler
New Member

Re: Questions about Softbench Debugger

This is a complex compile and link. There are a bunch of static libraries that are linked in and several shared libraries that are used. I think that all of the static libraries use the -g flag, but with so many I could easily have missed one.

Could accessing a shared library cause this message?

Thanks for the information
Christian Haug
Advisor
Solution

Re: Questions about Softbench Debugger

I don't think that a shared library could produce this error. Perhaps it helps you, if you link the end.o file explicit in the executable. I don't know your HPUX version, but under 10.20 you can find it in /opt/langtools/lib/end.o.
Just put this file with the complete path to the other object files to link together.
Perhaps it will help, bit I don't know.
Laura Fowler
New Member

Re: Questions about Softbench Debugger

We are using 11.0, but end.o is in the same place. I tried linking with it explicitly and that got rid of the message.

Thanks for you help.