Operating System - OpenVMS
1752431 Members
5901 Online
108788 Solutions
New Discussion

Re: IUFINGERD under IA64 VMS 8.4 ?

 
SOLVED
Go to solution
David R. Lennon
Valued Contributor

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

2 REPLIES 2
H.Becker
Honored Contributor
Solution

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!!!] 

David R. Lennon
Valued Contributor

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