RE: present but cannot be compiled
<[email protected]> Thu, 6 Nov 2003 11:25:34 +0900
| Newsgroups | gmane.network.xinetd |
|---|---|
| Message-ID | <[email protected]> |
Thanks for your help Steve. I executed the command as taught. and got following. bash-2.05b# grep -r resultproc_t /usr/include/*/* | grep typedef /usr/include/rpc/clnt.h:typedef bool_t (*resultproc_t) __P((caddr_t, ...)); And, As you told me before, I added #include <rpc/clnt.h> to the reconfig.c. but I still have same error.what should I do then? reconfig.c -------------------------------------------------------------------------------- #include "config.h" #include <sys/types.h> #include <sys/socket.h> #include <syslog.h> #include <signal.h> #include <memory.h> #include <stdlib.h> #include <unistd.h> #include <netinet/in.h> #ifndef NO_RPC #ifdef HAVE_RPC_PMAP_CLNT_H #ifdef __sun #include <rpc/types.h> #include <rpc/auth.h> #endif #include <rpc/types.h> #include <rpc/xdr.h> #include <rpc/clnt.h> * I added this line. #include <rpc/pmap_clnt.h> #endif #include <rpc/rpc.h> #endif #include "reconfig.h" #include "msg.h" #include "sconf.h" #include "conf.h" #include "confparse.h" -----Original Message----- From: Steve G [mailto:[email protected]] Sent: Thursday, November 06, 2003 12:21 AM To: [email protected] Subject: RE: [xinetd] present but cannot be compiled >If I grep 'resultproc_t' ,too many lines are displayed. >Which header file should I add to reconfigure.c? Not having a BSD machine, I have no idea. I would do something like this from /usr/include : grep -r resultproc_t * | grep typedef If typedef gets no hits, try using struct. You're close to solving the problem. -Steve Grubb __________________________________ Do you Yahoo!? Protect your identity with Yahoo! Mail AddressGuard http://antispam.yahoo.com/whatsnewfree _______________________________________________ xinetd mailing list [email protected] http://www.xinetd.org/mailman/listinfo/xinetd