Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 4 Sep 2003 08:24:07 +0200 
From:      Oliver.Burkhalter@gs-vbs.admin.ch
To:        questions@FreeBSD.org
Subject:   Compile error with perl 5.8.0
Message-ID:  <EEC2D9E8E7B03F4E81999215AF5B404002A55544@ber-ex-01.vbs.intra.admin.ch>

next in thread | raw e-mail | index | archive | help
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


Yours sincerely
		Oliver



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?EEC2D9E8E7B03F4E81999215AF5B404002A55544>