From owner-freebsd-questions Mon Jun 12 10:11:44 1995 Return-Path: questions-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id KAA28590 for questions-outgoing; Mon, 12 Jun 1995 10:11:44 -0700 Received: from lirmm.lirmm.fr (lirmm.lirmm.fr [193.49.104.10]) by freefall.cdrom.com (8.6.10/8.6.6) with ESMTP id KAA28574 for ; Mon, 12 Jun 1995 10:11:41 -0700 Received: from lirmm.fr (baobab.lirmm.fr [193.49.106.14]) by lirmm.lirmm.fr (8.6.10/8.6.4) with ESMTP id TAA21850; Mon, 12 Jun 1995 19:10:49 +0200 Message-Id: <199506121710.TAA21850@lirmm.lirmm.fr> To: Sergey Plyaskin cc: questions@freebsd.org Subject: Re: Still error compiling bulk_mailer In-reply-to: Your message of "Mon, 12 Jun 1995 12:28:23 -0000." <199506121228.MAA04538@fluke.cmp.com> Date: Mon, 12 Jun 1995 19:10:45 +0200 From: "Philippe Charnier" Sender: questions-owner@freebsd.org Precedence: bulk Salut, In the message Still error compiling bulk_mailer, Sergey Plyaskin 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 #endif #include [...] #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 ------------------------------------------------------------------------