Operating System - HP-UX
1837112 Members
2584 Online
110112 Solutions
New Discussion

Re: Run time problem with aCC complier

 
SOLVED
Go to solution
balwan
Occasional Contributor

Run time problem with aCC complier

Hi All,
I am getting the following error when i run any c program complied by aCC.(Even using the hello world program).

Any idea what could be the problem.

aCC runtime: Error 215 from shl_findsym(/usr/lib/libstream.2,_shlInit)
/usr/lib/dld.sl: Unresolved symbol: [Vtable]key:__dt__9exceptionFv (data) from /usr/lib/libstd.2
/usr/lib/dld.sl: Unresolved symbol: typeid__XT9exception_ (data) from /usr/lib/libstd.2
/usr/lib/dld.sl: Unresolved symbol: __dt__9exceptionFv (code) from /usr/lib/libstd.2
/usr/lib/dld.sl: Unresolved module for symbol: [Vftptr_13bad_exception]key: (data) from /usr/lib/libstream.2
/usr/lib/dld.sl: Unresolved symbol: typeid__XT9exception_ (data) from /usr/lib/libstream.2
/usr/lib/dld.sl: Unresolved symbol: __dt__9exceptionFv (code) from /usr/lib/libstream.2
Abort (core dumped)
6 REPLIES 6
Mei Jiao
Respected Contributor

Re: Run time problem with aCC complier

Hi Balwan,

Pls do a 'll', 'file' and 'what' on the core file, for eg:
# file core
# what core

'll' is to find out the full path of the core file.

If the core file is generated from 'samd', please check the cumulative SAM patch:
# swlist -l product | grep SAM

Otherwise, please let me know the output of the above 3 commands: ll, file and what

Thanks.

Best regards,
Mei
balwan
Occasional Contributor

Re: Run time problem with aCC complier

Hi Mei,

Thanks for your email, here is the results of those command:
273]> file core
core: core file from 'a.out' - received SIGABRT

274]> what core
core:
HP-UX libm shared PA1.1 C Math Library 20000331 (201031) UX11.01
HP-UX libisamstub.sl 19991217 (135120) B3907DB/B3909DB B.11.01.11
fs_amod.s $Revision: 1.9.1.1 $
libcl.sl version B.11.01.18 - Jan 3 2003
$ PATCH_11.11/PHCO_29029 Jun 27 2003 12:45:28 $
SMART_BIND
92453-07 dld dld dld.sl B.11.38 031218

[275]> swlist -l product | grep SAM
PHCO_28123 1.0 cumulative SAM patch

ll is not giving any meaningful information.

What do you think ,where is the problem?

Regards
Balwan
Mei Jiao
Respected Contributor

Re: Run time problem with aCC complier

Hi Balwan,

It looks like it's your library issue. But well has your aCC been working fine before? If yes since when it failed to work and what changes been doen? Otherwise, if it hasn't been working fine before. Have you installed the aCC properly and have the libraries been configured properly?

Please make sure your aCC is installed properly and you have the lib patches in order.

Best Regards,
Mei
Arunvijai_4
Honored Contributor

Re: Run time problem with aCC complier

Hi Balwan,

You can ask aCC specific questions in CXX-Dev list. http://h21007.www2.hp.com/dspp/ml/ml_MailingLists_IDX/1,1275,,00.html#24
You need to sign-up before proceeding with your question. 95% of aCC related questions will get clarified by experts.

--Arun
"A ship in the harbor is safe, but that is not what ships are built for"
Peter Crowson
New Member
Solution

Re: Run time problem with aCC complier

Balwan,
I had similar problems recetnly and it came down to the fact that I was building my executable under hpux11.0 but running it under hpux11.11. The problem was fixed by building and linking with libraries from the same release as the target I was running my executable on.
cing2006
Occasional Advisor

Re: Run time problem with aCC complier

Link to libstd.sl and try. It solves the _shlinit problem.