Hi,

 Mbuni does not compile against Kannel-CVS (yet). Please use v1.4.0 of Kannel.

On May 02, 2006, at 12:15, Daniel Alfredsson wrote:

Hi, I´ve got some huge problems to compile mbuni... I´m using:

mbuni-cvs-20060428
kannel-cvs-20060428
debian sarge
gcc 3.4.4

I have compiled kannel without any problems and it´s working perfect. Because I use the CVS versions of both
kannel and mbuni I doesn´t have applyed the mbuni patch to kannel.
When I try to compile mbuni I´ve got following errors:

-------------------------- 8< --------------------------
#$ make
make  all-recursive
make[1]: Entering directory `/usr/local/src/mbuni'
Making all in autotools
make[2]: Entering directory `/usr/local/src/mbuni/autotools
'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/usr/local/src/mbuni/autotools'
Making all in doc
make[2]: Entering directory `/usr/local/src/mbuni/doc'
Making all in examples
make[3]: Entering directory `/usr/local/src/mbuni/doc/examples'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/usr/local/src/mbuni/doc/examples'
Making all in images
make[3]: Entering directory `/usr/local/src/mbuni/doc/images'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/usr/local/src/mbuni/doc/images'
make[3]: Entering directory `/usr/local/src/mbuni/doc'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/usr/local/src/mbuni/doc'
make[2]: Leaving directory `/usr/local/src/mbuni/doc'
Making all in misc-patches
make[2]: Entering directory `/usr/local/src/mbuni/misc-patches'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/usr/local/src/mbuni/misc-patches'
Making all in mmlib
make[2]: Entering directory `/usr/local/src/mbuni/mmlib'
if /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../mmlib -I../mmlib    -g -O2 -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -I/usr/include/openssl -I/usr/local/kannel/include/kannel  -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -I/usr/include/libxml2 -I/usr/include/openssl -MT mms_mmbox.lo -MD -MP -MF ".deps/mms_mmbox.Tpo" -c -o mms_mmbox.lo mms_mmbox.c; \
        then mv -f ".deps/mms_mmbox.Tpo" ".deps/mms_mmbox.Plo"; else rm -f ".deps/mms_mmbox.Tpo"; exit 1; fi
 gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../mmlib -I../mmlib -g -O2 -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -I/usr/include/openssl -I/usr/local/kannel/include/kannel -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -I/usr/include/libxml2 -I/usr/include/openssl -MT mms_mmbox.lo -MD -MP -MF .deps/mms_mmbox.Tpo -c mms_mmbox.c  -fPIC -DPIC -o .libs/mms_mmbox.o
mms_mmbox.c: In function `linearise_string_list':
mms_mmbox.c:219: warning: initialization makes pointer from integer without a cast
mms_mmbox.c: In function `parse_string_list':
mms_mmbox.c:230: warning: initialization makes pointer from integer without a cast
mms_mmbox.c: In function `make_mm_flags':
mms_mmbox.c:344: warning: pointer/integer type mismatch in conditional _expression_
mms_mmbox.c:348: warning: initialization makes pointer from integer without a cast
mms_mmbox.c:356: warning: initialization makes pointer from integer without a cast
mms_mmbox.c:369: warning: passing arg 1 of `octstr_str_compare' makes pointer from integer without a cast
mms_mmbox.c:370: warning: initialization makes pointer from integer without a cast
mms_mmbox.c: In function `mms_mmbox_addmsg':
mms_mmbox.c:447: error: `list_item_destructor_t' undeclared (first use in this function)
mms_mmbox.c:447: error: (Each undeclared identifier is reported only once
mms_mmbox.c:447: error: for each function it appears in.)
mms_mmbox.c:447: error: parse error before ')' token
mms_mmbox.c: In function `mms_mmbox_modmsg':
mms_mmbox.c:549: error: `list_item_destructor_t' undeclared (first use in this function)
mms_mmbox.c:549: error: parse error before ')' token
mms_mmbox.c: In function `string_in_list':
mms_mmbox.c:608: warning: initialization makes pointer from integer without a cast
mms_mmbox.c: In function `mms_mmbox_search':
mms_mmbox.c:665: warning: assignment makes pointer from integer without a cast
mms_mmbox.c:677: error: `list_item_matches_t' undeclared (first use in this function)
mms_mmbox.c:677: error: parse error before ')' token
mms_mmbox.c:684: error: parse error before ')' token
mms_mmbox.c:690: error: parse error before ')' token
mms_mmbox.c:690: error: parse error before ')' token
mms_mmbox.c:700: error: `list_item_destructor_t' undeclared (first use in this function)
mms_mmbox.c:700: error: parse error before ')' token
mms_mmbox.c:713: error: parse error before ')' token
make[2]: *** [mms_mmbox.lo] Error 1
make[2]: Leaving directory `/usr/local/src/mbuni/mmlib'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/src/mbuni'
make: *** [all] Error 2
-------------------------- 8< --------------------------

When I run bootstrap and configure, I´ll get this output:


#$ ./bootstrap
+ set -e
+ amvers=no
+ automake-1.9 --version
+ amvers=- 1.9
+ test -1.9 = no
+ libtoolize=no
+ glibtoolize --version
+ libtoolize --version
+ libtoolize=libtoolize
+ test libtoolize = no
+ set +x
+ test '!' -d autotools
+ libtoolize --copy --force
You should add the contents of `/usr/share/aclocal/libtool.m4' to `aclocal.m4'.
Putting files in AC_CONFIG_AUX_DIR, `autotools'.
+ test -f ltmain.sh
+ aclocal-1.9 -I autotools
/usr/share/aclocal/oaf.m4:4: warning: underquoted definition of AM_PATH_OAF
  run info '(automake)Extending aclocal'
  or see http://sources.redhat.com/automake/automake.html#Extending-aclocal
/usr/share/aclocal/glib.m4:8: warning: underquoted definition of AM_PATH_GLIB
+ autoconf
+ autoheader
+ automake-1.9 --add-missing --copy
configure.ac: installing `autotools/install-sh'
configure.ac: installing `autotools/missing'
mmlib/Makefile.am: installing `autotools/depcomp'

#$ ./configure --prefix=/usr/local/mbuni --with-kannel-dir=/usr/local/kannel
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking for a sed that does not truncate output... /bin/sed
checking for egrep... grep -E
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognise dependent libraries... pass_all
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for g++... no
checking for c++... no
checking for gpp... no
checking for aCC... no
checking for CC... no
checking for cxx... no
checking for cc++... no
checking for cl... no
checking for FCC... no
checking for KCC... no
checking for RCC... no
checking for xlC_r... no
checking for xlC... no
checking whether we are using the GNU C++ compiler... no
checking whether g++ accepts -g... no
checking dependency style of g++... none
checking how to run the C++ preprocessor... /lib/cpp
checking for g77... no
checking for f77... no
checking for xlf... no
checking for frt... no
checking for pgf77... no
checking for fort77... no
checking for fl32... no
checking for af77... no
checking for f90... no
checking for xlf90... no
checking for pgf90... no
checking for epcf90... no
checking for f95... no
checking for fort... no
checking for xlf95... no
checking for ifc... no
checking for efc... no
checking for pgf95... no
checking for lf95... no
checking for gfortran... no
checking whether we are using the GNU Fortran 77 compiler... no
checking whether  accepts -g... no
checking the maximum length of command line arguments... 32768
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if gcc static flag  works... yes
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc supports -c -o file.o... yes
checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
configure: creating libtool
appending configuration tag "CXX" to libtool
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
libtool.m4: error: problem compiling CXX test program
checking for g++ option to produce PIC...
checking if g++ supports -c -o file.o... no
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
appending configuration tag "F77" to libtool
checking for dlsym in -ldl... yes
checking for pthread_create in -lpthread... yes
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking for ANSI C header files... (cached) yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking float.h usability... yes
checking float.h presence... yes
checking for float.h... yes
checking for memory.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking sys/file.h usability... yes
checking sys/file.h presence... yes
checking for sys/file.h... yes
checking for unistd.h... (cached) yes
checking for an ANSI C-conforming const... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for working volatile... yes
checking whether closedir returns void... no
checking for error_at_line... yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... yes
checking for working memcmp... yes
checking return type of signal handlers... void
checking whether lstat dereferences a symlink specified with a trailing slash... yes
checking whether stat accepts an empty string... no
checking for floor... no
checking for localtime_r... yes
checking for memset... yes
checking for sqrt... no
checking for strerror... yes
checking for strrchr... yes
checking for strtol... yes
checking whether to compile with SSL support... trying /usr/lib /usr/include/openssl
checking for openssl... /usr/bin/openssl
checking for CRYPTO_lock in -lcrypto... yes
checking for SSL_library_init in -lssl... yes
checking for SSL_connect in -lssl... yes
checking openssl/x509.h usability... yes
checking openssl/x509.h presence... yes
checking for openssl/x509.h... yes
checking openssl/rsa.h usability... yes
checking openssl/rsa.h presence... yes
checking for openssl/rsa.h... yes
checking openssl/crypto.h usability... yes
checking openssl/crypto.h presence... yes
checking for openssl/crypto.h... yes
checking openssl/pem.h usability... yes
checking openssl/pem.h presence... yes
checking for openssl/pem.h... yes
checking openssl/ssl.h usability... yes
checking openssl/ssl.h presence... yes
checking for openssl/ssl.h... yes
checking openssl/err.h usability... yes
checking openssl/err.h presence... yes
checking for openssl/err.h... yes
checking whether the OpenSSL library is multithread-enabled... yes
checking whether to compile with SSL support... yes
checking for gw-config... /usr/local/kannel/bin/gw-config
checking Kannel version... cvs-20060428
checking Kannel libs... -L/usr/local/kannel/lib/kannel -lwap -lgwlib -lssl -lrt -lresolv -lnsl -lm  -lpthread -L/usr/lib -lxml2 -lz -lm -L/usr/lib -lcrypto -lssl
checking Kannel includes... -I/usr/local/kannel/include/kannel  -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -I/usr/include/libxml2 -I/usr/include/openssl
checking for cfg_create in -lgwlib... yes
checking for wsp_headers_pack in -lwap... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating autotools/Makefile
config.status : creating doc/Makefile
config.status: creating doc/examples/Makefile
config.status: creating doc/images/Makefile
config.status: creating misc-patches/Makefile
config.status: creating mmlib/Makefile
config.status : creating mmsc/Makefile
config.status: creating mmsbox/Makefile
config.status: creating config.h
config.status: executing depfiles commands
License:


Is there any how knows whats wrong?
_______________________________________________
Users mailing list

_______________________________________________
Users mailing list
[email protected]
http://mbuni.org/mailman/listinfo/users_mbuni.org

Reply via email to