Hi, thanx for your reply but as I sayed before I've libxml2 version 2.6.26-1 installed. I looked into its sources and the functions that seems missing in object files are there! they are in encoding.c and tree.c of libxml2 sources. of course my problem is solved! I add these encoding.o and tree.o of libxml2 to my object files when linking. not a tidy way I know, but it works.
Thanx, On 10/7/06, Paul Bagyenda <[EMAIL PROTECTED]> wrote: > your errors are related to linking with a missing libxml2, or the > wrong version. See the detailed log you just sent. > On Oct 07, 2006, at 10:27, Abolfazl Rezvan wrote: > > > Hi, > > config.log is very long. the part related to this error is what was > > in the previous message. > > > > Thanx, > > > > On 10/1/06, Paul Bagyenda <[EMAIL PROTECTED]> wrote: > >> Hi, > >> > >> can you send the config.log file? It should show what happened > >> On Oct 01, 2006, at 09:51, Abolfazl Rezvan wrote: > >> > >>> Hi, > >>> > >>> I'm trying to install kannel+mbuni on cygwin. kannel was > >>> patched and > >>> compiled and installed successfully but for mbuni in the middle of > >>> ./configure this error happens: > >>> > >>> checking for cfg_create in -lgwlib > >>> > >>> error: Kannel gwlib is required! > >>> > >>> > >>> I looked into config.log and here is the log (the part or this > >>> error): > >>> > >>> > >>> configure:22316: gcc -o conftest.exe -g -O2 -I/usr/include/openssl > >>> -I/usr/local/include/kannel -g -O2 -I/usr/include/libxml2 > >>> -I/usr/include/openssl -L/usr/local/lib/kannel -lwap -lgwlib -lssl > >>> -lm -lpthread -liconv -L/usr/lib -lxml2 -lz -liconv -lm -L/usr/lib > >>> -lcrypto -lssl conftest.c -lgwlib -lssl -lpthread -L/usr/lib > >>> -lcrypto -lssl >&5 > >>> /usr/local/lib/kannel/libgwlib.a(charset.o): In function > >>> `charset_init': > >>> /cygdrive/e/Programs/MMS/TestTool/gateway-1.4.0/gwlib/charset.c:320: > >>> undefined reference to `_xmlAddEncodingAlias' > >>> /usr/local/lib/kannel/libgwlib.a(charset.o): In function > >>> `charset_to_utf8': > >>> /cygdrive/e/Programs/MMS/TestTool/gateway-1.4.0/gwlib/charset.c:473: > >>> undefined reference to `_xmlFindCharEncodingHandler' > >>> /cygdrive/e/Programs/MMS/TestTool/gateway-1.4.0/gwlib/charset.c:478: > >>> undefined reference to `_xmlBufferCreate' > >>> /cygdrive/e/Programs/MMS/TestTool/gateway-1.4.0/gwlib/charset.c:479: > >>> undefined reference to `_xmlBufferCreate' > >>> /cygdrive/e/Programs/MMS/TestTool/gateway-1.4.0/gwlib/charset.c:480: > >>> undefined reference to `_xmlBufferAdd' > >>> /cygdrive/e/Programs/MMS/TestTool/gateway-1.4.0/gwlib/charset.c:482: > >>> undefined reference to `_xmlCharEncInFunc' > >>> /cygdrive/e/Programs/MMS/TestTool/gateway-1.4.0/gwlib/charset.c:487: > >>> undefined reference to `_xmlBufferFree' > >>> /cygdrive/e/Programs/MMS/TestTool/gateway-1.4.0/gwlib/charset.c:488: > >>> undefined reference to `_xmlBufferFree' > >>> /usr/local/lib/kannel/libgwlib.a(charset.o): In function > >>> `charset_from_utf8': > >>> /cygdrive/e/Programs/MMS/TestTool/gateway-1.4.0/gwlib/charset.c:500: > >>> undefined reference to `_xmlFindCharEncodingHandler' > >>> /cygdrive/e/Programs/MMS/TestTool/gateway-1.4.0/gwlib/charset.c:505: > >>> undefined reference to `_xmlBufferCreate' > >>> /cygdrive/e/Programs/MMS/TestTool/gateway-1.4.0/gwlib/charset.c:506: > >>> undefined reference to `_xmlBufferCreate' > >>> /cygdrive/e/Programs/MMS/TestTool/gateway-1.4.0/gwlib/charset.c:507: > >>> undefined reference to `_xmlBufferAdd' > >>> /cygdrive/e/Programs/MMS/TestTool/gateway-1.4.0/gwlib/charset.c:509: > >>> undefined reference to `_xmlCharEncOutFunc' > >>> /cygdrive/e/Programs/MMS/TestTool/gateway-1.4.0/gwlib/charset.c:518: > >>> undefined reference to `_xmlBufferFree' > >>> /cygdrive/e/Programs/MMS/TestTool/gateway-1.4.0/gwlib/charset.c:519: > >>> undefined reference to `_xmlBufferFree' > >>> /usr/local/lib/kannel/libgwlib.a(charset.o): In function > >>> `charset_convert': > >>> /cygdrive/e/Programs/MMS/TestTool/gateway-1.4.0/gwlib/charset.c:536: > >>> undefined reference to `_libiconv_open' > >>> /cygdrive/e/Programs/MMS/TestTool/gateway-1.4.0/gwlib/charset.c:550: > >>> undefined reference to `_libiconv' > >>> /cygdrive/e/Programs/MMS/TestTool/gateway-1.4.0/gwlib/charset.c:551: > >>> undefined reference to `_libiconv_close' > >>> /usr/local/lib/kannel/libgwlib.a(charset.o): In function > >>> `charset_shutdown': > >>> /cygdrive/e/Programs/MMS/TestTool/gateway-1.4.0/gwlib/charset.c:327: > >>> undefined reference to `_xmlCleanupEncodingAliases' > >>> collect2: ld returned 1 exit status > >>> configure:22322: $? = 1 > >>> configure: failed program was: > >>> | /* confdefs.h. */ > >>> | > >>> | #define PACKAGE_NAME "mbuni" > >>> | #define PACKAGE_TARNAME "mbuni" > >>> | #define PACKAGE_VERSION "cvs" > >>> | #define PACKAGE_STRING "mbuni cvs" > >>> | #define PACKAGE_BUGREPORT "devel@mbuni.org" > >>> | #define PACKAGE "mbuni" > >>> | #define VERSION "1.1.0" > >>> | #define STDC_HEADERS 1 > >>> | #define HAVE_SYS_TYPES_H 1 > >>> | #define HAVE_SYS_STAT_H 1 > >>> | #define HAVE_STDLIB_H 1 > >>> | #define HAVE_STRING_H 1 > >>> | #define HAVE_MEMORY_H 1 > >>> | #define HAVE_STRINGS_H 1 > >>> | #define HAVE_INTTYPES_H 1 > >>> | #define HAVE_STDINT_H 1 > >>> | #define HAVE_UNISTD_H 1 > >>> | #define HAVE_DLFCN_H 1 > >>> | #ifdef __cplusplus > >>> | extern "C" void std::exit (int) throw (); using std::exit; > >>> | #endif > >>> | #define HAVE_LIBPTHREAD 1 > >>> | #define HAVE_DIRENT_H 1 > >>> | #define STDC_HEADERS 1 > >>> | #define HAVE_SYS_WAIT_H 1 > >>> | #define HAVE_FLOAT_H 1 > >>> | #define HAVE_MEMORY_H 1 > >>> | #define HAVE_STDLIB_H 1 > >>> | #define HAVE_STRING_H 1 > >>> | #define HAVE_SYS_FILE_H 1 > >>> | #define HAVE_UNISTD_H 1 > >>> | #define HAVE_STDLIB_H 1 > >>> | #define HAVE_MALLOC 1 > >>> | #define RETSIGTYPE void > >>> | #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1 > >>> | #define HAVE_FLOOR 1 > >>> | #define HAVE_LOCALTIME_R 1 > >>> | #define HAVE_MEMSET 1 > >>> | #define HAVE_SQRT 1 > >>> | #define HAVE_STRERROR 1 > >>> | #define HAVE_STRRCHR 1 > >>> | #define HAVE_STRTOL 1 > >>> | #define HAVE_LIBSSL 1 > >>> | #define HAVE_OPENSSL_X509_H 1 > >>> | #define HAVE_OPENSSL_RSA_H 1 > >>> | #define HAVE_OPENSSL_CRYPTO_H 1 > >>> | #define HAVE_OPENSSL_PEM_H 1 > >>> | #define HAVE_OPENSSL_SSL_H 1 > >>> | #define HAVE_OPENSSL_ERR_H 1 > >>> | #define HAVE_LIBSSL 1 > >>> | /* end confdefs.h. */ > >>> | > >>> | /* Override any gcc2 internal prototype to avoid an error. */ > >>> | #ifdef __cplusplus > >>> | extern "C" > >>> | #endif > >>> | /* We use char because int might match the return type of a gcc2 > >>> | builtin and then its argument prototype would still apply. */ > >>> | char cfg_create (); > >>> | int > >>> | main () > >>> | { > >>> | cfg_create (); > >>> | ; > >>> | return 0; > >>> | } > >>> configure:22348: result: no > >>> > >>> I've libxml2 version 2.6.26-1 installed. what is the problem? is > >>> there > >>> any suggession to correct or even bypass this error (even in the > >>> most > >>> untidy way!) > >>> > >>> > >>> Thanx, > >>> > >>> _______________________________________________ > >>> Devel mailing list > >>> Devel@mbuni.org > >>> http://mbuni.org/mailman/listinfo/devel_mbuni.org > >> > >> > >> _______________________________________________ > >> Devel mailing list > >> Devel@mbuni.org > >> http://mbuni.org/mailman/listinfo/devel_mbuni.org > >> > > > > _______________________________________________ > > Devel mailing list > > Devel@mbuni.org > > http://mbuni.org/mailman/listinfo/devel_mbuni.org > > > _______________________________________________ > Devel mailing list > Devel@mbuni.org > http://mbuni.org/mailman/listinfo/devel_mbuni.org > _______________________________________________ Devel mailing list Devel@mbuni.org http://mbuni.org/mailman/listinfo/devel_mbuni.org