It works!<br><br>I hadn't put the rule for app_cbmysql.so: app_cbmysql.o.<br><br>Not really easy to install on * 1.2.4 for non-dev people (as the patch makefile doesn't work). <br><br>Thanks you very much Sean and Dan.<br>
<br><br><div><span class="gmail_quote">On 2/15/06, <b class="gmail_sendername">Sean Cook</b> <<a href="mailto:scook@kinex.net">scook@kinex.net</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
-----BEGIN PGP SIGNED MESSAGE-----<br>Hash: SHA1<br><br>You have to link it to the mysql libraries... add the following to the<br>apps/Makefile<br><br>APPS+=app_cbmysql.so<br><br>app_cbmysql.o: app_cbmysql.c<br> $(CC) -pipe -I/usr/include/mysql -L/usr/lib/mysql $(CFLAGS) -c
<br>- -o app_cbmysql.o app_cbmysql.c<br><br>app_cbmysql.so: app_cbmysql.o<br> $(CC) $(SOLINK) -o $@ ${CYGSOLINK} $< ${CYGSOLIB}<br>- -L/usr/lib/mysql -lmysqlclient -lz<br><br><br><br></blockquote></div><br>