Hi Aarno, OK, CVS has fixed this issue. How reliable is the snapshot?
And while compiling, I receive lots of warnings like: gw/dlr.c:406: warning: passing arg 1 of `time' from incompatible pointer type Can these warnings be neglected? Fix? Dave > Yep. Mysql have now list structure, too. Kannel cvs should have fix for that. > > Aarno > > On 29.3.2005, at 18:52, David E. Meier wrote: > >> Hi list, >> >> I am getting the error below when trying to build Kannel with MySQL 4.1.10 >> support on a FreeBSD 5.3 machine. As I can see from the archives it is a >> known problem. Davy Chan also promised a patch earlier this year. Has it >> been submitted? What's the status on this issue? Dave. >> >> >> # ./configure CFLAGS='-Wall -O2 -g' --with-cflags='-pthread' >> --enable-docs=no --with-mysql >> : >> Configuring DB support ... >> checking whether to compile with MySQL support... searching >> checking for mysql_config... /usr/local/bin/mysql_config >> checking mysql version... 4.1.10a >> checking mysql reentrant libs... -L/usr/local/lib/mysql >> -lmysqlclient_r >> -lz -pthread -lcrypt -lm -pthread >> checking for mysql_init in -lmysqlclient_r... -L/usr/local/lib/mysql -lmysqlclient_r -lz -pthread -lcrypt -lm -pthread >> yes >> checking mysql includes... -I/usr/local/include/mysql >> -I/usr/local/include/mysql >> checking for mysql/mysql.h... no >> checking for mysql/mysql_version.h... no >> checking whether to compile with MySQL support... yes >> >> # gmake >> gcc -D_REENTRANT=1 -I. -Igw -pthread -I/usr/local/include/libxml2 -I/usr/local/ include -I/usr/include/openssl >> -I/usr/local/include/mysql -o >> gw/dlr.o -c gw/dlr.c >> gw/dlr.c: In function `dlr_find': >> gw/dlr.c:406: warning: passing arg 1 of `time' from incompatible pointer type >> gw/dlr.c: In function `create_dlr_from_msg': >> gw/dlr.c:471: warning: passing arg 1 of `time' from incompatible pointer type >> gcc -D_REENTRANT=1 -I. -Igw -pthread -I/usr/local/include/libxml2 -I/usr/local/include -I/usr/include/openssl -I/usr/local/include/mysql -o >> gw/dlr_mem.o -c gw/dlr_mem.c >> gcc -D_REENTRANT=1 -I. -Igw -pthread -I/usr/local/include/libxml2 -I/usr/local/include -I/usr/include/openssl -I/usr/local/include/mysql -o >> gw/dlr_mysql.o -c gw/dlr_mysql.c >> In file included from /usr/local/include/mysql/mysql.h:62, >> from gw/dlr_mysql.c:74: >> /usr/local/include/mysql/my_list.h:32: error: conflicting types for 'list_delete' >> ./gwlib/list.h:179: error: previous declaration of 'list_delete' was here >> /usr/local/include/mysql/my_list.h:32: error: conflicting types for 'list_delete' >> ./gwlib/list.h:179: error: previous declaration of 'list_delete' was here >> gmake: *** [gw/dlr_mysql.o] Error 1 >> >> >> >> >> > > >
