Date: Mon, 07 Feb 2011 10:36:30 +0100 From: Mark Stapper <stark@mapper.nl> To: freebsd-multimedia@freebsd.org Subject: Port miniDLNA 2010.12.12 build failes due to warning in scanner.c Message-ID: <4D4FBD1E.4030003@mapper.nl>
next in thread | raw e-mail | index | archive | help
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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4D4FBD1E.4030003>