RE: present but cannot be compiled
<[email protected]> Tue, 11 Nov 2003 09:46:00 +0900
| Newsgroups | gmane.network.xinetd |
|---|---|
| Message-ID | <[email protected]> |
thanks. It solve one problem with your support. but I still have one. 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 I tried grep -r siginfo_t /usr/include/*/* but gets no hit. -----Original Message----- From: Steve G [mailto:[email protected]] Sent: Monday, November 10, 2003 9:58 PM To: [email protected] Subject: RE: [xinetd] present but cannot be compiled >What should I do next.? I am very surprise that they have sigaction without the sa_sigaction member. Anyways, it looks like you can't do the mem_fault_handler, so just replace the line: sa.sa_sigaction= mem_fault_handler ; with this: sig_handler = general_handler ; Then delete these two lines immediately below: sig_handler = NULL ; sa.sa_flags = SA_SIGINFO ; That should solve your problem. I guess the tests in configure will need to be updates not to assume sa_sigaction exists if the sigaction function does. -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