fredagen den 21 februari 2003 17.41 skrev Jean-Michel Dault: > Le ven 21/02/2003 à 12:59, Oden Eriksson a écrit : > > 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/ > > perl -pi -e "s/my_connect/mya_connect/g;" mod_mya.c
Thank you J-M, I tried this earlier and it built fine, but I didn't test it. You mean that's it? It's a "go"? -- Regards // Oden Eriksson, Deserve-IT.com