Hi list.
The definitions for the gw_mem calls in malloc=native mode result in lots of 
compilation warning - would it be possible to #define those in such a way as to 
completly be ignored by the compiler ? as gcc doesn't like the meaningles statements 
created by the current #defines.

--
Oded Arbel
m-Wise Mobile Solutions

[EMAIL PROTECTED]
Mobile: +972-67-340014
Tel: +972-9-9581711 (ext: 116)

::..
The best defense against logic is ignorance.


> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, June 13, 2002 7:10 AM
> To: [EMAIL PROTECTED]
> Subject: Kannel automatic compilation test for SunOS
> 
> 
> Kannel compilation test.
> 
> Host: SunOS wapme.vs 5.6 Generic_105181-31 sun4u sparc SUNW,Ultra-250
> 
> Kannel compilation had warnings or failed.
> 
> Output of 'make -s':
> gw/bb_boxc.c: In function `read_from_box':
> gw/bb_boxc.c:82: warning: statement with no effect
> gw/shared.c: In function `read_from_bearerbox':
> gw/shared.c:127: warning: statement with no effect
> gwlib/conn.c: In function `conn_read_everything':
> gwlib/conn.c:1041: warning: statement with no effect
> gwlib/conn.c: In function `conn_read_fixed':
> gwlib/conn.c:1062: warning: statement with no effect
> gwlib/conn.c: In function `conn_read_line':
> gwlib/conn.c:1088: warning: statement with no effect
> gwlib/conn.c: In function `conn_read_withlen':
> gwlib/conn.c:1136: warning: statement with no effect
> gwlib/conn.c: In function `conn_read_packet':
> gwlib/conn.c:1171: warning: statement with no effect
> -------------------------------------------------------
> 
> Output of 'CFLAGS='-Wall -O2 -g' ./configure':
> creating cache ./config.cache
> checking cvs checkout date... 20020612
> 
> Configuring for Kannel gateway version cvs-20020612 ...
> 
> Running system checks ...
> checking host system type... sparc-sun-solaris2.6
> checking for gcc... gcc
> checking whether the C compiler (gcc -Wall -O2 -g -DSunOS=1 ) 
> works... yes
> checking whether the C compiler (gcc -Wall -O2 -g -DSunOS=1 ) 
> 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/local/bin/ginstall -c
> checking for ranlib... ranlib
> checking for bison... bison -y
> checking for flex... flex
> checking for yywrap in -lfl... no
> checking for convert... no
> checking for perl... /usr/bin/perl
> checking for log in -lm... yes
> checking for accept in -lsocket... yes
> checking for inet_ntoa in -lnsl... yes
> checking for inet_ntop in -lresolv... yes
> checking for inet_ntop in -lbind... no
> checking for pthread_exit in -lpthread... yes
> checking for pthread_exit in -lc_r... no
> 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... no
> checking for syslog.h... yes
> checking for gettimeofday... yes
> checking for select... yes
> checking for socket... yes
> checking for strdup... yes
> checking for getopt_long... no
> checking for getopt... yes
> checking for socklen_t in <sys/socket.h>... no
> checking for getopt in <stdio.h>... yes
> checking for getopt in <unistd.h>... no
> 
> Checking POSIX threads support ...
> checking for working pthreads... yes
> 
> Checking for libxml2 support ...
> checking for xml2-config... /users/local/bin/xml2-config
> checking libxml version... 2.4.10
> 
> Configuring DocBook support ...
> checking for jade... :
> checking for jadetex... :
> checking for pdfjadetex... :
> checking for dvips... :
> checking for fig2dev... :
> checking for convert... :
> 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/docbo
> ok.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/docb
ook.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/docb
> ook.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/doc
book.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 
> /users/local/lib /users/local/include
> checking for openssl... /users/local/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... no
> checking for openssl/rsa.h... no
> checking for openssl/crypto.h... no
> checking for openssl/pem.h... no
> checking for openssl/ssl.h... no
> checking for openssl/err.h... no
> checking whether the OpenSSL library is multithread-enabled... yes
> checking whether to compile with SSL support... yes
> 
> Configuring MySQL support ...
> checking whether to compile with MySQL support... disabled
> 
> Generating output files ...
> updating cache ./config.cache
> creating ./config.status
> creating Makefile
> creating config.h
> 
> 
> 
> 

Reply via email to