Date: Mon, 12 Jun 1995 19:10:45 +0200 From: "Philippe Charnier" <charnier@lirmm.fr> To: Sergey Plyaskin <splyaski@fluke.cmp.com> Cc: questions@freebsd.org Subject: Re: Still error compiling bulk_mailer Message-ID: <199506121710.TAA21850@lirmm.lirmm.fr> In-Reply-To: Your message of "Mon, 12 Jun 1995 12:28:23 -0000." <199506121228.MAA04538@fluke.cmp.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Salut, In the message Still error compiling bulk_mailer, Sergey Plyaskin <splyaski@fluke.cmp.com> wrote : >I'm trying to compile bulk_mailer on my FreeBSD 2.0-950412 system. >I've got the source from cs.utk.edu so no errors anymore :-) >Here's what I get: > ># make >cc -c bulk_mailer.c >bulk_mailer.c:71: conflicting types for `sys_errlist' >/usr/include/stdio.h:244: previous declaration of `sys_errlist' >bulk_mailer.c:208: warning: static declaration for `strdup' follows non-static >*** Error code 1 > The dirty thing is to remove the declaration of sys_errlist in bulk_mailer.c. The correct one can be found in paragraph 0.2 of /usr/ports/GUIDELINES. Add -D_HAVE_PARAM_H to the CFLAGS in the Makefile. #ifdef _HAVE_PARAM_H #include <sys/param.h> #endif #include <stdio.h> [...] #if (defined(BSD) && (BSD >= 199306)) /* nothing to do */ #else declaration of sys_errlist #endif -------- -------- Philippe Charnier charnier@lirmm.fr LIRMM, 161 rue Ada, 34392 Montpellier cedex 5 -- France ------------------------------------------------------------------------
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199506121710.TAA21850>