Subject: [IRCOPS-ESNET] Problems applying patches (again O:-) Resent-Date: Sat, 24 Jan 1998 08:21:30 +0100 Resent-From: ircops@esnet.org Date: Sat, 24 Jan 1998 08:20:30 -0100 From: "Jesús Cea Avión" Reply-To: ircops@esnet.org Organization: Argo Redes y Servicios Telematicos, S.A. To: coder-com , "ircops@esnet.org" Hello again :). I've just applied all the patches in Carlo's page, and I get the following error: gcc -g -O2 -pipe -I../include chkconf.c match.o chkcrule.o \ -lsocket -lnsl -lresolv -o chkconf chkconf.c:68: `CONFIGFILE' undeclared here (not in a function) make[1]: *** [chkconf] Error 1 make[1]: Leaving directory `/opt/src/ircu2.10.01/ircd' The problem seems to be glib1-2.patch since it deletes #define CONFIGFILE CPATH and corrects ircd.c *BUT NO* chkconf.c. Yes, I know. CHKCONF is used only to check the config file, but I'd prefer a clear compilation ;-). Here is the patch: (it can be added to glib1-2.patch) *** ../ircu2.10.01/ircd/chkconf.c Sat Jan 24 08:14:11 1998 --- ../ircu2.10.01+/ircd/chkconf.c Sat Jan 24 08:15:11 1998 *************** *** 65,71 **** static int dgets(int fd, char *buf, int num); static int numclasses = 0, *classarr = (int *)NULL, debugflag = 0; ! static char *chk_configfile = CONFIGFILE; static char nullfield[] = ""; static char maxsendq[12]; --- 65,71 ---- static int dgets(int fd, char *buf, int num); static int numclasses = 0, *classarr = (int *)NULL, debugflag = 0; ! static char *chk_configfile = CPATH; static char nullfield[] = ""; static char maxsendq[12]; -- Jesus Cea Avion _/_/ _/_/_/ _/_/_/ jcea@argo.es http://www.argo.es/~jcea/ _/_/ _/_/ _/_/ _/_/ _/_/ _/_/ _/_/ _/_/_/_/_/ PGP Key Available at KeyServ _/_/ _/_/ _/_/ _/_/ _/_/ "Things are not so easy" _/_/ _/_/ _/_/ _/_/ _/_/ _/_/ "My name is Dump, Core Dump" _/_/_/ _/_/_/ _/_/ _/_/ "El amor es poner tu felicidad en la felicidad de otro" - Leibnitz