My problem when I linked my project (253 Views)
Reply
Occasional Visitor
hupo
Posts: 3
Registered: ‎09-26-2007
Message 1 of 6 (253 Views)

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!
Honored Contributor
TY 007
Posts: 377
Registered: ‎08-06-2007
Message 2 of 6 (253 Views)

Re: My problem when I linked my project

Hello Hupo,

Compilers Version? # swlist -l bundle

Thanks



Occasional Visitor
hupo
Posts: 3
Registered: ‎09-26-2007
Message 3 of 6 (253 Views)

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)
Acclaimed Contributor
Dennis Handly
Posts: 25,190
Registered: ‎03-06-2006
Message 4 of 6 (253 Views)

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.
Occasional Visitor
hupo
Posts: 3
Registered: ‎09-26-2007
Message 5 of 6 (253 Views)

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)
Acclaimed Contributor
Dennis Handly
Posts: 25,190
Registered: ‎03-06-2006
Message 6 of 6 (253 Views)

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.
The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation.