Operating System - HP-UX
1833325 Members
2866 Online
110051 Solutions
New Discussion

Re: aCC Linker error 1913

 
SOLVED
Go to solution
kenneth_20
Occasional Contributor

aCC Linker error 1913

I'm building a program using the following aCC commands:

aCC +DA2.0N +W 829 +z -c etloadm.C -o etloadm.o
aCC -o ./etloadm -Wl,-e etloadm +DA2.0N -b -lCsup ./etloadm.o

The linker is returning back:

aCC: error 1913: `etloadm' does not exist or cannot be read

This module definitely exists in the current directory and has all the proper
permission bits set. Can anyone suggest something else I am doing wrong?
I'm running on HP-UX v11.0 and using aCC A.03.25
3 REPLIES 3
Solution

Re: aCC Linker error 1913

Try leaving out the blank after "-Wl,e" and the following symbol name, or put a comma instead of a blank. The line that is give to the linker via "-Wl" must not be separated by blanks.
Nicolas Portais
Frequent Advisor

Re: aCC Linker error 1913

Hi,

the values for the option +DA are:
+DA1.1
+DA867
+DA2.0
+DAportable
+DA2.0W

try:
aCC +DA2.0W -W829 +z -c etloadm.C
aCC -o ./etloadm -Wl,-e,etloadm +DA2.0W -b -lCsup ./etloadm.o

Nicolas
kenneth_20
Occasional Contributor

Re: aCC Linker error 1913

>Try leaving out the blank

That was it, thanks.

Nicolas, +DA2.0N is valid; it
specifies a 32-bit compiler for
the PA-RISC 2.0 platform.