It works!

I hadn't put the rule for app_cbmysql.so: app_cbmysql.o.

Not really easy to install on * 1.2.4 for non-dev people (as the patch makefile doesn't work).

Thanks you very much Sean and Dan.


On 2/15/06, Sean Cook <[EMAIL PROTECTED]> wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

You have to link it to the mysql libraries... add the following to the
apps/Makefile

APPS+=app_cbmysql.so

app_cbmysql.o:  app_cbmysql.c
        $(CC) -pipe -I/usr/include/mysql -L/usr/lib/mysql $(CFLAGS) -c
- -o app_cbmysql.o app_cbmysql.c

app_cbmysql.so: app_cbmysql.o
        $(CC)  $(SOLINK) -o $@ ${CYGSOLINK} $< ${CYGSOLIB}
- -L/usr/lib/mysql -lmysqlclient -lz




_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --

Asterisk-Users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to