From owner-freebsd-questions@FreeBSD.ORG Thu Sep 4 04:13:35 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1F41416A4BF for ; Thu, 4 Sep 2003 04:13:35 -0700 (PDT) Received: from TK212017121218.teleweb.at (TK212017121218.teleweb.at [212.17.121.218]) by mx1.FreeBSD.org (Postfix) with ESMTP id 715D843F93 for ; Thu, 4 Sep 2003 04:13:34 -0700 (PDT) (envelope-from herbert@TK212017121218.teleweb.at) Date: Thu, 4 Sep 2003 13:12:33 +0200 From: Herbert To: questions@FreeBSD.org Message-ID: <20030904111233.GB58977@TK212017121218.teleweb.at> Mail-Followup-To: questions@FreeBSD.org References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Operating-System: FreeBSD 5.1-RELEASE User-Agent: Mutt/1.5.4i Subject: Re: Compile error with perl 5.8.0 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 Sep 2003 11:13:35 -0000 On Thu, Sep 04, 2003 at 08:24:07AM +0200, Oliver.Burkhalter@gs-vbs.admin.ch wrote: > Hello, > > I`ve got a problem with the compilation of perl 5.8.0 and till now i > couldn`t find a solution to solve my problem. > If I run the command "make" after the configuration of perl, I receive the > following error: > > ================================================================== > > Making SDBM_File (dynamic) > cd sdbm && make all > cc -c -I../../.. -DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H > -fno-strict-aliasing -O -DVERSION=\"\" -DXS_VERSION=\"\" -DPIC -fpic "- > I../../.." -DSDBM -DDUFF sdbm.c > sdbm.c:41: conflicting types for `malloc' > /usr/include/stdlib.h:100: previous declaration of `malloc' > sdbm.c:42: conflicting types for `free' > /usr/include/stdlib.h:96: previous declaration of `free' > *** Error code 1 > > Stop in /usr/local/perl-5.8.0/ext/SDBM_File/sdbm. > *** Error code 1 > > Stop in /usr/local/perl-5.8.0/ext/SDBM_File. > *** Error code 1 > > Stop in /usr/local/perl-5.8.0. > > ================================================================== > > I hope you may help me. > > Thanks a lot. > > My FreeBSD Version (uname -a): > FreeBSD 5.1-RELEASE #0: Thu Jun 5 02:55:42 GMT 2003 > root@wv1u.btc.adaptec.com:/usr/obj/usr/src/sys/GENERIC i386 Hi! % cd /usr/ports/lang/perl5.8 && make install clean If you are not familiar with the FreeBSD ports system, read the FreeBSD Handbook: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/ports-using.html Herbert