Making RPC on HP9000s700 [message #578] |
Mon, 28 September 1992 15:15 |
martinjp
Messages: 1 Registered: September 1992
|
Junior Member |
|
|
I am trying to get the Remote Procedure Calls to work for IDL
on a HP 9000s730.
Using the following Makefile...didn't get me very far.
If anyone has made the RPC stuff on a HP I would appreciate
hearing how you did it.
-john
Makefile that I used:
#
# Copyright (C) Research Systems, 1992
#
#
# On machines where the compiler does not accept argument prototypes
# for pointers to functions you need to set FLAGS to define the
# appropriate machine #define:
#
# vms machines -DVMS
# ultrix -Dultrix
# Mips -DMIPS
# HP -Aa -D_HPUX_SOURCE
#
# There are probably more machines with this wierd state of affairs.
# Look in export.h for the declaration of SFUNC_ARG_PROTO to be sure.
FLAGS = -Aa -D_HPUX_SOURCE
LIB_OBJS=rpcfunc.o helper.o rpc_xdr.o
INCS = rpc_idl.h
rpcidl.a: $(LIB_OBJS)
ar rv rpcidl.a $(LIB_OBJS)
ranlib rpcidl.a
$(LIB_OBJS): $(INCS)
cc $(FLAGS) -DIDL_CLIENT -c $*.c
clean:
@echo "cleaning"
rm -f rpcidl.a $(LIB_OBJS)
result -->
cc -Aa -D_HPUX_SOURCE -DIDL_CLIENT -c rpcfunc.c
cc: "rpcfunc.c", line 47: error 1711: Inconsistent parameter list declaration for "register_idl_client".
cc: "rpcfunc.c", line 67: warning 604: Pointers are not assignment-compatible.
cc: "rpcfunc.c", line 67: warning 563: Argument #1 is not the correct type.
cc: "rpcfunc.c", line 139: error 1711: Inconsistent parameter list declaration for "set_idl_timeout".
*** Error code 1
----
John P. Martin
Computer Engineering & Los Alamos Nat'l Labs
University of Washington P-15, MS D406
Seattle, WA Los Alamos, NM 87545
internet: jpm@pinex3.lanl.gov (505)-665-7757
|
|
|