Hi, On Wed, Apr 01, 2009 at 11:14:13PM +0200, Sascha 'saigkill' Manns wrote:
Package: kqlives Project: home:saigkill
Hello Mates,
i have build dumb and now im try to build kqlives. But if configure runs, i have the result: checking for dumb_exit in -ldumb... no. Has anyone an Idea, how to fix it?
From the config.log:
configure:14404: checking for dumb_exit in -ldumb configure:14439: gcc -o conftest -g -O2 conftest.c -ldumb >&5 /usr/lib64/gcc/x86_64-suse-linux/4.3/../../../../lib64/libdumb.so: undefined reference to `floor' /usr/lib64/gcc/x86_64-suse-linux/4.3/../../../../lib64/libdumb.so: undefined reference to `trunc' /usr/lib64/gcc/x86_64-suse-linux/4.3/../../../../lib64/libdumb.so: undefined reference to `log' /usr/lib64/gcc/x86_64-suse-linux/4.3/../../../../lib64/libdumb.so: undefined reference to `exp' /usr/lib64/gcc/x86_64-suse-linux/4.3/../../../../lib64/libdumb.so: undefined reference to `pow' collect2: ld returned 1 exit status So you could fix that by the following patch (to configure.ac): --- kq-src-20080202/configure.ac2008-02-02 21:33:02.000000000 +0100 +++ /var/tmp/build-root/usr/src/packages/BUILD/kq-src-20080202/configure.ac20082009-04-02 12:37:34.495998263 +0200 @@ -79,7 +79,7 @@ # Checks for libraries and library functions. AC_CHECK_FUNCS([atexit gettimeofday memmove memset mkdir pow strchr strstr]) -AC_CHECK_LIB(dumb, dumb_exit, [ALLEGRO_LIBS="-ldumb $ALLEGRO_LIBS"], [AC_MSG_ERROR([Dumb not found])]) +AC_CHECK_LIB(dumb, dumb_exit, [ALLEGRO_LIBS="-ldumb $ALLEGRO_LIBS"], [AC_MSG_ERROR([Dumb not found])], -lm) AX_CHECK_ALDUMB([ALLEGRO_LIBS="-laldmb $ALLEGRO_LIBS"], [AC_MSG_ERROR([Aldumb not found])], [$ALLEGRO_LIBS]) AC_SEARCH_LIBS(lua_gettop, lua50 lua5.1 lua, [], [AC_MSG_ERROR([Lua not found])]) HTH -- Best regards / s pozdravem Petr Uzel, Packages maintainer --------------------------------------------------------------------- SUSE LINUX, s.r.o. e-mail: puzel@suse.cz Lihovarská 1060/12 tel: +420 284 028 964 190 00 Prague 9 fax: +420 284 028 951 Czech Republic http://www.suse.cz -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org