Hi! I found the solution: just put this line bellow on Makefile.am
enroll_LDFLAGS=-L/usr/lib/mysql -lmysqlclient verify_LDFLAGS=-L/usr/lib/mysql -lmysqlclient Jeff On Thu, Oct 22, 2009 at 11:34 AM, Jefferson Luiz Oliveira de Campos <[email protected]> wrote: > Hi! > > Thanks for advice! > But that isn't exactly what i need. I use the the example application to > write my own program. I make just a little modification. So, I need to know > how I include mysql library in project to access the database. ("enrool.c" > and "verify.c") and compiling it (I think that use the "libtool packge" to > do this). > > thanks... > Jeff > > On Wed, Oct 21, 2009 at 10:04 AM, Thomas Ilnseher <[email protected]> wrote: >> >> Am Montag, den 19.10.2009, 11:56 -0600 schrieb Jason Gerfen: >> > gcc -o file.c name-of-app -llibfprint >> taht won't work. Use >> >> gcc -o name-of-app file.c -lfprint >> > >> > Not sure if it is indeed the libfprint name perhaps someone can verify >> > this? >> > >> > Jefferson Luiz Oliveira de Campos wrote: >> > > Hi! >> > > >> > > I am developing an application suite of the examples provided. I'm >> > > having difficulty compiling this new application. How do I add new >> > > library? >> > > To compile, use the command "make". >> > > >> > > Jeff >> > > >> > > ------------------------------------------------------------------------ >> > > >> > > _______________________________________________ >> > > fprint mailing list >> > > [email protected] >> > > http://lists.reactivated.net/mailman/listinfo/fprint >> > > >> > >> > >> >> _______________________________________________ >> fprint mailing list >> [email protected] >> http://lists.reactivated.net/mailman/listinfo/fprint > > > > -- > Att. > Jefferson Luiz. > >>>> Você luta para que possa ficar mais forte ou você quer mais poder para >>>> continuar lutando? <<< > -- Att. Jefferson Luiz. >>> Você luta para que possa ficar mais forte ou você quer mais poder para >>> continuar lutando? <<< _______________________________________________ fprint mailing list [email protected] http://lists.reactivated.net/mailman/listinfo/fprint
