graphics/goom

Dimitry Andric dim at FreeBSD.org
Wed Apr 15 19:44:54 UTC 2015


On 15 Apr 2015, at 09:41, Walter Schwarzenfeld <w.schwarzenfeld at utanet.at> wrote:
> 
> does not compile with clang (but compiles fine with gcc).
> 
> Error Message:
> 
> 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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 194 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20150415/8d77dba7/attachment.sig>


More information about the freebsd-ports mailing list