Re: [Gimp-developer] Undefined reference to __sync_fetch_and_sub_4



Hi, I'm running on the same problem today.

I think it's a problem with glib atomic operations and mingw, because  __sync_fetch_and_sub_4 is used in g_atomic_int_dec_and_test I suppose. But I'm stuck on that.

I'm using the glib 2.30.2 build from OpenSUSE, so maybe the problem is there.

Victor Oliveira

On Fri, Nov 25, 2011 at 10:15 PM, Partha Bagchi <partha1b gmail com> wrote:
Hi All,

Updated glib to 2.30.2 and gtk+-2.0 to 2.24.8. Using gcc 4.6.1.

The latest geg download from
ftp://gimptest.flamingtext.com/pub/nightly-tarballs/ is giving me the
following error when building for win32 on Windows 7:

Creating library file: .libs/libgegl-0.1.dll.a
../gegl/buffer/.libs/libbuffer.a(gegl-tile.o):gegl-tile.c:(.text+0x36):
undefined reference to `__sync_fetch_and_sub_4'
collect2: ld returned 1 exit status
make[3]: *** [libgegl-0.1.la] Error 1
make[3]: Leaving directory `/usr/src/gimp/gimp-2.7.4/gegl-0.1.7/gegl'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/src/gimp/gimp-2.7.4/gegl-0.1.7/gegl'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/gimp/gimp-2.7.4/gegl-0.1.7'
make: *** [all] Error 2

Any suggestions welcome.

Thanks,
Partha
_______________________________________________
gimp-developer-list mailing list
gimp-developer-list gnome org
http://mail.gnome.org/mailman/listinfo/gimp-developer-list



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]