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
Module: sip-router
Branch: master
Commit: bcc002cb9cb1fef569357695ee073d7f531af3c9
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=bcc002c…
Author: Juha Heinanen <jh(a)tutpro.com>
Committer: Juha Heinanen <jh(a)tutpro.com>
Date: Sun May 10 11:37:40 2009 +0300
* Added note on how to generate README of a module.
---
INSTALL | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/INSTALL b/INSTALL
index 4d659b0..e157b9a 100644
--- a/INSTALL
+++ b/INSTALL
@@ -411,6 +411,10 @@ make man
Generates a manpage for all the modules that support it (.xml file in the
module directory).
+make modules=modules_k/foo modules-readme
+
+Generates README file for modules_k/foo.
+
Install:
make prefix=/usr/local install