Operating System - HP-UX
1833704 Members
2642 Online
110062 Solutions
New Discussion

HP-UX ia64 build error. about share lib error. why?

 
SOLVED
Go to solution
incle
Advisor

HP-UX ia64 build error. about share lib error. why?

HP-UX ia64 build error. about share lib error. Why I got this error? How to deal with this problem?
--------
bash-3.00# uname -a
HP-UX rx1620 B.11.23 U ia64 0100588948 unlimited-user license
bash-3.00#


error messages as follows:
---------------------

ld: (Warning) Unsatisfied symbol "_Unwind_SetIP" in file /usr/local/lib/gcc/ia64-hp-hpux11.23/4.2.1/../../../libstdc++.so
ld: (Warning) Unsatisfied symbol "_Unwind_SetGR" in file /usr/local/lib/gcc/ia64-hp-hpux11.23/4.2.1/../../../libstdc++.so
ld: (Warning) Unsatisfied symbol "_Unwind_GetIP" in file /usr/local/lib/gcc/ia64-hp-hpux11.23/4.2.1/../../../libstdc++.so
ld: (Warning) Unsatisfied symbol "_Unwind_GetGR" in file /usr/local/lib/gcc/ia64-hp-hpux11.23/4.2.1/../../../libstdc++.so
ld: (Warning) Unsatisfied symbol "_Unwind_RaiseException" in file /usr/local/lib/gcc/ia64-hp-hpux11.23/4.2.1/../../../libstdc++.so
ld: (Warning) Unsatisfied symbol "_Unwind_GetRegionStart" in file /usr/local/lib/gcc/ia64-hp-hpux11.23/4.2.1/../../../libstdc++.so
ld: Unsatisfied symbol "_Unwind_Resume" in file output/InitFile.o
ld: (Warning) Unsatisfied symbol "_Unwind_GetLanguageSpecificData" in file /usr/local/lib/gcc/ia64-hp-hpux11.23/4.2.1/../../../libstdc++.so
ld: (Warning) Unsatisfied symbol "_Unwind_DeleteException" in file /usr/local/lib/gcc/ia64-hp-hpux11.23/4.2.1/../../../libstdc++.so
8 warnings.
1 errors.
collect2: ld returned 1 exit status

6 REPLIES 6
Steven E. Protter
Exalted Contributor

Re: HP-UX ia64 build error. about share lib error. why?

Shalom,

Wondering why we're using the bash shell here, it may be contributing to the problem.

These errors point to the following general issues:
1) Problem with the gcc install, perhaps missing run time required programs.
2) System patching. Bi-annual update usually helps.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
TY 007
Honored Contributor

Re: HP-UX ia64 build error. about share lib error. why?

Hello,

Link the C++ libraries accordingly.

For example, adding "--LINK=c++ -lstdc++" to the linker options.

Thanks
Figo_1
Occasional Advisor

Re: HP-UX ia64 build error. about share lib error. why?

I install some system patchings, but still came up against the same problem, it trouble me so much, can anyone help me?

Thanks!
Figo_1
Occasional Advisor

Re: HP-UX ia64 build error. about share lib error. why?

# gcc --v
Using built-in specs.
Target: ia64-hp-hpux11.23
Configured with: ../gcc/configure
Thread model: posix
gcc version 4.2.1
Dennis Handly
Acclaimed Contributor
Solution

Re: HP-UX ia64 build error. about share lib error. why?

What command were you using?
The 8 warnings are defined in -lunwind.
And so is that error.

You should probably be linking with g++, not gcc.
incle
Advisor

Re: HP-UX ia64 build error. about share lib error. why?

thank you.