On May 10, 2009 at 12:24, Juha Heinanen <jh(a)tutpro.com> wrote:
Content-Description: message body text
Andrei Pelinescu-Onciul writes:
Could you please send me also the output of:
cd modules_k/tmx
make -wn
jh@taimen:/usr/src/orig/sip-router/modules_k/tmx$ make -wn
config.mak included
make: Entering directory `/usr/src/orig/sip-router/modules_k/tmx'
make -wC ../../lib/kmi/ compile_for_install= \
NOREBUILD_DEFS=" " \
NOREBUILD_INCLUDES=" "
Makefile.defs defs skipped
make[1]: Entering directory `/usr/src/orig/sip-router/lib/kmi'
make[1]: `libkmi.so.1.0' is up to date.
make[1]: Leaving directory `/usr/src/orig/sip-router/lib/kmi'
make -wC ../../lib/kcore/ compile_for_install= \
NOREBUILD_DEFS=" " \
NOREBUILD_INCLUDES=" "
Makefile.defs defs skipped
make: *** [../../lib/kcore/libkcore.so] Error 2
make: Leaving directory `/usr/src/orig/sip-router/modules_k/tmx'
and
make -wd # warning: lots of output
It looks like you have a stale statistic.d file in lib/kcore/ which adds
a dependency on core_stats.h which does not exist anymore.
Try make proper or cd lib/kcore ; make proper (if you don't want to
recompile everything), or rm lib/kcore/statistics.d.
After any of the above commands it should work.
We could add this to some docs somewhere: when files are removed make
might fail. If make fails after an update (e.g. git pull or git checkout),
run make proper and then retry.
Andrei