rpc header help please
rpc header help please
- Subject: rpc header help please
- From: Ryan Swift <email@hidden>
- Date: Mon, 2 Oct 2006 21:31:27 -0600
I am trying to compile an rpc server (written in C) on a mac. The
code builds on my linux machine, but i would like it to build on my
mac. The compiler errors are:
In file included from rpc_sig_manager.c:34:
/usr/include/rpc/pmap_clnt.h:35:2: error: invalid preprocessing
directive #define_RPC_PMAP_CLNT_H
In file included from /usr/include/rpc/pmap_clnt.h:48,
from rpc_sig_manager.c:34:
/usr/include/rpc/clnt.h:124: error: field 'RE_why' has incomplete type
/usr/include/rpc/clnt.h:149: error: parse error before "AUTH"
/usr/include/rpc/clnt.h:151: error: parse error before "xdrproc_t"
/usr/include/rpc/clnt.h:154: error: parse error before "bool_t"
/usr/include/rpc/clnt.h:156: error: parse error before '*' token
/usr/include/rpc/clnt.h:156: error: 'bool_t' declared as function
returning a function
/usr/include/rpc/clnt.h:157: error: parse error before '}' token
/usr/include/rpc/clnt.h:158: error: parse error before "cl_private"
In file included from rpc_sig_manager.c:34:
/usr/include/rpc/pmap_clnt.h:78: error: parse error before "pmap_set"
/usr/include/rpc/pmap_clnt.h:78: error: parse error before "unsigned"
/usr/include/rpc/pmap_clnt.h:79: error: parse error before "pmap_unset"
/usr/include/rpc/pmap_clnt.h:81: error: parse error before
"pmap_getport"
/usr/include/rpc/pmap_clnt.h:81: error: parse error before "rpcprog_t"
/usr/include/rpc/pmap_clnt.h:85: error: parse error before "char"
/usr/include/rpc/pmap_clnt.h:86: error: parse error before "rpcprog_t"
(rpc_sig_manager.c:34= #include <rpc/pmap_clnt.h>)
I am not sure if this is the correct list, but anybody have any ideas
what's needed here?
Thank you,
Ryan Swift
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden