1833958 Members
2222 Online
110063 Solutions
New Discussion

ANSI c

 
Mogamat
Occasional Contributor

ANSI c

The customer installed the product B3901BA.
He,however, could not install the license. He was advised to create an ASCII file and insert this in the newconfig directory. I suspect this is not the only place he need to insert the license file. He get the following error message.
____________________________________________

The errors are as follows when the code is compiled

"/triceps/triprod/source $ mkrts1.hp SCR
> > Internal Error: Codeword file(s) missing or empty.
> > Internal Error: Codeword file(s) missing or empty.
> > Internal Error: Codeword file(s) missing or empty.
> > Internal Error: Codeword file(s) missing or empty.
> > cc:  487: warning : Possibly incorrect message catalog.
> > Internal Error: Codeword file(s) missing or empty.
> > cob32: error(s) in C compilation: rts1serl.c Rename rts1.SCR to rts1
> >
> >
> > mkrts1.hp has 4 C compiler commands, i.e.:
> >
> > cc -c +u1 -DHPUX cstuff2.c
> > cc -c +u1 -DHPUX dmn_c.c
> > cc -c +u1 -DHPUX rts1tcp.c
> > cc -c +u1 -DHPUX y.tab.c
> > cp rts1serl.$1 rts1serl.c
> > cob -xe "" cstuff2.o rts1serl.c rts1tcp.o y.tab.o dmn_c.o
> > /lib/libcur_colr.a -o"

We found another reference to this error on the forums as follows
_________________________________________
6 REPLIES 6
Peter Godron
Honored Contributor

Re: ANSI c

Hi,
I would go back and try to complete the install. If you are the sys admin, why is the user doing installs? You can always use sam to step you through the process. This should also take care of switching the compiler from HP C to ANSI C.
Steven E. Protter
Exalted Contributor

Re: ANSI c

Shalom,

If the software is codeword protected, your customer should not be able to install it at all.

Seems they found a way.

The correct response is to swremove the software, correcly install the codeword with swinstall and then install the software from the Application CD's.

Its meaningless to post code, because the compiler itself is the suspect. Perhaps however, I misunderstood. I stand ready for enlightenment.

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
Mogamat
Occasional Contributor

Re: ANSI c

The installed anci c and he has a license key. He explains;

"how do I install the code words from swinstall?
i go to actions, but i don't see anything such as "add new code"

he then tried to manually insert the key. It would seem, however, that he does not know the path in which the key must be inserted. The only path is described as;

â ¢ IPF Ansi C compiler: /opt/ansic/newconfig/ansic.cwd

My question is: is the only path from which the key will be seen, or is there another path in which the key must appear to stop the error from appearing as described in my initial mail.

Thanks
Peter Godron
Honored Contributor

Re: ANSI c

Hi,
after the software installation, he should select the software from the list in swinstall, then look at the action, there should be an option to add key. However, I would still question letting users try to do anything like this.
Peter Godron
Honored Contributor

Re: ANSI c

Hi,
after the software installation, he should select the software from the list in swinstall, then look at the action, there should be an option to add key. However, I would still question letting users try to do anything like this.
For a full description/guide:
http://docs.hp.com/en/B2355-90789/ch02s01.html
Tom Henning
Trusted Contributor

Re: ANSI c

During the installation, when swinstall (I assume you are using the GUI at this point) is pointed at the software depot (normally the application CD/DVD's) a message window pops up saying that software in this depot is codeword protected and you should add the codeword to unlock the software. There is a "Add New Codeword" selection available in the Actions menu for this purpose.

Once the new codeword is added via swinstall, the ANSI C product will now be listed in the selection window, where it was not before the codeword was added. Install the product in this manner and the problems will go away.
What is it that possesses otherwise sane individuals to change something just because it has not been changed in a while?