Hi.

I'm trying to build "apache2-mod_mya", but I'm getting this error (with 
mysql-4.0.10):

apxs2 -DHAVE_STDDEF_H -I/usr/include/mysql -L/usr/lib -Wl,-lmysqlclient -c 
mod_mya.c
/usr/lib/apache2-2.0.44/build/libtool --silent --mode=compile gcc -prefer-pic 
-O2 -fomit-frame-pointer -pipe -march=i586 -mcpu=pentiumpro 
-fno-omit-frame-pointer -DAP_HAVE_DESIGNATED_INITIALIZER -DLINUX=2 
-D_REENTRANT -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE 
-pthread -DRECORD_FORWARD -I/usr/include/apache2 -I/usr/include/mysql 
-DHAVE_STDDEF_H  -c -o mod_mya.lo mod_mya.c && touch mod_mya.slo
mod_mya.c:271: conflicting types for `my_connect'
/usr/include/mysql/mysql_com.h:181: previous declaration of `my_connect'
apxs:Error: Command failed with rc=65536


How do I get this done right? hack the source, but how?


http://www.synthemesc.com/mod_mya/


-- 
Regards // Oden Eriksson, Deserve-IT.com

Reply via email to