[conquest] Problem building on FreeBSD-6.0-RELEASE

Jon Trulson jon at radscan.com
Fri Jan 6 18:38:13 MST 2006

On Fri, 6 Jan 2006, Ralph Moritz wrote:

> Hi.
> I had a problem building on my FreeBSD box. The problem was gcccomplaining about undefined references to SIGCLD. I grep'ed forit in /usr/include/sys/signal.h but it wasn't there.
> $ pwd/usr/home/ralmoritz/src/conquest-8.1.2$ grep -n SIGCLD *.[ch]conqmetad.c:517:  signal(SIGCLD, SIG_IGN);     /* allow children to die */conquestd.c:126:   signal(SIGCLD, SIG_IGN);     /* allow children to die */
> After changing the two occurences of SIGCLD above to SIGCHLD itbuilt fine. Cool game BTW!

 	Hmm hehe, bit of a formatting issue up there...  Ok, I will rework 
these with something like this to c_defs.h:

#ifndef SIGCLD

 	which should continue to work on everything.

 	I've attached a patch which should apply to virgin 8.1.2 if you 
want to try it.  Otherwise go with what you got :)


Jon Trulson    mailto:jon at radscan.com
ID: 1A9A2B09, FP: C23F328A721264E7 B6188192EC733962
PGP keys at http://radscan.com/~jon/PGPKeys.txt
#include <std/disclaimer.h>
"I am Nomad." -Nomad
-------------- next part --------------
Index: c_defs.h
RCS file: /home/jon/src/repository/conquest/c_defs.h,v
retrieving revision 1.22
diff -u -r1.22 c_defs.h
--- c_defs.h	23 Apr 2005 21:54:46 -0000	1.22
+++ c_defs.h	7 Jan 2006 01:32:19 -0000
@@ -45,6 +45,10 @@
 # include <stdarg.h>
+#ifndef SIGCLD                                                     
 /* JET - need checks here? */
 #include <sys/ioctl.h>
 #include <sys/socket.h>

More information about the Conquest mailing list