[Kamailio-Users] crazy error OpenSER 1.3.3
David Loh
david.loh at vyke.com
Thu Sep 25 18:42:30 CEST 2008
It's look like mysql-devel (mysql development package) isn't install on
your box.
Regards,
D
VIP Carrier wrote:
>
> Hello,
>
> I'm trying to compile OpenSER 1.3.3 and getting the following error i
> have run a comand "make all include_modules="mysql""
>
> --------------------------------------------------------------------------------------------------------
>
> 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
> dbase.c:31:33: error: mysql/mysql_version.h: No such file or directory
> In file included from dbase.c:38:
> my_con.h:38: error: expected specifier-qualifier-list before
> Б─≤MYSQL_RESБ─≥
> dbase.c: In function Б─≤db_mysql_submit_queryБ─≥:
> dbase.c:65: error: Б─≤struct my_conБ─≥ has no member named Б─≤timestampБ─≥
> dbase.c:66: warning: implicit declaration of function Б─≤mysql_pingБ─≥
> dbase.c:66: error: Б─≤struct my_conБ─≥ has no member named Б─≤conБ─≥
> dbase.c:70: error: Б─≤struct my_conБ─≥ has no member named Б─≤timestampБ─≥
> dbase.c:88: warning: implicit declaration of function Б─≤mysql_queryБ─≥
> dbase.c:88: error: Б─≤struct my_conБ─≥ has no member named Б─≤conБ─≥
> dbase.c:91: warning: implicit declaration of function Б─≤mysql_errnoБ─≥
> dbase.c:91: error: Б─≤struct my_conБ─≥ has no member named Б─≤conБ─≥
> dbase.c:92: error: Б─≤CR_SERVER_GONE_ERRORБ─≥ undeclared (first use in
> this function)
> dbase.c:92: error: (Each undeclared identifier is reported only once
> dbase.c:92: error: for each function it appears in.)
> dbase.c:92: error: Б─≤CR_SERVER_LOSTБ─≥ undeclared (first use in this
> function)
> dbase.c:96: warning: implicit declaration of function Б─≤mysql_errorБ─≥
> dbase.c:96: error: Б─≤struct my_conБ─≥ has no member named Б─≤conБ─≥
> dbase.c:96: error: Б─≤struct my_conБ─≥ has no member named Б─≤conБ─≥
> dbase.c:96: warning: format Б─≤%sБ─≥ expects type Б─≤char *Б─≥, but
> argument 4 has type Б─≤intБ─≥
> dbase.c: In function Б─≤db_mysql_store_resultБ─≥:
> dbase.c:195: error: Б─≤struct my_conБ─≥ has no member named Б─≤resБ─≥
> dbase.c:195: warning: implicit declaration of function
> Б─≤mysql_store_resultБ─≥
> dbase.c:195: error: Б─≤struct my_conБ─≥ has no member named Б─≤conБ─≥
> dbase.c:196: error: Б─≤struct my_conБ─≥ has no member named Б─≤resБ─≥
> dbase.c:197: warning: implicit declaration of function
> Б─≤mysql_field_countБ─≥
> dbase.c:197: error: Б─≤struct my_conБ─≥ has no member named Б─≤conБ─≥
> dbase.c:202: error: Б─≤struct my_conБ─≥ has no member named Б─≤conБ─≥
> dbase.c:202: error: Б─≤struct my_conБ─≥ has no member named Б─≤conБ─≥
> dbase.c:202: warning: format Б─≤%sБ─≥ expects type Б─≤char *Б─≥, but
> argument 4 has type Б─≤intБ─≥
> dbase.c:216: warning: implicit declaration of function
> Б─≤mysql_free_resultБ─≥
> dbase.c:216: error: Б─≤struct my_conБ─≥ has no member named Б─≤resБ─≥
> dbase.c:223: error: Б─≤struct my_conБ─≥ has no member named Б─≤resБ─≥
> dbase.c: In function Б─≤db_mysql_free_resultБ─≥:
> dbase.c:253: error: Б─≤struct my_conБ─≥ has no member named Б─≤resБ─≥
> dbase.c:254: error: Б─≤struct my_conБ─≥ has no member named Б─≤resБ─≥
> dbase.c: In function Б─≤db_mysql_fetch_resultБ─≥:
> dbase.c:361: error: Б─≤struct my_conБ─≥ has no member named Б─≤resБ─≥
> dbase.c:361: error: Б─≤struct my_conБ─≥ has no member named Б─≤conБ─≥
> dbase.c:362: error: Б─≤struct my_conБ─≥ has no member named Б─≤resБ─≥
> dbase.c:363: error: Б─≤struct my_conБ─≥ has no member named Б─≤conБ─≥
> dbase.c:368: error: Б─≤struct my_conБ─≥ has no member named Б─≤conБ─≥
> dbase.c:368: error: Б─≤struct my_conБ─≥ has no member named Б─≤conБ─≥
> dbase.c:368: warning: format Б─≤%sБ─≥ expects type Б─≤char *Б─≥, but
> argument 4 has type Б─≤intБ─≥
> dbase.c:379: warning: implicit declaration of function
> Б─≤mysql_num_rowsБ─≥
> dbase.c:379: error: Б─≤struct my_conБ─≥ has no member named Б─≤resБ─≥
> dbase.c:414: error: Б─≤struct my_conБ─≥ has no member named Б─≤rowБ─≥
> dbase.c:414: warning: implicit declaration of function
> Б─≤mysql_fetch_rowБ─≥
> dbase.c:414: error: Б─≤struct my_conБ─≥ has no member named Б─≤resБ─≥
> dbase.c:415: error: Б─≤struct my_conБ─≥ has no member named Б─≤rowБ─≥
> dbase.c:416: error: Б─≤struct my_conБ─≥ has no member named Б─≤conБ─≥
> dbase.c:416: error: Б─≤struct my_conБ─≥ has no member named Б─≤conБ─≥
> dbase.c:416: warning: format Б─≤%sБ─≥ expects type Б─≤char *Б─≥, but
> argument 4 has type Б─≤intБ─≥
> dbase.c: In function Б─≤db_last_inserted_idБ─≥:
> dbase.c:649: warning: implicit declaration of function
> Б─≤mysql_insert_idБ─≥
> dbase.c:649: error: Б─≤struct my_conБ─≥ has no member named Б─≤conБ─≥
> make[1]: *** [dbase.o] Error 1
> make[1]: Leaving directory `/src/openser-1.3.3-notls/modules/mysql'
> make: *** [modules] Error 2
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Users mailing list
> Users at lists.kamailio.org
> http://lists.kamailio.org/cgi-bin/mailman/listinfo/users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kamailio.org/pipermail/users/attachments/20080926/6507a9f7/attachment.htm
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3241 bytes
Desc: S/MIME Cryptographic Signature
Url : http://lists.kamailio.org/pipermail/users/attachments/20080926/6507a9f7/attachment.bin
More information about the Users
mailing list