Operating System - HP-UX
1754124 Members
3797 Online
108811 Solutions
New Discussion юеВ

Re: Internal Error: Codeword file /opt/ansic/newconfig/ansic.cwd missing or empty.

 
Shawn Bishop
New Member

Re: Internal Error: Codeword file /opt/ansic/newconfig/ansic.cwd missing or empty.

Hi Thomas

Making some progress as well,the following needs to be done

# cp /opt/ansic/newconfig/ansic.cwd /opt/softbench/lib/softbench.cwd

# cp /opt/ansic/newconfig/ansic.cwd /opt/aCC/newconfig/aCC.cwd

We have started to compile some of the programs,I will keep you up to date.
I also update the gcc to 4.0.2,but that wont have anything to do with it,just did it in case we need to start compiling with gcc.

Cheers
Thomas Lecomte
New Member

Re: Internal Error: Codeword file /opt/ansic/newconfig/ansic.cwd missing or empty.

Shawn -

Here is a sum up that should help all users who's having same troulbes as us.

In fact--for ANSI/C--,the file needs to be in 2 differents places:

- /opt/ansic/newconfig/ansic.cwd
- /opt/softbench/lib/softbench.cwd

According to tusc, this path is also searched by the compiler if /opt/softbench/lib/softbench.cwd isn't accessible:
- /etc/opt/softbench/lib/softbench.cwd

And if you use aCC--as Shawn said--you need also this file:
- /opt/aCC/newconfig/aCC.cwd

File's permissions should be at least 444. Take care of parents directories' permissions too, as my root's umask is 077, I had some permissions problems.

Hope this helps,
Cheers
Thomas
Alain H.
Advisor

Re: Internal Error: Codeword file /opt/ansic/newconfig/ansic.cwd missing or empty.

Hello,

I do have the same issue on HPUX IA 11.31 server after I installed the depot: B9007AAEVAL_C.11.31.04.EVAL_HP-UX_B.11.31_IA_PA.depot.

the license number, HUDHUDJEJ39E, is not 26 digit hexadecimal long.

Could it be the reason, why I'm getting the same error?

# /opt/aCC/bin/aCC -mt -c ... foo.cxx
Internal Error: Corrupted codeword in file /opt/aCC/newconfig/aCC.cwd.
*** Error exit code 254

See you,
Alain.
Dennis Handly
Acclaimed Contributor

Re: Internal Error: Codeword file /opt/ansic/newconfig/ansic.cwd missing or empty.

>Alain: I do have the same issue on HP-UX IA 11.31 server after I installed the depot: B9007AAEVAL_C.11.31.04.EVAL_HP-UX_B.11.31_IA_PA.depot.

Please create your own thread so you can assign points. You can add a URL to this one, if there is any useful info.

>the license number, HUDHUDJEJ39E, is not 26 digit hexadecimal long.

If it isn't 26 chars, it isn't valid.
See Joseph's reply.