Re: Kannel automatic compilation test

2005-08-27 Thread Enver ALTIN
Hey,

On Sat, Aug 27, 2005 at 07:01:22AM +0100, kannel wrote:
> Kannel compilation test.
> Output of 'make -s':
> gw/wap-appl.c: In function `normalize_charset':
> gw/wap-appl.c:707: warning: suggest explicit braces to avoid ambiguous `else'
> gw/wml_compiler.c: In function `wml_compile':
> gw/wml_compiler.c:364: warning: implicit declaration of function 
> `xmlReadMemory'
> gw/wml_compiler.c:364: `XML_PARSE_RECOVER' undeclared (first use in this 
> function)
> gw/wml_compiler.c:364: (Each undeclared identifier is reported only once
> gw/wml_compiler.c:364: for each function it appears in.)
> gw/wml_compiler.c:364: `XML_PARSE_NONET' undeclared (first use in this 
> function)
> gw/wml_compiler.c:364: warning: assignment makes pointer from integer without 
> a cast
> make: *** [gw/wml_compiler.o] Error 1

I have been receiving these for a while now, and although I could not
duplicate the error here on my development server running Debian/sarge
and gcc-3.3.5 I think attached trivial patch will get rid of these
warnings.

Thanks,
-- 
Enver
Index: wap-appl.c
===
RCS file: /home/cvs/gateway/gw/wap-appl.c,v
retrieving revision 1.115
diff -u -p -d -u -p -d -r1.115 wap-appl.c
--- wap-appl.c  12 Aug 2005 14:11:27 -  1.115
+++ wap-appl.c  27 Aug 2005 09:52:53 -
@@ -704,12 +704,13 @@ static void normalize_charset(struct con
 {
 Octstr* charset;
 
-if ((charset = find_charset_encoding(content->body)) == NULL)
+if ((charset = find_charset_encoding(content->body)) == NULL) {
 if (octstr_len(content->charset) > 0) {
 charset = octstr_duplicate(content->charset);
 } else {
 charset = octstr_imm("UTF-8");
 }
+   }
 
 debug("wap-appl",0,"Normalizing charset from %s", 
octstr_get_cstr(charset));
 
Index: wml_compiler.c
===
RCS file: /home/cvs/gateway/gw/wml_compiler.c,v
retrieving revision 1.120
diff -u -p -d -u -p -d -r1.120 wml_compiler.c
--- wml_compiler.c  12 Aug 2005 14:11:27 -  1.120
+++ wml_compiler.c  27 Aug 2005 09:52:53 -
@@ -78,6 +78,7 @@
 #include 
 #include 
 #include 
+#include 
 
 #include "gwlib/gwlib.h"
 #include "wml_compiler.h"


Re: Kannel automatic compilation test

2005-08-29 Thread Enver ALTIN
Hey,

On Sat, 2005-08-27 at 12:56 +0300, Enver ALTIN wrote:
> On Sat, Aug 27, 2005 at 07:01:22AM +0100, kannel wrote:
> > Kannel compilation test.
> > Output of 'make -s':
> > gw/wap-appl.c: In function `normalize_charset':
> > gw/wap-appl.c:707: warning: suggest explicit braces to avoid ambiguous 
> > `else'
> > gw/wml_compiler.c: In function `wml_compile':
> > gw/wml_compiler.c:364: warning: implicit declaration of function 
> > `xmlReadMemory'
> > gw/wml_compiler.c:364: `XML_PARSE_RECOVER' undeclared (first use in this 
> > function)
> > gw/wml_compiler.c:364: (Each undeclared identifier is reported only once
> > gw/wml_compiler.c:364: for each function it appears in.)
> > gw/wml_compiler.c:364: `XML_PARSE_NONET' undeclared (first use in this 
> > function)
> > gw/wml_compiler.c:364: warning: assignment makes pointer from integer 
> > without a cast
> > make: *** [gw/wml_compiler.o] Error 1
> 
> I have been receiving these for a while now, and although I could not
> duplicate the error here on my development server running Debian/sarge
> and gcc-3.3.5 I think attached trivial patch will get rid of these
> warnings.

Just as a quick note, Kannel issues s many weird warnings with gcc4,
I think mainly caused by a good mix of signedness inconsistency *Octstr
and *char. I assume gcc is right about that.

Totally out of curiosity, have any of you got Kannel running on AMD64?

Thanks,
-- 
.O.
..O   Enver ALTIN   |   http://skyblue.gen.tr/
OOO   Software developer @ Parkyeri | http://www.parkyeri.com/


signature.asc
Description: This is a digitally signed message part


RE: Kannel automatic compilation test

2004-05-25 Thread Bill Brigden
I was just wondering - How often does the auto compilation test update its
cvs version? As the checkout date is about a week ago...

Cheers.
Bill 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of kannel
Sent: 25 May 2004 07:08
To: [EMAIL PROTECTED]
Subject: Kannel automatic compilation test

Kannel compilation test.

Host: Linux geodude 2.4.20-20.7 #1 Mon Aug 18 14:56:30 EDT 2003 i686 unknown

Kannel compilation had warnings or failed.

Output of 'make -s':
gw/smsc/smsc_soap.c:979:2: warning: #warning FIXME
gw/smsc/smsc_soap.c:1168:2: warning: #warning FIXME
gw/smsc/smsc_soap.c:1373:2: warning: #warning FIXME
gw/smsc/smsc_soap.c:1384:2: warning: #warning FIXME
gw/smsc/smsc_soap.c:2063:2: warning: #warning FIXME
---

Output of 'CFLAGS='-Wall -O2 -g' ./configure':
creating cache ./config.cache
checking cvs checkout date... 20040518

Configuring for Kannel gateway version cvs-20040518 ...

Running system checks ...
checking host system type... i686-pc-linux-gnu
checking for gcc... gcc
checking whether the C compiler (gcc -Wall -O2 -g -D_XOPEN_SOURCE=600
-D_BSD_SOURCE ) works... yes
checking whether the C compiler (gcc -Wall -O2 -g -D_XOPEN_SOURCE=600
-D_BSD_SOURCE ) 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... /usr/X11R6/bin/convert
checking for perl... /usr/bin/perl
checking size of short... 2
checking size of int... 4
checking size of long... 4
checking size of long long... 8
checking for log in -lm... yes
checking for accept in -lsocket... no
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 libiconv in -liconv... 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... yes
checking for syslog.h... yes
checking for iconv.h... yes
checking for zlib.h... yes
checking for execinfo.h... yes
checking for stdlib.h... yes
checking for sys/socket.h... yes
checking for sys/sockio.h... no
checking for net/if.h... yes
checking for netinet/in.h... yes
checking for gettimeofday... yes
checking for select... yes
checking for socket... yes
checking for strdup... yes
checking for getopt_long... yes
checking for localtime_r... yes
checking for gmtime_r... yes
checking for backtrace... yes
checking for srandom... yes
checking for getopt... yes
checking for gethostbyname_r... yes
checking for which type of gethostbyname_r... 6
checking for socklen_t in ... yes
checking for getopt in ... no
checking for getopt in ... yes
checking for regex.h... yes
checking for regcomp... yes

Checking for POSIX threads support ...
checking for working pthreads... no
checking for pthread_spinlock support... yes

Checking for libxml2 support ...
checking for xml2-config... /usr/bin/xml2-config
checking libxml version... 2.3.11

Configuring for PCRE support ...
checking whether to compile with PCRE support... disabled

Configuring DocBook support ...
checking for jade... jade
checking for jadetex... jadetex
checking for pdfjadetex... pdfjadetex
checking for dvips... dvips
checking for fig2dev... fig2dev
checking for convert... /usr/X11R6/bin/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-1.77/html/docbook.dsl... no
checking for /usr/share/sgml/docbook/dsssl-stylesheets/html/docbook.dsl...
yes
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-1.77/print/docbook.dsl... no
checking for /usr/share/sgml/docbook/dsssl-stylesheets/print/docbook.dsl...
yes
Documentation will be built as well.

Configuring parameters ...
checking which malloc to use... native malloc
enabling local time
enabling cookies

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 

Re: Kannel automatic compilation test

2004-05-27 Thread Stipe Tolj
Bill Brigden wrote:
> 
> I was just wondering - How often does the auto compilation test update its
> cvs version? As the checkout date is about a week ago...

the kannel-nag script that performs the automatic compilation test
does a checkout of the current cvs head tree. Which means the date
should be accurate every time.

I have forwarded your mail to James and Nick for review. They haven't
commented on it yet.

Stipe

mailto:[EMAIL PROTECTED]
---
Wapme Systems AG

Münsterstr. 248
40470 Düsseldorf, NRW, Germany

phone: +49.211.74845.0
fax: +49.211.74845.299

mailto:[EMAIL PROTECTED]
http://www.wapme-systems.de/
---

-BEGIN PGP PUBLIC KEY BLOCK-
Version: GnuPG v1.2.2 (Cygwin)

mIsEP6mcYwEEAMDnUiUwrbb+xwTFWN6TxF2+XZu7/alwJMeCwMBRvXtPZqfjpPhS
OkBpU0F4TrVuugz1HINTSaJTYq10AzDQXp5NkyWgckqW79nPAWuOX0dicbJk+cN2
nM2TI4KaxUDe6u8hghNEnH/i2lXsUu9apnP/iixzV81VC2je3uc9hZpnAAYptEVT
dGlwZSBUb2xqIChUZWNobm9sb2d5IENlbnRlciAmIFJlc2VhcmNoIExhYikgPHRv
bGpAd2FwbWUtc3lzdGVtcy5kZT6ItAQTAQIAHgUCP6mcYwIbAwYLCQgHAwIDFQID
AxYCAQIeAQIXgAAKCRABV0w1BqPYRuSqA/wPzsQxao2YePENCtgRTrO86U6zg3sl
OcS6CJFI4FZP5h/xD3GRsNH1+MPSvZlomDdpFnr547DGz/Kq9MXuQwVvlVig5yWZ
K5dtKp1r5YLhxJQBhfirZbRFFnYmf19f18J8OoS28tuFVftDl1AIwJS3HLyBTv6H
g2HyLAEKQIp30Q==
=aYCI
-END PGP PUBLIC KEY BLOCK-



[Fwd: Kannel automatic compilation test]

2004-09-25 Thread Enver ALTIN
Hi,

I get this for more than a week :)

 Forwarded Message 
From: kannel <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Subject: Kannel automatic compilation test
Date: Sat, 25 Sep 2004 07:08:27 +0100
Kannel compilation test.

Host: Linux geodude 2.4.20-20.7 #1 Mon Aug 18 14:56:30 EDT 2003 i686 unknown

Kannel compilation had warnings or failed.

Output of 'make -s':
gw/smsc/smsc_at.c: In function `at2_wait_modem_command':
gw/smsc/smsc_at.c:620: warning: implicit declaration of function `at2_error_string'
gw/smsc/smsc_at.c:620: warning: format argument is not a pointer (arg 5)
gw/smsc/smsc_at.c:688: warning: format argument is not a pointer (arg 5)
gw/smsc/smsc_at.c: At top level:
gw/smsc/smsc_at.c:2490: warning: type mismatch with previous implicit declaration
gw/smsc/smsc_at.c:688: warning: previous implicit declaration of `at2_error_string'
gw/smsc/smsc_at.c:2490: warning: `at2_error_string' was previously implicitly declared 
to return `int'
-- 
Enver ALTIN   |http://skyblue.gen.tr/
Software developer @ Parkyeri |  http://www.parkyeri.com/


signature.asc
Description: This is a digitally signed message part


Re: [Fwd: Kannel automatic compilation test]

2004-09-25 Thread Alexander Malysh
Hi,

Enver ALTIN wrote:

> Hi,
> 
> I get this for more than a week :)

sorry, my fault ;) fixed in cvs... 

P.S. I should probably really subscribe to devel-reports :)

> 
>  Forwarded Message 
> From: kannel <[EMAIL PROTECTED]>
> To: [EMAIL PROTECTED]
> Subject: Kannel automatic compilation test
> Date: Sat, 25 Sep 2004 07:08:27 +0100
> Kannel compilation test.
> 
> Host: Linux geodude 2.4.20-20.7 #1 Mon Aug 18 14:56:30 EDT 2003 i686
> unknown
> 
> Kannel compilation had warnings or failed.
> 
> Output of 'make -s':
> gw/smsc/smsc_at.c: In function `at2_wait_modem_command':
> gw/smsc/smsc_at.c:620: warning: implicit declaration of function
> `at2_error_string' gw/smsc/smsc_at.c:620: warning: format argument is not
> a pointer (arg 5) gw/smsc/smsc_at.c:688: warning: format argument is not a
> pointer (arg 5) gw/smsc/smsc_at.c: At top level:
> gw/smsc/smsc_at.c:2490: warning: type mismatch with previous implicit
> declaration gw/smsc/smsc_at.c:688: warning: previous implicit declaration
> of `at2_error_string' gw/smsc/smsc_at.c:2490: warning: `at2_error_string'
> was previously implicitly declared to return `int'





Re: [Fwd: Kannel automatic compilation test]

2004-09-25 Thread Enver ALTIN
On Sat, 2004-09-25 at 18:06 +0200, Alexander Malysh wrote:
> P.S. I should probably really subscribe to devel-reports :)

Believe me, it's useful :)
-- 
Enver ALTIN   |http://skyblue.gen.tr/
Software developer @ Parkyeri |  http://www.parkyeri.com/


signature.asc
Description: This is a digitally signed message part