RE: present but cannot be compiled
<[email protected]> Tue, 4 Nov 2003 13:57:07 +0900
| Newsgroups | gmane.network.xinetd |
|---|---|
| Message-ID | <[email protected]> |
I'm sorry, could you teach a little more in detail? In the pmap_clnt.h I have following lines. >63#ifndef _RPC_PMAP_CLNT_H_ >64#define _RPC_PMAP_CLNT_H_ >65#include <sys/cdefs.h> >67 >68__BEGIN_DECLS >69extern bool_t pmap_set __P((u_long, u_long, int, int)); >70extern bool_t pmap_unset __P((u_long, u_long)); >71extern struct pmaplist *pmap_getmaps __P((struct sockaddr_in *)); >72extern enum clnt_stat pmap_rmtcall __P((struct sockaddr_in *, >73 u_long, u_long, u_long, >74 xdrproc_t, caddr_t, >75 xdrproc_t, caddr_t, >76 struct timeval, u_long *)); >77extern enum clnt_stat clnt_broadcast __P((u_long, u_long, u_long, >78 xdrproc_t, char *, >79 xdrproc_t, char *, >80 resultproc_t)); >81extern u_short pmap_getport __P((struct sockaddr_in *, >82 u_long, u_long, u_int)); >83__END_DECLS >84 >85#endif /* !_RPC_PMAP_CLNT_H_ */ looks like choking on >77extern enum clnt_stat clnt_broadcast __P((u_long, u_long, u_long, >78 xdrproc_t, char *, >79 xdrproc_t, char *, >80 resultproc_t)); and next what should I do ? Grep 'resultproc_t' from '/usr/include/*/*'? If I grep 'resultproc_t' ,too many lines are displayed. Which header file should I add to reconfigure.c? itsu -----Original Message----- From: Steve G [mailto:[email protected]] Sent: Thursday, October 30, 2003 9:56 PM To: [email protected] Subject: RE: [xinetd] present but cannot be compiled >In file included from reconfig.c:27: >/usr/include/rpc/pmap_clnt.h:80: parse error before `resultproc_t' Its obvious that a header file is required that xinetd is not including. Look in pmap_clnt.h around line 80 and see what its choking on. Grep around in the includes to see where that structure is defined and add the header file to reconfigure.c. I do not have any bsd OS, so my help is somewhat limited. I want to think that xinetd 2.3.12 is somewhere in their ports system with patches applied. You might look around around at other bsd's for the reconfigure.c file and see if they've patched anything. If you get it to compile, please let us know what is needed so we can add it to the next version of xinetd. -Steve Grubb __________________________________ Do you Yahoo!? Exclusive Video Premiere - Britney Spears http://launch.yahoo.com/promos/britneyspears/ _______________________________________________ xinetd mailing list [email protected] http://www.xinetd.org/mailman/listinfo/xinetd