Re: [Wireshark-dev] I want to modify the Makefile to add some lib of mysql

2011-01-06 Thread Stephen Fisher
On Fri, Jan 07, 2011 at 11:32:31AM +0800, 刘昆 wrote: > If I export CPPFLAGS=-I/usr/include/mysql > > Why should I use "#include" not "#include" ? You're right - #include should be sufficient. ___ Sent via:Wireshark-dev

Re: [Wireshark-dev] I want to modify the Makefile to add some lib of mysql

2011-01-06 Thread 刘昆
于 2010年12月06日 03:08, Stephen Fisher 写道: On Sun, Dec 05, 2010 at 11:36:12PM +0800, 刘昆 wrote: To be specific,I want add "/usr/include/mysql/mysql.h" header file and link "libmysqlclient.so" lib to do my work. So how should I do to? The quickest way would be to set some environment vari

Re: [Wireshark-dev] I want to modify the Makefile to add some lib of mysql

2010-12-05 Thread Stephen Fisher
On Sun, Dec 05, 2010 at 11:36:12PM +0800, 刘昆 wrote: > To be specific,I want add "/usr/include/mysql/mysql.h" header file and > link "libmysqlclient.so" lib to do my work. So how should I do to? The quickest way would be to set some environment variables before you run the configure script. Ac

[Wireshark-dev] I want to modify the Makefile to add some lib of mysql

2010-12-05 Thread 刘昆
I want to modify the Makefile to add some lib of mysql so that I can make packet-http.c with some mysql code. To be specific,I want add "/usr/include/mysql/mysql.h" header file and link "libmysqlclient.so" lib to do my work. So how should I do to? ___

Re: [Wireshark-dev] I want to modify the Makefile to add some lib of mysql

2010-11-29 Thread 刘昆
于 2010年11月20日 02:03, Stephen Fisher 写道: > On Fri, Nov 19, 2010 at 08:55:18PM +0800, 刘昆 wrote: > > >> I want to modify the Makefile to add some lib of mysql so that I can >> make packet-http.c with some mysql code.How should I do ? >> > Try following the example of other libraries that we

Re: [Wireshark-dev] I want to modify the Makefile to add some lib of mysql

2010-11-19 Thread Stephen Fisher
On Fri, Nov 19, 2010 at 08:55:18PM +0800, 刘昆 wrote: > I want to modify the Makefile to add some lib of mysql so that I can > make packet-http.c with some mysql code.How should I do ? Try following the example of other libraries that we use, such as glib or gtk or even c-ares/adns. If you're on

[Wireshark-dev] I want to modify the Makefile to add some lib of mysql

2010-11-19 Thread 刘昆
I want to modify the Makefile to add some lib of mysql so that I can make packet-http.c with some mysql code.How should I do ? ___ Sent via:Wireshark-dev mailing list Archives:http://www.wireshark.org/lists/wireshark-d