Hi, you should use GNU make (gmake) instead of FreeBSD's make utility. This is noted in the userguide.
regards, Dziugas Baltrunas On Fri, 16 Apr 2004, Paul Wolstenholme wrote: > Greetings, > > I was wondering if anyone has successfully compiled kannel 1.3.1 under > FreeBSD 5.1. Or if someone might have some suggestions on what I might > try to get it to compile . > > /Paul > > It doesn't seem to want to compile for me: > > sudo env CFLAGS='-Wall -O2 -g' ./configure --with-malloc=native > --enable-start-stop-daemon=no > creating cache ./config.cache > > Configuring for Kannel gateway version 1.3.1 ... > > Running system checks ... > checking host system type... i386-unknown-freebsd5.1 > checking for gcc... gcc > checking whether the C compiler (gcc -Wall -O2 -g ) works... yes > checking whether the C compiler (gcc -Wall -O2 -g ) is a > cross-compiler... no > checking whether we are using GNU C... yes > checking whether gcc accepts -g... yes > checking for a BSD compatible install... /usr/bin/install -c > checking for ranlib... ranlib > checking for bison... bison -y > checking for flex... flex > checking for yywrap in -lfl... yes > checking for convert... no > checking for perl... /usr/bin/perl > checking for log in -lm... yes > checking for accept in -lsocket... no > checking for inet_ntoa in -lnsl... no > checking for inet_ntop in -lresolv... no > checking for inet_ntop in -lbind... no > checking for pthread_exit in -lpthread... no > checking for libiconv in -liconv... no > checking for pthread_exit in -lc_r... yes > checking how to run the C preprocessor... gcc -E > checking for ANSI C header files... yes > checking for sys/ioctl.h... yes > checking for sys/time.h... yes > checking for sys/types.h... yes > checking for unistd.h... yes > checking for sys/poll.h... yes > checking for pthread.h... yes > checking for getopt.h... yes > checking for syslog.h... yes > checking for iconv.h... no > checking for gettimeofday... yes > checking for select... yes > checking for socket... yes > checking for strdup... yes > checking for getopt_long... yes > checking for getopt... yes > checking for socklen_t in <sys/socket.h>... yes > checking for getopt in <stdio.h>... no > checking for getopt in <unistd.h>... yes > > Checking POSIX threads support ... > checking for working pthreads... yes > > Checking for libxml2 support ... > checking for xml2-config... /usr/local/bin/xml2-config > checking libxml version... 2.6.8 > > Configuring DocBook support ... > checking for jade... no > checking for jadetex... no > checking for pdfjadetex... no > checking for dvips... no > checking for fig2dev... no > checking for convert... no > checking for > /usr/lib/sgml/stylesheet/dsssl/docbook/nwalsh/html/docbook.dsl... no > checking for > /usr/lib/sgml/stylesheets/nwalsh-modular/html/docbook.dsl... no > checking for > /usr/share/sgml/docbook/dsssl-stylesheets-1.59/html/docbook.dsl... no > checking for > /usr/share/sgml/docbook/dsssl-stylesheets/html/docbook.dsl... no > checking for /usr/share/sgml/docbook/dsssl/modular/html/docbook.dsl... > no > checking for > /usr/local/lib/sgml/stylesheet/dsssl/docbook/nwalsh/html/docbook.dsl... > no > checking for > /usr/local/lib/sgml/stylesheets/nwalsh-modular/html/docbook.dsl... no > checking for > /usr/local/share/sgml/docbook/dsssl-stylesheets-1.59/html/ > docbook.dsl... no > checking for > /usr/local/share/sgml/docbook/dsssl-stylesheets/html/docbook.dsl... no > checking for > /usr/local/share/sgml/docbook/dsssl/modular/html/docbook.dsl... no > checking for > /usr/lib/sgml/stylesheet/dsssl/docbook/nwalsh/print/docbook.dsl... no > checking for > /usr/lib/sgml/stylesheets/nwalsh-modular/print/docbook.dsl... no > checking for > /usr/share/sgml/docbook/dsssl-stylesheets-1.59/print/docbook.dsl... no > checking for > /usr/share/sgml/docbook/dsssl-stylesheets/print/docbook.dsl... no > checking for /usr/share/sgml/docbook/dsssl/modular/print/docbook.dsl... > no > checking for > /usr/local/lib/sgml/stylesheet/dsssl/docbook/nwalsh/print/ > docbook.dsl... no > checking for > /usr/local/lib/sgml/stylesheets/nwalsh-modular/print/docbook.dsl... no > checking for > /usr/local/share/sgml/docbook/dsssl-stylesheets-1.59/print/ > docbook.dsl... no > checking for > /usr/local/share/sgml/docbook/dsssl-stylesheets/print/docbook.dsl... no > checking for > /usr/local/share/sgml/docbook/dsssl/modular/print/docbook.dsl... no > Not building documentation. > > Configuring parameters ... > checking which malloc to use... native malloc > enabling local time > > Configuring OpenSSL support ... > 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 for openssl/x509.h... yes > checking for openssl/rsa.h... yes > checking for openssl/crypto.h... yes > checking for openssl/pem.h... yes > checking for openssl/ssl.h... yes > checking for openssl/err.h... yes > checking whether the OpenSSL library is multithread-enabled... yes > checking whether to compile with SSL support... yes > > Configuring DB support ... > checking whether to compile with MySQL support... disabled > checking whether to compile with LibSDB support... disabled > > Generating output files ... > updating cache ./config.cache > creating ./config.status > creating Makefile > creating config.h > > make > > .... > > gcc -D_REENTRANT=1 -I. -Igw -Wall -O2 -g -I/usr/local/include/libxml2 > -I/usr/local/include -I/usr/include/openssl -o wmlscript/wmlsc > wmlscript/wmlsc.o libgw.a libwmlscript.a libwap.a libgwlib.a -lssl -lm > -lc_r -L/usr/local/lib -lxml2 -lz -lc_r -L/usr/local/lib -liconv -lm > -L/usr/lib -lcrypto -lssl > wmlscript/wmlsc.o: In function `main': > wmlscript/wmlsc.c:123: undefined reference to `ws_create' > wmlscript/wmlsc.c:182: undefined reference to `ws_compile_data' > wmlscript/wmlsc.c:194: undefined reference to `ws_free_byte_code' > wmlscript/wmlsc.c:213: undefined reference to `ws_destroy' > wmlscript/wmlsc.c:206: undefined reference to `ws_result_to_string' > wmlscript/wmlsc.c:197: undefined reference to `ws_compile_file' > wmlscript/wmlsc.o: In function `pragma_meta': > wmlscript/wmlsc.c:244: undefined reference to `ws_utf8_to_latin1' > wmlscript/wmlsc.c:245: undefined reference to `ws_utf8_to_latin1' > wmlscript/wmlsc.c:246: undefined reference to `ws_utf8_to_latin1' > wmlscript/wmlsc.c:259: undefined reference to `ws_utf8_free_data' > wmlscript/wmlsc.c:260: undefined reference to `ws_utf8_free_data' > wmlscript/wmlsc.c:261: undefined reference to `ws_utf8_free_data' > *** Error code 1 > >
