From owner-freebsd-ports@FreeBSD.ORG Sat Jun 25 08:54:01 2005 Return-Path: X-Original-To: ports@freebsd.org Delivered-To: freebsd-ports@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 52C8716A41C for ; Sat, 25 Jun 2005 08:54:01 +0000 (GMT) (envelope-from chrcoluk@gmail.com) Received: from rproxy.gmail.com (rproxy.gmail.com [64.233.170.206]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0D6FC43D49 for ; Sat, 25 Jun 2005 08:54:00 +0000 (GMT) (envelope-from chrcoluk@gmail.com) Received: by rproxy.gmail.com with SMTP id r35so809088rna for ; Sat, 25 Jun 2005 01:54:00 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=e+QBj/AKE0JRDjBVc5hyC2IvtnP8NvbctfvHOANixT8BJk3WwmUCQzHYuYRPoMGXyVU66ILVJCIE8jKpY4WUM6GTobCsiGpBbvXBOjI2SQ+TweypJgfS1PvN2NcHBJzIyEQgnkNsxg51pl8E0hayfGE/5BcejpYDLLXJZ8wqMWg= Received: by 10.38.152.65 with SMTP id z65mr76500rnd; Sat, 25 Jun 2005 01:54:00 -0700 (PDT) Received: by 10.39.1.40 with HTTP; Sat, 25 Jun 2005 01:54:00 -0700 (PDT) Message-ID: <3aaaa3a0506250154421b1612@mail.gmail.com> Date: Sat, 25 Jun 2005 09:54:00 +0100 From: Chris To: Sven Willenberger In-Reply-To: <1119626202.18388.7.camel@lanshark.dmv.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <00ba01c577df$4c80a9c0$0201a8c0@BKUBESA> <6.2.1.2.2.20050624072918.03cae588@pozo.com> <1119626202.18388.7.camel@lanshark.dmv.com> Cc: ports@freebsd.org, rob@debank.tv, =?ISO-8859-2?Q?B=F8etislav_Kubesa?= Subject: Re: FreeBSD Port: clamav-0.86 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Chris List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 25 Jun 2005 08:54:01 -0000 0.86.1 compiles normal again. Chris On 24/06/05, Sven Willenberger wrote: > On Fri, 2005-06-24 at 07:35 -0700, Manfred Antar wrote: > > At 03:35 AM 6/23/2005, =3D?iso-8859-2?Q?B=3DF8etislav_Kubesa?=3D wrote: > > >Hello, I`m not able to compile clamav-0.86 {clamav-milter} on FreeBSD = 5.4. > > >Here is the output : > > > > > >Making all in clamav-milter > > >cc -DHAVE_CONFIG_H -I. -I. -I.. -I../clamd -I../libclamav -I../shared = -I/usr/local/include > > > -O -pipe -march=3Dpentium4 -c -o cfgparser.o `test -f > > >'../shared/cfgparser.c' || echo './'`../shared/cfgparser.c > > >cc -DHAVE_CONFIG_H -I. -I. -I.. -I../clamd -I../libclamav -I../shared = -I/usr/local/include > > > -O -pipe -march=3Dpentium4 -c -o getopt.o `test -f '../shared/getopt= .c' || > > >echo './'`../shared/getopt.c > > >cc -DHAVE_CONFIG_H -I. -I. -I.. -I../clamd -I../libclamav -I../shared = -I/usr/local/include > > > -O -pipe -march=3Dpentium4 -c -o memory.o `test -f '../shared/memory= .c' || > > >echo './'`../shared/memory.c > > >cc -DHAVE_CONFIG_H -I. -I. -I.. -I../clamd -I../libclamav -I../shared = -I/usr/local/include > > > -O -pipe -march=3Dpentium4 -c -o misc.o `test -f '../shared/misc.c' = || echo > > >'./'`../shared/misc.c > > >cc -DHAVE_CONFIG_H -I. -I. -I.. -I../clamd -I../libclamav -I../shared = -I/usr/local/include > > > -O -pipe -march=3Dpentium4 -c clamav-milter.c > > >clamav-milter.c: In function `clamfi_gethostbyname': > > >clamav-milter.c:4261: warning: comparison between pointer and integer > > >/bin/sh /usr/local/bin/libtool15 --mode=3Dlink > > > -O -pipe -march=3Dpentium4 -L/usr/local/lib -pthread -o clamav-mi= lter > > >cfgparser.o getopt.o memory.o misc.o clamav-milter.o > > >../libclamav/libclamav.la -lmilter -pthread -lwrap > > >mkdir .libs > > >cc -O -pipe -march=3Dpentium4 -pthread -o .libs/clamav-milter cfgparse= r.o > > >getopt.o memory.o misc.o clamav-milter.o -pthread -L/usr/local/lib > > >../libclamav/.libs/libclamav.so -lbz2 -lgmp -lcurl -lssl -lcrypto -lz = -lmilter > > > -pthread -lwrap -Wl,--rpath -Wl,/usr/local/lib > > >clamav-milter.o(.text+0x5f1e): In function `clamfi_gethostbyname': > > >: undefined reference to `gethostbyname_r' > > >*** Error code 1 > > > > > >Can you help me with this somehow please ? Previous version 0.85.1 wor= ked > > >without any troubles. > > > > > >Thank you. > > > > > >BK > > > > I had to add --disable-pthread to the COFIGURE_ARGS in the Makefile t= o > > get it to compile. It's funny cause there is already --disable-gethostb= yname_r > > in the Makefile but it doesn't work. > > Manfred >=20 > FWIW there is a lwres_gethostbyname_r (not regular gethostbyname_r); not > sure about how different the lightweight version is but perhaps that > could be used in lieu of gethostbyname_r ? >=20 > Sven >=20 > _______________________________________________ > freebsd-ports@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-ports > To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org" >