compile errors in config phase with ArchLinux and Fedora 20
config.log trying to link with -I/usr/lib/librt.so:
/usr/lib/librt.so: undefined reference to `gettimeofday@GLIBC_2.2.5'
or Fedora20:
/usr/lib/librt.so: error adding symbols: File in wrong format
linkage is AC_LIB_HAVE_LINKFLAGS macro behaviour
see http://marc.info/?l=gnulib-bug&m=129660262901148
Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de>
Added MIPS (o32 and 64 abi) and Arm (aapcs abi) support. Everything else defaults to sysv.
Added Boost.Locale iconv dependency
- uCLibc does not implement monetary.h and because of that boost.locale.posix is off. For everything else it is on.
- For details check here: http://www.boost.org/doc/libs/1_57_0/libs/locale/doc/html/building_boost_locale.html
Added Boost.Context, Boost.Container, Boost.Coroutine and Boost.Log
Signed-off-by: Carlos M. Ferreira carlosmf.pt@gmail.com
The package already uses the generic autoreconf fixup so the additional call
to autogen.sh is unneeded and might even introduce wrong versions of the
required autotools into the build.
Remove the unneeded Build/Configure override to simplify the Makefile.
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
The Makefile already uses the proper autoreconf fixup but leaves a manual
autoconf invocation in place.
The bad autoconf call leads to the following build error in the SDK:
configure.ac:3: installing `./config.guess'
configure.ac:3: installing `./config.sub'
configure.ac:20: installing `./install-sh'
configure.ac:20: installing `./missing'
src/Makefile.am: installing `./depcomp'
autoreconf: Leaving directory `.'
aclocal...
autoheader...
libtoolize... libtoolize nor glibtoolize not found
make[2]: *** [.../.configured_] Error 1
Remove the entire Build/Configure override to let libtorrent build correctly.
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
The automake template does not specify libgobject-2.0.la as _LDADD dependency
for glib-compile-resources, leading to the following linker error:
.../ld: warning: libgmodule-2.0.so.0, needed by ./.libs/libgio-2.0.so, not found (try using -rpath or -rpath-link)
./.libs/libgio-2.0.so: undefined reference to `g_module_supported'
./.libs/libgio-2.0.so: undefined reference to `g_module_symbol'
./.libs/libgio-2.0.so: undefined reference to `g_module_close'
./.libs/libgio-2.0.so: undefined reference to `g_module_error'
./.libs/libgio-2.0.so: undefined reference to `g_module_open'
collect2: error: ld returned 1 exit status
This commit introduces a patch to add the missing libtool archive to the list
of libraries to link.
Due to the update of the .am file, a full autoreconf is required to update
configure and Makefile, leading to the following error:
error: HAVE_GTK_DOC does not appear in AM_CONDITIONAL
Therfore another patch is added to properly fix the conditional when using
automake-1.15.
Finally extend the copyright year in the Makefile and enable the generic
autoreconf fixup to properly build and link glib2.
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>