Date: Wed, 15 Apr 2015 21:44:48 +0200 From: Dimitry Andric <dim@FreeBSD.org> To: Walter Schwarzenfeld <w.schwarzenfeld@utanet.at> Cc: ports@FreeBSD.org Subject: Re: graphics/goom Message-ID: <AE6EE0BC-85AD-49B4-9E34-FA7C7080DC85@FreeBSD.org> In-Reply-To: <552E1612.50208@utanet.at> References: <552E1612.50208@utanet.at>
next in thread | previous in thread | raw e-mail | index | archive | help
--Apple-Mail=_E5E7AF03-E943-4240-BA38-0E7DFC01E5AC Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii On 15 Apr 2015, at 09:41, Walter Schwarzenfeld = <w.schwarzenfeld@utanet.at> wrote: >=20 > does not compile with clang (but compiles fine with gcc). >=20 > Error Message: >=20 > cc -O2 -pipe -fstack-protector -fno-strict-aliasing -fstack-protector = -o > .libs/goom2 -Wl,-rpath -Wl,/usr/local/lib frame_rate_tester.o = gmtimer.o > gtk-callbacks.o gtk-interface.o gtk-support.o pixeldoubler.o readme.o > sdl_goom.o sdl_pixeldoubler.o surface.o -L/usr/local/lib -lSDL = -pthread > -lgtk -lgdk -lgmodule -lglib -lintl /usr/local/lib/libXi.so > /usr/local/lib/libXext.so /usr/local/lib/libX11.so -lm > ../src/.libs/libgoom2.so -Wl,--rpath -Wl,/usr/local/lib > gtk-callbacks.o: In function `g_bit_nth_lsf': > gtk-callbacks.c:(.text+0x0): multiple definition of `g_bit_nth_lsf' > gmtimer.o:gmtimer.c:(.text+0x0): first defined here Hi Walter, I've just tried building graphics/goom with clang, but it builds just fine for me. I'm on 11-CURRENT, however. Which version of FreeBSD are you building this on? And do you have any particular settings in e.g. /etc/make.conf, or in your environment? -Dimitry --Apple-Mail=_E5E7AF03-E943-4240-BA38-0E7DFC01E5AC Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP using GPGMail -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.27 iEYEARECAAYFAlUuv7UACgkQsF6jCi4glqONKQCg4BSGhjtdB+o0X2rssHc2Ao5g x+8AnR4XQBSoOJGmbszlLG+TJhPLggw7 =PWS6 -----END PGP SIGNATURE----- --Apple-Mail=_E5E7AF03-E943-4240-BA38-0E7DFC01E5AC--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AE6EE0BC-85AD-49B4-9E34-FA7C7080DC85>