Gnomad2-2.4.4 compile error
Hi,
I am trying to install gnomad-2.4.4 with libnjb-1.1 and libid3-0.7. Gnomad2 configures fine (well, after changing all the PKG_CONFIG_PATH so that it works), but then when I come to running "make" I get this:
Making all in src
make[1]: Entering directory `/apps/gnomad2-2.4.4/src'
source='id3tag.cpp' object='id3tag.o' libtool=no \
depfile='.deps/id3tag.Po' tmpdepfile='.deps/id3tag.TPo' \
depmode=gcc3 /bin/sh ../depcomp \
g++ -DPACKAGE_NAME=\"gnomad2\" -DPACKAGE_TARNAME=\"gnomad2\" -DPACKAGE_VERSION=\"2.4.4\" -DPACKAGE_STRING=\"gnomad2\ 2.4.4\" -DPACKAGE_BUGREPORT=\"http://sourceforge.net/tracker/\?func=add\&group_id=65573\&atid=511470\" -DPACKAGE=\"gnomad2\" -DVERSION=\"2.4.4\" -DGETTEXT_PACKAGE=\"gnomad2\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LOCALE_H=1 -DHAVE_LC_MESSAGES=1 -DHAVE_BIND_TEXTDOMAIN_CODESET=1 -DHAVE_GETTEXT=1 -DENABLE_NLS=1 -DGNOMADLOCALEDIR=\"/usr/local/share/locale\" -DHAVE_DIRENT_H=1 -DSTDC_HEADERS=1 -DHAVE_MALLOC_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_FCNTL_H=1 -DHAVE_CHDIR=1 -DHAVE_LIBNJB=1 -DHAVE_LIBNJB=1 -DID3LIB_MAJOR=3 -DID3LIB_MINOR=8 -DID3LIB_PATCH=3 -I. -I. -pthread -DORBIT2=1 -I@includedir@/libgnomeui-2.0 -I@includedir@/libgnome-2.0 -I/usr/include/libart-2.0 -I/usr/include/libxml2 -I/opt/gnome/include/glib-2.0 -I/opt/gnome/lib/glib-2.0/include -I/opt/gnome/include/gtk-2.0 -I/opt/gnome/lib/gtk-2.0/include -I/opt/gnome/include/atk-1.0 -I/opt/gnome/include/pango-1.0 -I/usr/X11R6/include -I/usr/include/freetype2 -I/usr/include/freetype2/config -I/opt/gnome/include/libgnomecanvas-2.0 -I/opt/gnome/include/gconf/2 -I/opt/gnome/include/libbonoboui-2.0 -I/opt/gnome/include/orbit-2.0 -I/opt/gnome/include/libbonobo-2.0 -I/opt/gnome/include/gnome-vfs-2.0 -I/opt/gnome/lib/gnome-vfs-2.0/include -I/opt/gnome/include/bonobo-activation-2.0 -DPREFIX=\"/usr/local\" -DSYSCONFDIR=\"/usr/local/etc\" -DDATADIR=\"/usr/local/share\" -DLIBDIR=\"/usr/local/lib\" -DPIXMAPSDIR=\""/usr/local/share/pixmaps"\" -g -O2 -c -o id3tag.o `test -f 'id3tag.cpp' || echo './'`id3tag.cpp
In file included from /usr/include/g++/bits/ios_base.h:47,
from /usr/include/g++/ios:49,
from /usr/include/g++/istream:44,
from /usr/include/g++/fstream:45,
from /usr/include/id3/id3lib_streams.h:27,
from /usr/include/id3/utils.h:35,
from /usr/include/id3/tag.h:34,
from id3tag.cpp:32:
/usr/include/g++/bits/locale_classes.h: In member function `void
std::locale::_Impl::_M_add_reference()':
/usr/include/g++/bits/locale_classes.h:228: error: `__atomic_add' undeclared
(first use this function)
/usr/include/g++/bits/locale_classes.h:228: error: (Each undeclared identifier
is reported only once for each function it appears in.)
/usr/include/g++/bits/locale_classes.h: In member function `void
std::locale::_Impl::_M_remove_reference()':
/usr/include/g++/bits/locale_classes.h:233: error: `__exchange_and_add'
undeclared (first use this function)
/usr/include/g++/bits/locale_classes.h: In member function `size_t
std::locale::id::_M_id() const':
/usr/include/g++/bits/locale_classes.h:416: error: `__exchange_and_add'
undeclared (first use this function)
In file included from /usr/include/g++/ios:49,
from /usr/include/g++/istream:44,
from /usr/include/g++/fstream:45,
from /usr/include/id3/id3lib_streams.h:27,
from /usr/include/id3/utils.h:35,
from /usr/include/id3/tag.h:34,
from id3tag.cpp:32:
/usr/include/g++/bits/ios_base.h: In member function `void
std::ios_base::_Callback_list::_M_add_reference()':
/usr/include/g++/bits/ios_base.h:392: error: `__atomic_add' undeclared (first
use this function)
/usr/include/g++/bits/ios_base.h: In member function `int
std::ios_base::_Callback_list::_M_remove_reference()':
/usr/include/g++/bits/ios_base.h:396: error: `__exchange_and_add' undeclared
(first use this function)
make[1]: *** [id3tag.o] Error 1
make[1]: Leaving directory `/apps/gnomad2-2.4.4/src'
make: *** [all-recursive] Error 1
I don't know why I get an error with id3tag.o. Any ideas?
Regards
Jamie
|