RE: present but cannot be compiled
<[email protected]> Thu, 6 Nov 2003 15:33:43 +0900
| Newsgroups | gmane.network.xinetd |
|---|---|
| Message-ID | <[email protected]> |
Hi, Looks like it worked. When I add two lines in reconfig.c it worked. but,I got same error in services.c. So I also added both lines to serices.c + #include <rpc/auth.h> + #include <rpc/clnt.h> then I got new error like the following --------------------------------------------- gcc -O2 -g -O2 -I../libs/include -c signals.c signals.c:60: parse error before `siginfo_t' signals.c: In function `handle_signal': signals.c:221: structure has no member named `sa_sigaction' signals.c:223: `SA_SIGINFO' undeclared (first use in this function) signals.c:223: (Each undeclared identifier is reported only once signals.c:223: for each function it appears in.) signals.c: At top level: signals.c:347: parse error before `siginfo_t' signals.c: In function `mem_fault_handler': signals.c:349: `sig' undeclared (first use in this function) signals.c:352: `siginfo' undeclared (first use in this function) signals.c:371: warning: unreachable code at beginning of switch statement signals.c:393: warning: unreachable code at beginning of switch statement signals.c:371: warning: unreachable code at beginning of switch statement *** Error code 1 Stop. make: stopped in /usr/local/src/xinetd-2.3.12/xinetd *** Error code 1 Stop. make: stopped in /usr/local/src/xinetd-2.3.12 --------------------------------------------- -----Original Message----- From: Steve G [mailto:[email protected]] Sent: Thursday, November 06, 2003 12:54 PM To: [email protected] Subject: RE: [xinetd] present but cannot be compiled Hello, I found this at freebsd.org: --- xinetd/reconfig.c.orig Wed Oct 16 09:22:22 2002 +++ xinetd/reconfig.c Wed Oct 16 09:24:09 2002 @@ -23,6 +23,8 @@ #endif #include <rpc/types.h> #include <rpc/xdr.h> + #include <rpc/auth.h> + #include <rpc/clnt.h> #include <rpc/pmap_clnt.h> #endif #include <rpc/rpc.h> If this solves it let me know... -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