Simpler Navigation coming for Servers and Operating Systems
Coming soon: a much simpler Servers and Operating Systems section of the Community. We will combine many of the older boards, and you won't have to click through so many levels to get at the information you need. If you are looking for an older board and do not find it, check the consolidated boards, as the posts are still there.
Languages and Scripting
cancel
Showing results for 
Search instead for 
Did you mean: 

My problem when I linked my project

hupo
Occasional Visitor

My problem when I linked my project

I compiled my company project under HPUX(HP-UX hp100 B.11.00):Our project is developped by C/C++&Fortran codes. I used the aCC/cc/f77 to compiled our sources. When I linked all of our *.o files, I met a error like this:

warning 1007, parm "exception::~exception()"
warning 1008, parm "typeid"

I can't find any threads in our project, we don't have any codes like that. I'm very doubt now.
We used STL in our codes(I added the -AA in my makefile), and the standard mmgr.cxx to find the memary leak. I'm not sure are these lead the error.
Anybody can give me some advice? Thank you!
5 REPLIES
TY 007
Honored Contributor

Re: My problem when I linked my project

Hello Hupo,

Compilers Version? # swlist -l bundle

Thanks



hupo
Occasional Visitor

Re: My problem when I linked my project

B3911DB C.03.33 HP aC++ Compiler ï¼ S700)

B3907DB B.11.01.40 HP Fortran 90 Compiler and associated products (S700)

B3899BA B.11.02.04 HP C/ANSI C Developer's Bundle for HP-UX 11.00 (S700)
Dennis Handly
Acclaimed Contributor

Re: My problem when I linked my project

Something is wrong with your linker message catalog. Have you exported NLSPATH or set LANG? Don't set either one.

Where are your errors, these are warnings?
1007 %1$s (first referenced in %2$s) (code)
1008 %1$s (first referenced in %2$s) (data)

>I can't find any threads in our project, we don't have any codes like that.

Why do you say "threads"? These are the -AP C++ Standard class exception.

>We used STL in our code (I added the -AA in my makefile),

That's one problem. You are mixing -AP objects with -AA objects. The above unsats are from -AP.

>the standard mmgr.cxx to find the memory leak.

Why not use wdb instead?
You can download the latest:
http://www.hp.com/go/wdb
(But 11.00 is no longer supported.)

>B3911DB C.03.33 HP aC++ Compiler S700)

This is almost 6 years old and no longer supported, even if you were on 11.11.
The last version on 11.00 was A.03.55.
hupo
Occasional Visitor

Re: My problem when I linked my project

what's the mean of -AP? I can't find this option in my aCC manual.
this is two warnings, but when I run my executable file, I met this:

Unresolved symbol: __dt__9exceptionFv (code)
Unresolved symbol: __dt__9exceptionFv (code)
Highlighted
Dennis Handly
Acclaimed Contributor

Re: My problem when I linked my project

>what's the mean of -AP? I can't find this option in my aCC manual.

You must use the latest:
http://www.docs.hp.com/en/7762/5991-4874/options.htm#opt-AP
It is a name for the PA default, not -AA.

>but when I run my executable file, I get this:
Unresolved symbol: __dt__9exceptionFv (code)

This comes from -AP compiled sources. You must recompile these with -AA.