IUFINGERD under IA64 VMS 8.4 ? (412 Views)
Reply
Advisor
Posts: 27
Registered: ‎06-20-2006
Message 1 of 3 (412 Views)
Accepted Solution

IUFINGERD under IA64 VMS 8.4 ?

Hi,

    Has anyone successfully modified IUFINGERD such that it compiles and works under OpenVMS IA64 v8.4 ??

 

IUFINGERD is available from, among other sites:

 

http://decuslib.com/decus/freewarev40/finger/iufingerd/

 

I am getting the following when trying to run the @make :

 

$ @make

%IUFINGERD-I-TCPTYPE, making IUFINGERD for UCX TCP/IP

%IUFINGERD-I-MAKETYPE, making IUFINGERD with MMS

CC /list/opt/define=(UCX,ALPHA)/STANDARD=VAXC/PREFIX=ANSI NET.C

strcpy(remoteName, inet_ntoa(IPaddress));

....^

%CC-E-NOCONVERT, In this statement, "IPaddress" is of type "unsigned long", and cannot be converted to "struct in_addr".

at line number 210 in file TS_DEVICE:[LENNON.IUFINGERD]NET.C;3

%MMS-F-ABORT, For target NET.OBJ, CLI returned abort status: %X10B91262.

 

I suspect this is  but the first of many that would need to be tweaked.

 

I was looking for a FINGER server where I could control the format of the output, such as providing the full size of the owner field of the UAF in the output.

 

Thanks,

Dave

Esteemed Contributor
Posts: 378
Registered: ‎04-09-2009
Message 2 of 3 (395 Views)

Re: IUFINGERD under IA64 VMS 8.4 ?

Compiling the sources and linking the objects isn't a big problem. Whether the result works, I don't know.

 

$ edito/edt MAKE.COM;1
    1       $! set noverify
*s/PREFIX=ANSI/PREFIX=ALL/w
   21       $   cc_options == "/STANDARD=VAXC/PREFIX=ALL"
1 substitution
*exit
LDA1:[USERS.DEMO.IUFINGERD]MAKE.COM;3 214 lines
$

 Ioctl is available and you no longer need the compatibility stuff:

$ copy nla0: ucx_compatibility.h
$ cre UCX_IOCTL.C
static int nothing;
[ Exit ]
$

 And you want to link with the ucx (compatible?) shareable image:

$ cre UCX.opt    
sys$library:UCX$IPC_SHR/share
[ Exit ]
$

Now @make should generate an executable image.

 

You may want to get rid of the /STANDARD=VAXC and fix any error/look at any warning as a result of that as well as you want to remove any UCX dependency and link with TCPIP$IPC_SHR.

---

Your [no, my] post has been changed because invalid HTML was found in the message body. The invalid HTML has been removed. Please review the message and submit the message when you are satisfied [and I have no clue what was changed and how to avoid it the next time; and now 'Preview' is no longer working for me either: Thank you!!!] 

Advisor
Posts: 27
Registered: ‎06-20-2006
Message 3 of 3 (377 Views)

Re: IUFINGERD under IA64 VMS 8.4 ?

H.Becker,

 

Awesome, thanks, I am able to compile and link based on your instructions. It even seems to run correctly, as well.

 

I really appreciate the quick response.

 

- Dave

The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation.