[Users] Error while compiling "mysql" module

Karthik Kamaraj kkarthik at TechMahindra.com
Mon Feb 19 15:29:32 CET 2007


Hi All,

I was trying to install Openser from source openser-1.1.1-notls and I am
getting followinr error while compiling "mysql" module.

 

Compiling dbase.c

gcc -fPIC -DPIC -g -O9 -funroll-loops -Wcast-align -Wall
-Wno-strict-aliasing -m

inline-all-stringops -falign-loops -ftree-vectorize -mtune=athlon64
-DNAME='"op

enser"' -DVERSION='"1.1.1-notls"' -DARCH='"i386"' -DOS='"linux"'
-DCOMPILER='"gc

c 4.1.1"' -D__CPU_i386 -D__OS_linux -D__SMP_yes
-DCFG_DIR='"/usr/local/etc/opens

er/"' -DPKG_MALLOC -DSHM_MEM  -DSHM_MMAP -DUSE_IPV6 -DUSE_MCAST
-DUSE_TCP -DDISA

BLE_NAGLE -DHAVE_RESOLV_RES -DF_MALLOC -DSTATISTICS  -DFAST_LOCK
-DADAPTIVE_WAIT

 -DADAPTIVE_WAIT_LOOPS=1024  -DHAVE_GETHOSTBYNAME2 -DHAVE_UNION_SEMUN
-DHAVE_SCH

ED_YIELD -DHAVE_MSG_NOSIGNAL -DHAVE_MSGHDR_MSG_CONTROL -DHAVE_ALLOCA_H
-DHAVE_TI

MEGM -DHAVE_EPOLL -DHAVE_SIGIO_RT -DHAVE_SELECT -I/usr/local/include
-I/usr/loca

l/include/mysql -I/usr/local/mysql/include/mysql
-I/usr/local/mysql/include -I/u

sr/include/mysql -c dbase.c -o dbase.o

dbase.c:29:25: error: mysql/mysql.h: No such file or directory

dbase.c:30:26: error: mysql/errmsg.h: No such file or directory

 

Looks like mysql.h and errmsg.h file is not available.

 

I need your comments to resolve the issue.

 

Thanks,

Karthik



============================================================================================================================

Tech Mahindra, formerly Mahindra-British Telecom.
 
Disclaimer:

This message and the information contained herein is proprietary and confidential and subject to the Tech Mahindra policy statement, you may review at <a href="http://www.techmahindra.com/Disclaimer.html">http://www.techmahindra.com/Disclaimer.html</a> externally and <a href="http://tim.techmahindra.com/Disclaimer.html">http://tim.techmahindra.com/Disclaimer.html</a> internally within Tech Mahindra.

============================================================================================================================
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kamailio.org/pipermail/users/attachments/20070219/57e6f9f2/attachment.htm 


More information about the Users mailing list