[PATCH] datatype inconsistency in wsp_strings.c

2004-08-24 Thread Vjacheslav Chekushin
Hi, list. This patch fix quite obviouse data type inconsistency. This make sence in 64 bit environment where sizeof(int) != sizeof(long) -- Vjacheslav Chekushinmailto:[EMAIL PROTECTED] Latvian Mobile Phone Companyhttp://www.lmt.lv ---

Problem compiling with MySql support

2004-08-24 Thread Alejandro Guerrieri
Hi, I am having problems compiling 1.3.2 with MySQL support. The system doesn't seem to find part of MySQL (mysql_init on libmysqlclient): ]# ./configure --enable-start-stop-daemon --prefix=/usr --with-defaults=speed --disable-docs --disable-ssl --with-mysql --with-mysql-dir=/usr loading

Re: Thesis project

2004-08-24 Thread Stipe Tolj
Hi Oscar, Oscar Medina Duarte wrote: Hi all, I'm looking for an interesting topic for my bachelor degree thesis, my first shot is to do something related to my work, that is, sms and protocol related... Any suggestions !?? Here is my topic candidate list so far: Kannel security Design of

[RFV] Re: [PATCH] datatype inconsistency in wsp_strings.c

2004-08-24 Thread Stipe Tolj
This is a request for votes! Vjacheslav Chekushin wrote: Hi, list. This patch fix quite obviouse data type inconsistency. This make sence in 64 bit environment where sizeof(int) != sizeof(long) yep, +1, thanks a lot. Vjacheslav, since you are providing patches for some time now, I'd like to get

Re: Problem compiling with MySql support

2004-08-24 Thread Stipe Tolj
Alejandro Guerrieri wrote: Hi, I am having problems compiling 1.3.2 with MySQL support. The system doesn't seem to find part of MySQL (mysql_init on libmysqlclient): ]# ./configure --enable-start-stop-daemon --prefix=/usr --with-defaults=speed --disable-docs --disable-ssl --with-mysql

[PATCH] wml compiler panics on some wml files

2004-08-24 Thread Vjacheslav Chekushin
Hi, list. wml_compiler PANIC on wml files with some DOCTYPE definition. (PANIC: gwlib/octstr.c:242: octstr_create_real: Assertion `cstr != NULL' failed.) One example is below. You can check with wml file with wml_tester. Attached patch fixes this problem. ?xml version='1.0'? !DOCTYPE chapter

[PATCH] Memory leak in wap-appl.c

2004-08-24 Thread Vjacheslav Chekushin
Hi, list. There is obvious memory leak in wap-appl.c ret = wml_compile(content-body, content-charset, wmlc, content-version); If you will check wml_compile function from wml_compiler.c, than you'll see that it allocates wmlc at the start and doesn't deallocate it even if

Re: Problem compiling with MySql support

2004-08-24 Thread Alejandro Guerrieri
Stipe, Thank you for your help. Here it goes: ]# nm /usr/lib/mysql/libmysqlclient.a | grep mysql_init 1100 T mysql_init nm: my_pthread.o: no symbols nm: my_thr_init.o: no symbols nm: thr_mutex.o: no symbols nm: my_port.o: no symbols nm: getopt.o: no symbols nm: getopt1.o: no symbols nm:

Re: Problem compiling with MySql support

2004-08-24 Thread Stipe Tolj
Alejandro Guerrieri wrote: Stipe, Thank you for your help. Here it goes: ]# nm /usr/lib/mysql/libmysqlclient.a | grep mysql_init 1100 T mysql_init nm: my_pthread.o: no symbols nm: my_thr_init.o: no symbols nm: thr_mutex.o: no symbols nm: my_port.o: no symbols nm: getopt.o: no symbols nm:

Re: Problem compiling with MySql support

2004-08-24 Thread Alejandro Guerrieri
Dear Stipe, Here is the mysql part from config.log. I'm not precisely an expert analyzing this, but it seems that the linker cannot find libmysqlclient, despite it's where it should be... configure:4280: checking whether to compile with MySQL support configure:4304: checking for mysql_config

Re: Problem compiling with MySql support

2004-08-24 Thread Stipe Tolj
Alejandro Guerrieri wrote: Dear Stipe, Here is the mysql part from config.log. I'm not precisely an expert analyzing this, but it seems that the linker cannot find libmysqlclient, despite it's where it should be... configure:4280: checking whether to compile with MySQL support configure:4304:

Re: Problem compiling with MySql support

2004-08-24 Thread Alejandro Guerrieri
Stipe, Nop, I've checked, make-cleaned re-configured and tail-ed the config.log and it always ends there. Maybe I'm missing something, but I cannot seem to find conftest.c anywhere on the source tree. I've even searched the .tar.gz to check if it was accidentally deleted, but it's not there

Re: Problem compiling with MySql support

2004-08-24 Thread Stipe Tolj
Alejandro Guerrieri wrote: Stipe, Nop, I've checked, make-cleaned re-configured and tail-ed the config.log and it always ends there. Maybe I'm missing something, but I cannot seem to find conftest.c anywhere on the source tree. I've even searched the .tar.gz to check if it was accidentally

Re: [RFV] Re: [PATCH] datatype inconsistency in wsp_strings.c

2004-08-24 Thread Alexander Malysh
Hi Stipe, Slava all ;) +1 for cvs write access! Stipe Tolj wrote: This is a request for votes! Vjacheslav Chekushin wrote: Hi, list. This patch fix quite obviouse data type inconsistency. This make sence in 64 bit environment where sizeof(int) != sizeof(long) yep, +1, thanks a

[PATCH] get catenated sms work right

2004-08-24 Thread Alexander Malysh
Hi List, attached you can find a patch that implements catenation of large sms inside of bearerbox and does care of a sending of all message parts over one smsc link. Now we have a problem with catenated large sms that bearerbox will try to load balance those over diff. smsc links and such