i386-gentoo-linux-uclibc-gcc -Wall -I../.. -O3 -funroll-loops -fomit-frame-pointer -fsigned-char -fno-exceptions -fPIC -DHAVE_GCC_FORMAT_CHECK -c syntFilter.c i386-gentoo-linux-uclibc-gcc -Wall -I../.. -O3 -funroll-loops -fomit-frame-pointer -fsigned-char -fno-exceptions -fPIC -DHAVE_GCC_FORMAT_CHECK -c enhancer.c /var/tmp/portage/net-voip/yate-1.2.0/temp/cc6jP3m7.o: In function `(anonymous namespace)::ToneData::data()': tonegen.cpp:(.text+0x623): undefined reference to `sin' tonegen.cpp:(.text+0x64c): undefined reference to `sin' collect2: ld returned 1 exit status
adding -lm to LDFLAGS should solve the "undefined reference to `sin'". missing dn_skipname can be solved in 2 different ways, disabling the enumroute module or implement a dn_skipname in enumerate.cpp. Skipping enumroute should be done int eh configure.in test: --- configure.in.orig 2007-11-15 10:13:11 +0000 +++ configure.in 2007-11-15 10:18:00 +0000 @@ -190,7 +188,7 @@ AC_LANG_C AC_TRY_LINK([#include <netinet/in.h> #include <arpa/nameser.h> -#include <resolv.h>],[res_init();],[HAVE_RESOLV=yes],[HAVE_RESOLV=no]) +#include <resolv.h>],[dn_skipname();],[HAVE_RESOLV=yes],[HAVE_RESOLV=no]) AC_LANG_RESTORE AC_MSG_RESULT([$HAVE_RESOLV]) AC_SUBST(HAVE_RESOLV) keeping enumroute is easy too, just add a dn_skipname in modules/enumroute.cpp: #ifdef __UCLIBC__ static int dn_skipname(...) ... #endif I dunno what you prefer.
Created attachment 136035 [details, diff] yate-1.2.0-libm.patch fixes libm issue.
Created attachment 136036 [details, diff] yate-1.2.0-dn_skipname.patch adds dn_skipname so we dont need to diable the enumroute module on uclibc.
Created attachment 136038 [details, diff] yate-1.2.0.ebuild.patch patch to ebuild
Almost fixed, thanks
Can you check if this is working with yate-2.0.0 and provide a patch if needed ? Thanks.
ucibc++ isnt supported anymore