[Freeswitch-users] freetdm compile error

Brian May brian at microcomaustralia.com.au
Wed Sep 8 16:23:27 PDT 2010


On 9 September 2010 01:36, Moises Silva <moises.silva at gmail.com> wrote:
> Should be fixed now, plz try again and let me know if is not.

Still getting the compile error:

=== cut ===
libtool: link: ar cru .libs/ftmod_analog_em.a
ftmod_analog_em_la-ftmod_analog_em.o
libtool: link: ranlib .libs/ftmod_analog_em.a
libtool: link: ( cd ".libs" && rm -f "ftmod_analog_em.la" && ln -s
"../ftmod_analog_em.la" "ftmod_analog_em.la" )
libtool: link: gcc
-I/home/brian/tree/freeswitch/libs/freetdm/src/include
-I/home/brian/tree/freeswitch/libs/freetdm/src/isdn/include
-I/home/brian/tree/freeswitch/libs/freetdm/src/include/private
-I/home/brian/tree/freeswitch/libs/freetdm/src/ftmod/ftmod_sangoma_boost
-DFTDM_CONFIG_DIR=\"/opt/freeswitch/conf\"
-DFTDM_MOD_DIR=\"/opt/freeswitch/mod\" -ffast-math -Wall -Werror
-Wunused-variable -Wwrite-strings -Wstrict-prototypes
-Wmissing-prototypes -O0 -g -ggdb -DPACKAGE_NAME=\"freetdm\"
-DPACKAGE_TARNAME=\"freetdm\" -DPACKAGE_VERSION=\"pre-alpha\"
"-DPACKAGE_STRING=\"freetdm pre-alpha\""
-DPACKAGE_BUGREPORT=\"bugs at freeswitch.org\" -DPACKAGE_URL=\"\"
-DPACKAGE=\"libfreetdm\" -DVERSION=\"0.1\" -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_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_LIBDL=1
-DHAVE_LIBPTHREAD=1 -DHAVE_LIBM=1 -DSIZEOF_LONG=4 -DHAVE_NETDB_H=1
-DHAVE_SYS_SELECT_H=1 -DHAVE_GETHOSTBYNAME_R=1 "-DDEBUG=/**/" -g -O2
-o .libs/testtones testtones-testtones.o  ./.libs/libfreetdm.so -lm
-lpthread -ldl -Wl,-rpath -Wl,/opt/freeswitch/lib
./.libs/libfreetdm.so: undefined reference to `ftdm_is_number'
collect2: ld returned 1 exit status
make[6]: *** [testtones] Error 1
make[5]: *** [local_install] Error 2
make[4]: *** [install] Error 1
make[3]: *** [mod_freetdm-install] Error 1
make[2]: *** [install-recursive] Error 1
=== cut ===

What is particularly annoying is that the top level make file appears
to return success status (0), so my script continues and the error is
hidden.
-- 
Brian May <brian at microcomaustralia.com.au>



More information about the FreeSWITCH-users mailing list