Jaroslav wrote:
Hello.
I did like you said but got the error while doing make:
./compile local_scan.c
local_scan.c:15:38: error: /usr/include/mysql/mysql.h: No such file or
directory
local_scan.c:34: error: expected Б─≤)Б─≥ before Б─≤*Б─≥ token
local_scan.c:64: error: expected Б─≤)Б─≥ before Б─≤*Б─≥ token
local_scan.c:103: error: expected Б─≤)Б─≥ before Б─≤*Б─≥ token
local_scan.c:162: error: expected Б─≤)Б─≥ before Б─≤*Б─≥ token
local_scan.c: In function Б─≤local_scanБ─≥:
local_scan.c:258: error: Б─≤MYSQLБ─≥ undeclared (first use in this function)
local_scan.c:258: error: (Each undeclared identifier is reported only once
local_scan.c:258: error: for each function it appears in.)
local_scan.c:258: error: Б─≤mysqlБ─≥ undeclared (first use in this function)
make: *** [local_scan.o] Error 1
seems I need mysql sources, right ?
Distro is Ubuntu.
Hi,
Yes, you will need mysql-dev or what ever it is called under Ubuntu.
Regards,
Rick