On Tue, 4 Nov 2008, Shoaib Khan wrote:
> (Note: it is absolutely ok untill i run ./configure) but when i issues make
> command it gives me following errors)
>
> Making all in smsd
> gmake[1]: Entering directory `/usr/local/bin/gnokii-0.6.26/smsd'
> /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I.
> -I../include -I../include -I./ -I/usr/include/glib-2.0
> -I/usr/lib/glib-2.0/include -I/usr/include/mysql -g -pipe
> -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector
> --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic
> -fasynchronous-unwind-tables -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64
> -D_LARGEFILE_SOURCE -fno-strict-aliasing -fwrapv
> -DMODULES_DIR=\"/usr/local/lib/smsd\"
> -DLOCALEDIR=\"/usr/local/share/locale\" -pthread -g -O2 -Wall
> -Wno-pointer-sign -fvisibility=hidden -fno-strict-aliasing -MT mysql.lo -MD
> -MP -MF .deps/mysql.Tpo -c -o mysql.lo mysql.c
> gcc -DHAVE_CONFIG_H -I. -I../include -I../include -I./
> -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/mysql -g
> -pipe -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector
> --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic
> -fasynchronous-unwind-tables -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64
> -D_LARGEFILE_SOURCE -fno-strict-aliasing -fwrapv
> -DMODULES_DIR=\"/usr/local/lib/smsd\"
> -DLOCALEDIR=\"/usr/local/share/locale\" -pthread -g -O2 -Wall
> -Wno-pointer-sign -fvisibility=hidden -fno-strict-aliasing -MT mysql.lo -MD
> -MP -MF .deps/mysql.Tpo -c mysql.c -fPIC -DPIC -o .libs/mysql.o
> gmake[1]: Leaving directory `/usr/local/bin/gnokii-0.6.26/smsd'
>
> mysql.c:36:19: error: mysql.h: No such file or directory
The compilator cannot find mysql.h file in your system. Do you have it? It