Languages and Scripting
Showing results for 
Search instead for 
Do you mean 

sqsh on HP-UX 11.11

Occasional Contributor

sqsh on HP-UX 11.11

Hello,

on our rp5470 (HP-UX 11.11, v.1) I have gcc 3.3.2 and gmake 3.80. I tried to compile sqsh v.2.1.3 (s-q-shell from www.sqsh.org). Configure, make - no problems. When I start the sqsh (ELF-64 executable object file - PA-RISC 2.0 (LP64)), I got the following:

ux54:/usr/users/sybiq>sqsh
/usr/lib/pa20_64/dld.sl: Unsatisfied data symbol '__unwind_start' in load module '/lib/pa20_64/libcl.2'.
/usr/lib/pa20_64/dld.sl: Unsatisfied data symbol '__unwind_end' in load module '/lib/pa20_64/libcl.2'.
/usr/lib/pa20_64/dld.sl: Unsatisfied data symbol '__text_start' in load module '/lib/pa20_64/libcl.2'.
Abort(coredump)
ux54:/usr/users/sybiq>

Any help would be appreciated.

Thanks.

Oldrich
4 REPLIES
Honored Contributor Honored Contributor

Re: sqsh on HP-UX 11.11

Oldrich,
can you have a look at the HP doc
"Program Startup PA-64 Runtime Supplement" and
http://docs.hp.com/en/B2355-90730/B2355-90730.html

I think Unwind and text should be defined by the linker.
Regards
Honored Contributor Honored Contributor

Re: sqsh on HP-UX 11.11

Hi


Peter is correct

see
http://sources.redhat.com/ml/binutils/2002-10/msg00585.html

for a more complete explain

be sure to read the followup as well


Steve Steel
If you want truly to understand something, try to change it. (Kurt Lewin)
Occasional Contributor

Re: sqsh on HP-UX 11.11

Thank you Peter,

a novic question: I have standard HP ld, how to define unwind and text in linker script ?

Kejik
Highlighted
Acclaimed Contributor Acclaimed Contributor

Re: sqsh on HP-UX 11.11

>I have standard HP ld, how to define unwind and text in linker script?

 

You should be linking with the gcc driver and those symbols should be defined.  Unless you do something tricky and hide those symbols.