I am having difficulty compiling sqlbox. I get following error on ./configure
step
sqlbox version:
http://www.kannel.org/~aguerrieri/SqlBox/Releases/sqlbox-0.7.2.tar.gz
kannel version: 1.4.3 Latest version from CVS

make  all-recursive
Making all in gw
gcc -DHAVE_CONFIG_H -I. -I.. -I../gw -I../gw    -g -O2 -DDARWIN=1
-I/usr/local/include/kannel -g -O2 -DDARWIN=1
-L/Developer/SDKs/MacOSX10.5.sdk/usr/lib
-I/Developer/SDKs/MacOSX10.5.sdk/usr/include -D_LARGE_FILES=
-I/opt/local/include/libxml2 -I/usr/include/openssl
-I/usr/local/mysql//include -MT sqlbox_mysql.o -MD -MP -MF
.deps/sqlbox_mysql.Tpo -c -o sqlbox_mysql.o sqlbox_mysql.c
sqlbox_mysql.c:4:25: error: mysql/mysql.h: No such file or directory
sqlbox_mysql.c: In function ‘mysql_update’:
sqlbox_mysql.c:37: warning: format ‘%s’ expects type ‘char *’, but argument
3 has type ‘int’
sqlbox_mysql.c: At top level:
sqlbox_mysql.c:42: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’
before ‘*’ token
sqlbox_mysql.c: In function ‘mysql_fetch_msg’:
sqlbox_mysql.c:103: error: ‘MYSQL_RES’ undeclared (first use in this
function)
sqlbox_mysql.c:103: error: (Each undeclared identifier is reported only once
sqlbox_mysql.c:103: error: for each function it appears in.)
sqlbox_mysql.c:103: error: ‘res’ undeclared (first use in this function)
sqlbox_mysql.c:104: error: ‘MYSQL_ROW’ undeclared (first use in this
function)
sqlbox_mysql.c:104: error: expected ‘;’ before ‘row’
sqlbox_mysql.c:116: error: ‘row’ undeclared (first use in this function)
make[2]: *** [sqlbox_mysql.o] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

-- 
View this message in context: 
http://old.nabble.com/Compiling-sqlbox-on-Mac-OSX-Snow-Leopard-%2810.6%29-tp28208562p28208562.html
Sent from the Kannel - User mailing list archive at Nabble.com.


Reply via email to