Closed domichel closed 9 years ago
The same in Debian unstable.
Here's a fix pending for upstream: diff --git configure.in configure.in index 6b57750..b7f338d 100644 --- configure.in +++ configure.in @@ -121,7 +121,7 @@ fi
MC_EVAR_ADD(CFLAGS, -Werror=format-security, -Werror=format-security) MC_EVAR_ADD(CXXFLAGS, -Werror=format-security, -Werror=format-security) -MC_EVAR_ADD(CXXFLAGS, -std=gnu++0x, -std=gnu++0x -pthread) +MC_EVAR_ADD(CXXFLAGS, -std=gnu++0x, -std=gnu++0x -pthread -lrt)
dnl # RAPICORN_SUBST_COMPUTED_SYSVAL(IDENTIFIER, INCLUDES) - defines & AC_SUBST()s RAPICORNSYSVAL$1 AC_DEFUN([RAPICORN_SUBST_COMPUTED_SYSVAL],
Closing, issue was fixed in the last release.
On gentoo ~amd64, rapicorn fail to configure when libpng is installed. The configure script check only for libpng 1.2 and 1.3, but I have 1.6 into my system.
After changing the libpng-1.3 check into a check for 1.6, it configure fine. But make fail:
Making all in tests make[3]: Entering directory
/var/tmp/portage/dev-libs/rapicorn-13.07.0/work/rapicorn-13.07.0/rcore/tests' CXXLD testrcore1 ../../rcore/.libs/librapicorncore1307.a(quicktimer.o): In function
Rapicorn1307::QuickTimer::toggle_timers(bool)': /var/tmp/portage/dev-libs/rapicorn-13.07.0/work/rapicorn-13.07.0/rcore/quicktimer.cc:30: undefined reference totimer_settime' ../../rcore/.libs/librapicorncore1307.a(quicktimer.o): In function
Rapicorn1307::QuickTimer::init_timers()': /var/tmp/portage/dev-libs/rapicorn-13.07.0/work/rapicorn-13.07.0/rcore/quicktimer.cc:66: undefined reference totimer_create' /var/tmp/portage/dev-libs/rapicorn-13.07.0/work/rapicorn-13.07.0/rcore/quicktimer.cc:73: undefined reference to
timer_delete' /var/tmp/portage/dev-libs/rapicorn-13.07.0/work/rapicorn-13.07.0/rcore/quicktimer.cc:64: undefined reference to `timer_create' collect2: error: ld returned 1 exit status make[3]: *\ [testrcore1] Error 1