[Freeswitch-users] freetdm compile error

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


On 9 September 2010 09:23, Brian May <brian at microcomaustralia.com.au> wrote:
> 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:

For some unexplainable reason ftdm_call_utils.c doesn't seem to be
referenced from ./libs/freetdm/Makefile.in - it is however referenced
from ./libs/freetdm/Makefile.am, and the Makefile.in has a timestamp
that is later then Makefile.am.

Still investigating. Seems rather weird.

Broken automake? Seems very odd.

Makefile.am has:

libfreetdm_la_SOURCES = \
$(SRC)/hashtable.c \
$(SRC)/hashtable_itr.c \
$(SRC)/ftdm_io.c \
$(SRC)/ftdm_queue.c \
$(SRC)/ftdm_sched.c \
$(SRC)/ftdm_call_utils.c \
$(SRC)/ftdm_config.c \
$(SRC)/ftdm_callerid.c \
$(SRC)/fsk.c \
$(SRC)/uart.c \
$(SRC)/g711.c \
$(SRC)/libteletone_detect.c \
$(SRC)/libteletone_generate.c \
$(SRC)/ftdm_buffer.c \
$(SRC)/ftdm_threadmutex.c \
$(SRC)/ftdm_dso.c \
$(SRC)/ftdm_cpu_monitor.c

Makefile.in has:

libfreetdm_la_SOURCES = \
$(SRC)/hashtable.c \
$(SRC)/hashtable_itr.c \
$(SRC)/ftdm_io.c \
$(SRC)/ftdm_queue.c \
$(SRC)/ftdm_sched.c \
$(SRC)/ftdm_config.c \
$(SRC)/ftdm_callerid.c \
$(SRC)/fsk.c \
$(SRC)/uart.c \
$(SRC)/g711.c \
$(SRC)/libteletone_detect.c \
$(SRC)/libteletone_generate.c \
$(SRC)/ftdm_buffer.c \
$(SRC)/ftdm_threadmutex.c \
$(SRC)/ftdm_dso.c \
$(SRC)/ftdm_cpu_monitor.c

I am going to rebuild and double check that the Makefile.in file is
being regenerated, like the timestamp implies.

> 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.

Where is $(MAKE) defined?
-- 
Brian May <brian at microcomaustralia.com.au>



More information about the FreeSWITCH-users mailing list