System Administration
cancel
Showing results for 
Search instead for 
Did you mean: 

an error when ld: terminated with signal 11

 
phueta.com.cn
Occasional Visitor

an error when ld: terminated with signal 11

We have an old HP UNIX machine:HP-UX B.11.00 U 9000/782, I use it to compile our soft product, but I met a ld error message all of a sudden:
aCC: error 1922: "/usr/ccs/bin/ld" terminated with signal 11
How can I fix it?

My ld's version:
ld: 92453-07 linker linker ld B.11.30 011005
aCC: HP ANSI C++ B3910B A.03.33
13 REPLIES
Srimalik
Valued Contributor

Re: an error when ld: terminated with signal 11

Did you change something on the machine(installed/removed a patch)?
abandon all hope, ye who enter here..
phueta.com.cn
Occasional Visitor

Re: an error when ld: terminated with signal 11

No, that's confused me. I just rebuild it.
Alex Mantelos_1
Occasional Advisor

Re: an error when ld: terminated with signal 11

Hello,

Uhh, you are running an obsolete version
of HP-UX. Very worthy upgrading as soon as
possible (replacing the ageing hardware too).

If nothing else changed, here is one idea.

Check your /dev/null. Is it a character
device file and does it have correct permissions?

Also, did you try compilation as root or ordinary user? Try both after checking /dev/null.

I am discarding the possibility that you need some linker and other patches because
you said that it worked before the
server was rebuilt...

Cheers,

VK2COT
Srimalik
Valued Contributor

Re: an error when ld: terminated with signal 11

>server was rebuilt...

I think he is trying is rebuild the a software on the machine and not the machine itself.

running as root can be a good idea.

Any other errors you are getting on you build logs?
abandon all hope, ye who enter here..
phueta.com.cn
Occasional Visitor

Re: an error when ld: terminated with signal 11

Dear Alex:
thank you for your reply.
I check the file of /dev/null, the "ls -l /dev/null"command return:"crw-rw-rw- 1 bin bin 3 0x000002 Jan 4 16:49 null". I'm not sure is it right?

And I notice another error: when I input the command "ld" without parameter in command line, I get an error message:"ld: ld: can't open message catalog, error 1032, parm "ld"",Why?
phueta.com.cn
Occasional Visitor

Re: an error when ld: terminated with signal 11

Dear Srikrishan:
You are right, I just re-make our project,not the machine.
Dennis Handly
Acclaimed Contributor

Re: an error when ld: terminated with signal 11

>How can I fix it?

Get the last 11.00 ld patch.

>I get an error message:"ld: ld: can't open message catalog, error 1032, parm "ld"", Why?

Unless you are using NLSPATH or have too many open files, this shouldn't happen.

What does the following show?
dumpmsg /usr/lib/nls/msg/C/ld.cat | grep 1032
(I think that is the path to ld.cat.)

>Srikrishan: running as root can be a good idea.

I would say the opposite.

VK2COT
Honored Contributor

Re: an error when ld: terminated with signal 11

Hello,

Dennis is right. Avoid using root for
compilations unless absolutely necessary.
In fact, avoid logins as root unless really
required :)

I proposed it for the purpose to check if
/dev/null was properly set up.

Whenever I go to customers I ask NOT to
get root access unless I need it... Less
worries, less chances to make a mistake and
avoid situations when someone can blame
you for the errors :)

This seems to be a loader problem.

At least, we confirmed that /dev/null is OK,
which eliminates one issue.

Let us know how your other check go.

Cheers,

VK2COT
VK2COT - Dusan Baljevic
Dennis Handly
Acclaimed Contributor

Re: an error when ld: terminated with signal 11

>VK2COT: This seems to be a linker problem.

Or it could be a bad object.
phueta.com.cn
Occasional Visitor

Re: an error when ld: terminated with signal 11

Dear Dennis:
I run the command you tell me, I can't found ld.cat in your path, I used "find" command to find it, it is under: "/var/adm/sw/save/PHSS_24303/C-KRN/usr/lib/nls/msg/C/ld.cat", I had to use root user to found it,I got the message of command " dumpmsg /var/adm/sw/save/PHSS_24303/C-KRN/usr/lib/nls/msg/C/ld.cat |grep 1032" like that:
1032 Usage: %1$s flags... files...
Dennis Handly
Acclaimed Contributor

Re: an error when ld: terminated with signal 11

>I run the command you tell me, I can't found ld.cat in your path

Somehow that message catalog was removed.

>I used "find" command to find it, it is under: /var/adm/sw/save/PHSS_24303/C-KRN/usr/lib/nls/msg/C/ld.cat

This is the previous patch backup copy. You need to reinstall PHSS_24303. Or install the last patch: PHSS_35380

>1032 Usage: %1$s flags... files...

This is the warning you get when you don't provide ld any arguments.
Srimalik
Valued Contributor

Re: an error when ld: terminated with signal 11

>Srikrishan: running as root can be a good idea.
>I would say the opposite.

I suggested that because running with root will get around if any permission issues with (if any)
abandon all hope, ye who enter here..
Dennis Handly
Acclaimed Contributor

Re: an error when ld: terminated with signal 11

>Srikrishan: will get around if any permission issues with (if any)

If you don't have evidence of a permission problem, you don't bring it up. A signal 11 has nothing to do with file permission, just page permissions.