From owner-freebsd-multimedia@FreeBSD.ORG Mon Feb 7 09:54:41 2011 Return-Path: Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5C6C41065694 for ; Mon, 7 Feb 2011 09:54:41 +0000 (UTC) (envelope-from stark@mapper.nl) Received: from smtp-out3.tiscali.nl (smtp-out3.tiscali.nl [195.241.79.178]) by mx1.freebsd.org (Postfix) with ESMTP id E2F2C8FC14 for ; Mon, 7 Feb 2011 09:54:40 +0000 (UTC) Received: from [82.171.102.20] (helo=mapper.nl) by smtp-out3.tiscali.nl with esmtp (Exim) (envelope-from ) id 1PmNWR-00085U-0O for freebsd-multimedia@freebsd.org; Mon, 07 Feb 2011 10:36:39 +0100 Received: from [10.58.240.6] by mapper.nl with esmtpsa (TLSv1:CAMELLIA256-SHA:256) (Exim 4.74 (FreeBSD)) (envelope-from ) id 1PmNWN-000Iv1-SL for freebsd-multimedia@freebsd.org; Mon, 07 Feb 2011 10:36:36 +0100 Message-ID: <4D4FBD1E.4030003@mapper.nl> Date: Mon, 07 Feb 2011 10:36:30 +0100 From: Mark Stapper User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.9.2.13) Gecko/20101207 Lightning/1.0b2 Thunderbird/3.1.7 MIME-Version: 1.0 To: freebsd-multimedia@freebsd.org X-Enigmail-Version: 1.1.1 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig0612EB965C64314BEBF2182B" Subject: Port miniDLNA 2010.12.12 build failes due to warning in scanner.c X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Feb 2011 09:54:41 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig0612EB965C64314BEBF2182B Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hi All, I've been compiling miniDLNA and ran into the following "problem". =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3DBegin Code=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D cc -O2 -fno-strict-aliasing -pipe -march=3Dathlon64 -I/usr/ports/net/minidlna/files -I/usr/ports/net/minidlna/work -I/usr/local/include -I/usr/local/include/ffmpeg -I/usr/local/include/libavutil -DPREFIX=3D'"/usr/local"' -DOS=3D'"FreeBSD= "' -DOSVERSION=3D'"8.0-STABLE"' -Wformat -Werror -std=3Dgnu99 -fstack-protec= tor -Wsystem-headers -Werror -Wall -Wno-format-y2k -Wno-uninitialized -Wno-pointer-sign -c scanner.c cc1: warnings being treated as errors scanner.c: In function 'ScanDirectory': scanner.c:732: warning: passing argument 3 of 'scandir' from incompatible pointer type scanner.c:735: warning: passing argument 3 of 'scandir' from incompatible pointer type scanner.c:738: warning: passing argument 3 of 'scandir' from incompatible pointer type scanner.c:741: warning: passing argument 3 of 'scandir' from incompatible pointer type *** Error code 1 1 error *** Error code 1 Stop in /usr/ports/net/minidlna. =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3DEnd Code=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D I was able to install by cd-ing into the work dir and running the build command without the "-Werror" option. Please also note that this flag is specified twice! =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3DBegin Code=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D FreeBSD yoshi 8.0-STABLE FreeBSD 8.0-STABLE #0: Tue Feb 9 13:34:17 CET 2010 root@:/usr/obj/usr/src/sys/YOSHI amd64 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3DEnd Code=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D Cheers, Mark --------------enig0612EB965C64314BEBF2182B Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk1PvSIACgkQN9xNqOOVnWAgZgCbBBPsYH2uZ2dTyvuujQptKdHs I2UAn0pfsp7UVJG8T5cS1JvvGoP9xD18 =t+h6 -----END PGP SIGNATURE----- --------------enig0612EB965C64314BEBF2182B--