1753365 Members
6013 Online
108792 Solutions
New Discussion юеВ

Re: Getuai on Itanium

 
SOLVED
Go to solution
Peter Zeiszler
Trusted Contributor

Getuai on Itanium

I pulled the getuai from the freeware CD and am getting errors doing a compile.

HP C V7.2-001 on OpenVMS IA64 V8.3

Anyone compiled this on 8.3 yet?
7 REPLIES 7
Dean McGorrill
Valued Contributor

Re: Getuai on Itanium

hi Peter,
from our port, I remember C was much
fussier. stuff with syntax, type casting,
alignment etc. Not knowing C, I asked our
gurus and monkey see monkey do fixed our
errors.. I'm sure theres C experts in here!
Steven Schweda
Honored Contributor
Solution

Re: Getuai on Itanium

Looks like sloppy code to me. I see similar
complaints on Alpha with:

HP C V7.1-015 on OpenVMS Alpha V7.3-2

DESCRIP.MMS uses CC/STANDARD=VAXC, which may
help.

I never trust anything which uses
/STANDARD = VAXC.
Hoff
Honored Contributor

Re: Getuai on Itanium

Not all the stuff on OpenVMS Freeware V8.0 is new or updated; some truly old or obscure code was rolled up during a dragnet of existing OpenVMS source code repositories.

This GETUAI code appears to be from 1990; those look like fairly standard errors from old-style VAX C syntax, and from old-style C coding constructs.

You could choose any of various courses of action here: suppress the errors with /STANDARD=VAXC, or update the code, or catch up with somebody that has already ported and updated it, or (as you're trying here :-) convince somebody to port it (and mayhap update it) for you.

There will likely be a few (probably minor) changes desired, as there have been a few (minor) changes in this area of OpenVMS since 1990 or so. This beyond the changes involving C itself.

Stephen Hoffman
HoffmanLabs.com
Steven Schweda
Honored Contributor

Re: Getuai on Itanium

It's still pretty ragged, but you could try:

http://antinode.org/ftp/misc/getuai_mod.zip

ALP $ mms

MACROS = "/MACRO=(__DECC__=1,__ALPHA__=1)"
MMS'macros' default
CC /NOLIST/OBJECT=GETUAI.OBJ GETUAI.C
SET COMMAND /OBJECT=GETUAI_TABLES.OBJ GETUAI_TABLES.CLD
LINK/TRACE/NOMAP/EXEC=GETUAI.EXE/NOTRACEBACK GETUAI.OBJ,GETUAI_TABLES.OBJ
!GETUAI built

ALP $ exec getuai sms /uic = fred
ALP $ show symb fred
FRED = "[50,1]"
Peter Zeiszler
Trusted Contributor

Re: Getuai on Itanium

It works with the linking/compiling errors.
Steven Schweda
Honored Contributor

Re: Getuai on Itanium

> It works with the linking/compiling errors.

It works without them, too.
Hoff
Honored Contributor

Re: Getuai on Itanium

GETUAI with various qualifier updates for "recent" SYSUAF changes, and with one known bug.

http://labs.hoffmanlabs.com/node/1205