[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Problem with smsd and mysql
From: |
Pawel Kot |
Subject: |
Re: Problem with smsd and mysql |
Date: |
Fri, 20 Aug 2004 12:20:53 +0200 (CEST) |
On Fri, 20 Aug 2004 address@hidden wrote:
> # MySQL support
> mysql.lo: smsd.h mysql.c
> $(LIBTOOL) --mode=compile $(CC) -o mysql.lo $(CFLAGS) $(CPPFLAGS) \
> -I/usr/local/mysql/include/mysql -c mysql.c
>
> libmysql.la: mysql.lo
> $(LIBTOOL) --mode=link $(CC) -o libmysql.la mysql.lo \
> $(shell $(GLIBLDLIBS)) /usr/local/mysql/lib/mysql \
> -export-dynamic -avoid-version -rpath ${libdir}/smsd
Where did you get this from??? Original Makefile says:
# MySQL support
mysql.lo: smsd.h mysql.c
$(LIBTOOL) --mode=compile $(CC) -o mysql.lo $(CFLAGS) $(CPPFLAGS) \
-I../include $(shell mysql_config --cflags) -c mysql.c
libmysql.la: mysql.lo
$(LIBTOOL) --mode=link $(CC) -o libmysql.la mysql.lo \
$(shell $(GLIBLDLIBS)) $(shell mysql_config --libs) \
-export-dynamic -avoid-version -rpath ${libdir}/smsd
Leave it as it is.
pkot
--
mailto:address@hidden
http://www.gnokii.org/