You can ignore all those warnings. Regarding the error, can you try without compiling start-stop-daemon?
Regards, Alex BlackBerry de movistar, allí donde estés está tu oficin@ -----Original Message----- From: uYe <sangpr...@gmail.com> Date: Thu, 17 Dec 2009 14:39:00 To: Alejandro Guerrieri<alejandro.guerri...@gmail.com> Cc: kannel discussion<users@kannel.org> Subject: Re: Install Kannel With MySQL on Mac Leopard 10.5.8 Now the problem solved by doing symbolic link /usr/local/mysql/lib/ mysql /usr/local/mysql/lib/ And now another error happen during make ... libtool -static -o libwap.a wap/cookies.o wap/timers.o wap/wap.o wap/ wap_addr.o wap/wap_events.o wap/wsp.o wap/wsp_caps.o wap/wsp_headers.o wap/wsp_pdu.o wap/wsp_push_client.o wap/wsp_session.o wap/ wsp_strings.o wap/wsp_unit.o wap/wtls-secmgr.o wap/wtls.o wap/ wtls_pdu.o wap/wtls_pdusupport.o wap/wtls_statesupport.o wap/wtp.o wap/ wtp_init.o wap/wtp_pack.o wap/wtp_pdu.o wap/wtp_resp.o wap/wtp_tid.o radius/radius_acct.o radius/radius_pdu.o libtool: file: wap/wtls-secmgr.o has no symbols libtool: file: wap/wtls.o has no symbols libtool: file: wap/wtls_pdu.o has no symbols libtool: file: wap/wtls_pdusupport.o has no symbols libtool: file: wap/wtls_statesupport.o has no symbols ranlib libwap.a ranlib: file: libwap.a(wtls-secmgr.o) has no symbols ranlib: file: libwap.a(wtls.o) has no symbols ranlib: file: libwap.a(wtls_pdu.o) has no symbols ranlib: file: libwap.a(wtls_pdusupport.o) has no symbols ranlib: file: libwap.a(wtls_statesupport.o) has no symbols ... gcc -std=gnu99 -D_REENTRANT=1 -I. -Igw -g -O2 -DDARWIN=1 -L/Developer/ SDKs/MacOSX10.5.sdk/usr/lib -I/Developer/SDKs/MacOSX10.5.sdk/usr/ include -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/openssl - I/usr/local/mysql/include/mysql -o gwlib/date.o -c gwlib/date.c gwlib/date.c:69: warning: pointer targets in initialization differ in signedness gwlib/date.c:69: warning: pointer targets in initialization differ in signedness gwlib/date.c:69: warning: pointer targets in initialization differ in signedness gwlib/date.c:69: warning: pointer targets in initialization differ in signedness gwlib/date.c:69: warning: pointer targets in initialization differ in signedness gwlib/date.c:69: warning: pointer targets in initialization differ in signedness gwlib/date.c:70: warning: pointer targets in initialization differ in signedness gwlib/date.c:73: warning: pointer targets in initialization differ in signedness gwlib/date.c:73: warning: pointer targets in initialization differ in signedness gwlib/date.c:73: warning: pointer targets in initialization differ in signedness gwlib/date.c:73: warning: pointer targets in initialization differ in signedness gwlib/date.c:73: warning: pointer targets in initialization differ in signedness gwlib/date.c:73: warning: pointer targets in initialization differ in signedness gwlib/date.c:74: warning: pointer targets in initialization differ in signedness gwlib/date.c:74: warning: pointer targets in initialization differ in signedness gwlib/date.c:74: warning: pointer targets in initialization differ in signedness gwlib/date.c:74: warning: pointer targets in initialization differ in signedness gwlib/date.c:74: warning: pointer targets in initialization differ in signedness gwlib/date.c:75: warning: pointer targets in initialization differ in signedness gwlib/date.c: In function 'date_format_http': gwlib/date.c:113: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness gwlib/date.c:115: warning: pointer targets in passing argument 1 of 'octstr_create_real' differ in signedness gwlib/date.c: In function 'date_parse_http': gwlib/date.c:213: warning: pointer targets in passing argument 2 of 'octstr_str_compare' differ in signedness ... gcc -std=gnu99 -D_REENTRANT=1 -I. -Igw -g -O2 -DDARWIN=1 -L/Developer/ SDKs/MacOSX10.5.sdk/usr/lib -I/Developer/SDKs/MacOSX10.5.sdk/usr/ include -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/openssl - I/usr/local/mysql/include/mysql -o gwlib/md5.o -c gwlib/md5.c gwlib/md5.c: In function 'md5': gwlib/md5.c:397: warning: pointer targets in passing argument 2 of 'md5_update' differ in signedness gwlib/md5.c:400: warning: pointer targets in passing argument 1 of 'octstr_create_from_data_real' differ in signedness gwlib/md5.c: In function 'md5digest': gwlib/md5.c:416: warning: pointer targets in passing argument 2 of 'md5_digest' differ in signedness ... gcc -std=gnu99 -D_REENTRANT=1 -I. -Igw -g -O2 -DDARWIN=1 -L/Developer/ SDKs/MacOSX10.5.sdk/usr/lib -I/Developer/SDKs/MacOSX10.5.sdk/usr/ include -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/openssl - I/usr/local/mysql/include/mysql -o gwlib/octstr.o -c gwlib/octstr.c gwlib/octstr.c: In function 'urlcode_init': gwlib/octstr.c:209: warning: pointer targets in initialization differ in signedness gwlib/octstr.c: In function 'octstr_imm': gwlib/octstr.c:309: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness gwlib/octstr.c: In function 'octstr_copy_real': gwlib/octstr.c:361: warning: pointer targets in passing argument 1 of 'octstr_create_from_data_real' differ in signedness gwlib/octstr.c: In function 'octstr_duplicate_real': gwlib/octstr.c:373: warning: pointer targets in passing argument 1 of 'octstr_create_from_data_real' differ in signedness gwlib/octstr.c: In function 'octstr_get_cstr_real': gwlib/octstr.c:442: warning: pointer targets in return differ in signedness gwlib/octstr.c: In function 'octstr_binary_to_hex': gwlib/octstr.c:470: warning: pointer targets in assignment differ in signedness gwlib/octstr.c: In function 'octstr_parse_long': gwlib/octstr.c:763: warning: pointer targets in passing argument 1 of 'strtol' differ in signedness gwlib/octstr.c:764: warning: pointer targets in assignment differ in signedness gwlib/octstr.c: In function 'octstr_parse_double': gwlib/octstr.c:795: warning: pointer targets in passing argument 1 of 'strtod' differ in signedness gwlib/octstr.c:796: warning: pointer targets in assignment differ in signedness gwlib/octstr.c: In function 'octstr_str_compare': gwlib/octstr.c:977: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness gwlib/octstr.c: In function 'octstr_str_case_compare': gwlib/octstr.c:990: warning: pointer targets in passing argument 1 of 'strcasecmp' differ in signedness gwlib/octstr.c: In function 'octstr_str_ncompare': gwlib/octstr.c:1003: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness gwlib/octstr.c: In function 'octstr_append_from_socket': gwlib/octstr.c:1238: warning: pointer targets in passing argument 2 of 'octstr_append_data' differ in signedness gwlib/octstr.c: In function 'octstr_append_char': gwlib/octstr.c:1463: warning: pointer targets in passing argument 3 of 'octstr_insert_data' differ in signedness gwlib/octstr.c: In function 'octstr_split_words': gwlib/octstr.c:1571: warning: pointer targets in passing argument 1 of 'octstr_create_from_data_real' differ in signedness gwlib/octstr.c: In function 'octstr_url_encode': gwlib/octstr.c:1646: warning: pointer targets in assignment differ in signedness gwlib/octstr.c: In function 'octstr_append_uintvar': gwlib/octstr.c:1887: warning: pointer targets in passing argument 2 of 'octstr_append_data' differ in signedness gwlib/octstr.c: In function 'octstr_dump_debug': gwlib/octstr.c:1954: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness gwlib/octstr.c:1955: warning: pointer targets in passing argument 1 of 'strchr' differ in signedness gwlib/octstr.c:1955: warning: pointer targets in assignment differ in signedness gwlib/octstr.c: In function 'octstr_dump_real': gwlib/octstr.c:2066: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness gwlib/octstr.c:2066: warning: pointer targets in passing argument 1 of 'strchr' differ in signedness gwlib/octstr.c:2066: warning: pointer targets in assignment differ in signedness gwlib/octstr.c:2069: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness gwlib/octstr.c:2069: warning: pointer targets in passing argument 1 of 'strchr' differ in signedness gwlib/octstr.c:2069: warning: pointer targets in assignment differ in signedness gwlib/octstr.c:2072: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness gwlib/octstr.c:2072: warning: pointer targets in passing argument 1 of 'strchr' differ in signedness gwlib/octstr.c:2072: warning: pointer targets in assignment differ in signedness ... gcc -std=gnu99 -D_REENTRANT=1 -I. -Igw -g -O2 -DDARWIN=1 -L/Developer/ SDKs/MacOSX10.5.sdk/usr/lib -I/Developer/SDKs/MacOSX10.5.sdk/usr/ include -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/openssl - I/usr/local/mysql/include/mysql -o gwlib/socket.o -c gwlib/socket.c gwlib/socket.c: In function 'udp_recvfrom': gwlib/socket.c:560: warning: pointer targets in passing argument 6 of 'recvfrom' differ in signedness gwlib/socket.c: In function 'gw_accept': gwlib/socket.c:688: warning: pointer targets in passing argument 3 of 'accept' differ in signedness ... gcc -std=gnu99 -D_REENTRANT=1 -I. -Igw -g -O2 -DDARWIN=1 -L/Developer/ SDKs/MacOSX10.5.sdk/usr/lib -I/Developer/SDKs/MacOSX10.5.sdk/usr/ include -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/openssl - I/usr/local/mysql/include/mysql -o gwlib/xmlrpc.o -c gwlib/xmlrpc.c gwlib/xmlrpc.c: In function 'parse_document': gwlib/xmlrpc.c:1386: warning: pointer targets in passing argument 1 of 'octstr_create_real' differ in signedness gwlib/xmlrpc.c: In function 'parse_methodcall_element': gwlib/xmlrpc.c:1492: warning: pointer targets in passing argument 1 of 'octstr_create_real' differ in signedness gwlib/xmlrpc.c:1526: warning: pointer targets in passing argument 1 of 'octstr_create_real' differ in signedness gwlib/xmlrpc.c: In function 'parse_methodresponse_element': gwlib/xmlrpc.c:1613: warning: pointer targets in passing argument 1 of 'octstr_create_real' differ in signedness gwlib/xmlrpc.c: In function 'parse_params_element': gwlib/xmlrpc.c:1720: warning: pointer targets in passing argument 1 of 'octstr_create_real' differ in signedness gwlib/xmlrpc.c: In function 'parse_param_element': gwlib/xmlrpc.c:1822: warning: pointer targets in passing argument 1 of 'octstr_create_real' differ in signedness gwlib/xmlrpc.c: In function 'parse_value_element': gwlib/xmlrpc.c:1922: warning: pointer targets in passing argument 1 of 'octstr_create_real' differ in signedness gwlib/xmlrpc.c:1947: warning: pointer targets in passing argument 1 of 'octstr_create_real' differ in signedness gwlib/xmlrpc.c: In function 'parse_struct_element': gwlib/xmlrpc.c:2123: warning: pointer targets in passing argument 1 of 'octstr_create_real' differ in signedness gwlib/xmlrpc.c: In function 'parse_member_element': gwlib/xmlrpc.c:2226: warning: pointer targets in passing argument 1 of 'octstr_create_real' differ in signedness gwlib/xmlrpc.c:2265: warning: pointer targets in passing argument 1 of 'octstr_create_real' differ in signedness gwlib/xmlrpc.c: In function 'parse_array_element': gwlib/xmlrpc.c:2335: warning: pointer targets in passing argument 1 of 'octstr_create_real' differ in signedness gwlib/xmlrpc.c: In function 'parse_data_element': gwlib/xmlrpc.c:2429: warning: pointer targets in passing argument 1 of 'octstr_create_real' differ in signedness gwlib/xmlrpc.c: In function 'parse_fault_element': gwlib/xmlrpc.c:2527: warning: pointer targets in passing argument 1 of 'octstr_create_real' differ in signedness ... libtool -static -o libgwlib.a gwlib/accesslog.o gwlib/cfg.o gwlib/ charset.o gwlib/conn.o gwlib/counter.o gwlib/date.o gwlib/dbpool.o gwlib/dbpool_mysql.o gwlib/dbpool_oracle.o gwlib/dbpool_pgsql.o gwlib/ dbpool_sdb.o gwlib/dbpool_sqlite.o gwlib/dbpool_sqlite3.o gwlib/dict.o gwlib/fdset.o gwlib/gw-prioqueue.o gwlib/gw-rwlock.o gwlib/gw_uuid.o gwlib/gwlib.o gwlib/gwmem-check.o gwlib/gwmem-native.o gwlib/gwpoll.o gwlib/gwthread-pthread.o gwlib/http.o gwlib/list.o gwlib/log.o gwlib/ md5.o gwlib/mime.o gwlib/octstr.o gwlib/parse.o gwlib/pcre.o gwlib/ pki.o gwlib/protected.o gwlib/regex.o gwlib/semaphore.o gwlib/socket.o gwlib/ssl.o gwlib/thread.o gwlib/utils.o gwlib/xmlrpc.o libtool: file: gwlib/dbpool_mysql.o has no symbols libtool: file: gwlib/dbpool_oracle.o has no symbols libtool: file: gwlib/dbpool_pgsql.o has no symbols libtool: file: gwlib/dbpool_sdb.o has no symbols libtool: file: gwlib/dbpool_sqlite.o has no symbols libtool: file: gwlib/dbpool_sqlite3.o has no symbols libtool: file: gwlib/gwpoll.o has no symbols libtool: file: gwlib/pcre.o has no symbols libtool: file: gwlib/pki.o has no symbols ranlib libgwlib.a ranlib: file: libgwlib.a(dbpool_mysql.o) has no symbols ranlib: file: libgwlib.a(dbpool_oracle.o) has no symbols ranlib: file: libgwlib.a(dbpool_pgsql.o) has no symbols ranlib: file: libgwlib.a(dbpool_sdb.o) has no symbols ranlib: file: libgwlib.a(dbpool_sqlite.o) has no symbols ranlib: file: libgwlib.a(dbpool_sqlite3.o) has no symbols ranlib: file: libgwlib.a(gwpoll.o) has no symbols ranlib: file: libgwlib.a(pcre.o) has no symbols ranlib: file: libgwlib.a(pki.o) has no symbols gcc -std=gnu99 -D_REENTRANT=1 -I. -Igw -g -O2 -DDARWIN=1 -L/Developer/ SDKs/MacOSX10.5.sdk/usr/lib -I/Developer/SDKs/MacOSX10.5.sdk/usr/ include -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/openssl - I/usr/local/mysql/include/mysql -o utils/start-stop-daemon.o -c utils/ start-stop-daemon.c utils/start-stop-daemon.c: In function 'main': utils/start-stop-daemon.c:923: error: too many arguments to function 'setpgrp' make: *** [utils/start-stop-daemon.o] Error 1 Any help please. TIA Willy sangpr...@gmail.com On Dec 17, 2009, at 2:00 PM, Alejandro Guerrieri wrote: > Seems like you're missing the mysql headers. Check if mysql.h is on / > usr/local/mysql/include/mysql or someplace else. > > Regards, > > Alex > > On Thu, Dec 17, 2009 at 2:25 AM, uYe <sangpr...@gmail.com> wrote: > Hi, > I'm trying to install kannel with mysql support on Mac Leopard > 10.5.8. And I got these error during configure and make > On configure phase: > Configuring DB support ... > checking whether to compile with MySQL support... searching > checking for mysql_config... /usr/local/mysql/bin/mysql_config > checking mysql version... 5.1.41 > checking mysql reentrant libs... -L/usr/local/mysql/lib/mysql - > lmysqlclient_r -lz -lm > checking for mysql_init in -lmysqlclient_r... yes > checking mysql includes... -I/usr/local/mysql/include/mysql > checking mysql/mysql.h usability... no > checking mysql/mysql.h presence... no > checking for mysql/mysql.h... no > checking mysql/mysql_version.h usability... no > checking mysql/mysql_version.h presence... no > checking for mysql/mysql_version.h... no > checking whether to compile with MySQL support... yes > checking whether to compile with LibSDB support... disabled > checking whether to compile with SQLite2 support... disabled > checking whether to compile with SQLite3 support... disabled > checking whether to compile with Oracle support... disabled > checking whether to compile with PostgresSQL support... disabled > > On make phase: > gcc -std=gnu99 -D_REENTRANT=1 -I. -Igw -g -O2 -DDARWIN=1 -L/ > Developer/SDKs/MacOSX10.5.sdk/usr/lib -I/Developer/SDKs/ > MacOSX10.5.sdk/usr/include -D_LARGE_FILES= -I/usr/include/libxml2 -I/ > usr/include/openssl -I/usr/local/mysql/include/mysql -o gw/ > dlr_mysql.o -c gw/dlr_mysql.c > gw/dlr_mysql.c:74:25: error: mysql/mysql.h: No such file or directory > gw/dlr_mysql.c: In function 'mysql_update': > gw/dlr_mysql.c:102: warning: implicit declaration of function > 'mysql_query' > gw/dlr_mysql.c:104: warning: implicit declaration of function > 'mysql_error' > gw/dlr_mysql.c: At top level: > gw/dlr_mysql.c:109: error: syntax error before '*' token > gw/dlr_mysql.c:110: warning: return type defaults to 'int' > gw/dlr_mysql.c: In function 'mysql_select': > gw/dlr_mysql.c:112: error: 'MYSQL_RES' undeclared (first use in this > function) > gw/dlr_mysql.c:112: error: (Each undeclared identifier is reported > only once > gw/dlr_mysql.c:112: error: for each function it appears in.) > gw/dlr_mysql.c:112: error: 'result' undeclared (first use in this > function) > gw/dlr_mysql.c:129: warning: implicit declaration of function > 'mysql_store_result' > gw/dlr_mysql.c: In function 'dlr_mysql_get': > gw/dlr_mysql.c:170: error: 'MYSQL_RES' undeclared (first use in this > function) > gw/dlr_mysql.c:170: error: 'result' undeclared (first use in this > function) > gw/dlr_mysql.c:171: error: 'MYSQL_ROW' undeclared (first use in this > function) > gw/dlr_mysql.c:171: error: syntax error before 'row' > gw/dlr_mysql.c:187: warning: implicit declaration of function > 'mysql_num_rows' > gw/dlr_mysql.c:189: warning: implicit declaration of function > 'mysql_free_result' > gw/dlr_mysql.c:192: error: 'row' undeclared (first use in this > function) > gw/dlr_mysql.c:192: warning: implicit declaration of function > 'mysql_fetch_row' > gw/dlr_mysql.c: In function 'dlr_mysql_messages': > gw/dlr_mysql.c:253: error: 'MYSQL_RES' undeclared (first use in this > function) > gw/dlr_mysql.c:253: error: 'result' undeclared (first use in this > function) > gw/dlr_mysql.c:254: error: 'MYSQL_ROW' undeclared (first use in this > function) > gw/dlr_mysql.c:254: error: syntax error before 'row' > gw/dlr_mysql.c:269: error: 'row' undeclared (first use in this > function) > make: *** [gw/dlr_mysql.o] Error 1 > > Please help and many thanks. > > > > Willy > sangpr...@gmail.com > > > > >