[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openser-users
Subject:    Re: [Kamailio-Users] crazy error OpenSER 1.3.3
From:       David Loh <david.loh () vyke ! com>
Date:       2008-09-25 16:42:30
Message-ID: 48DBBF76.6090908 () vyke ! com
[Download RAW message or body]

[Attachment #2 (multipart/signed)]

[Attachment #4 (multipart/alternative)]

[Attachment #6 (text/plain)]

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@lists.kamailio.org
> http://lists.kamailio.org/cgi-bin/mailman/listinfo/users
> 


[Attachment #7 (text/html)]

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=KOI8-R" http-equiv="Content-Type">
  <title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
It's look like mysql-devel (mysql development package) isn't install on
your box.<br>
<br>
Regards,<br>
D<br>
<br>
VIP Carrier wrote:
<blockquote
 cite="mid:459f0c6c0809250639n58a9a5e9o443679fcc1b96231@mail.gmail.com"
 type="cite">
  <div dir="ltr">
  <p>Hello,<br>
  </p>
  <p>I'm trying to compile OpenSER 1.3.3 and getting the following
error i have run a comand "make all include_modules="mysql""</p>
  <p>--------------------------------------------------------------------------------------------------------</p>
  <p>dbase.c:29:25: error: mysql/mysql.h: No such file or directory<br>
dbase.c:30:26: error: mysql/errmsg.h: No such file or directory<br>
dbase.c:31:33: error: mysql/mysql_version.h: No such file or directory<br>
In file included from dbase.c:38:<br>
my_con.h:38: error: expected specifier-qualifier-list before
‘MYSQL_RES'<br>
dbase.c: In function ‘db_mysql_submit_query':<br>
dbase.c:65: error: ‘struct my_con' has no member named
‘timestamp'<br>
dbase.c:66: warning: implicit declaration of function ‘mysql_ping'<br>
dbase.c:66: error: ‘struct my_con' has no member named ‘con'<br>
dbase.c:70: error: ‘struct my_con' has no member named
‘timestamp'<br>
dbase.c:88: warning: implicit declaration of function ‘mysql_query'<br>
dbase.c:88: error: ‘struct my_con' has no member named ‘con'<br>
dbase.c:91: warning: implicit declaration of function ‘mysql_errno'<br>
dbase.c:91: error: ‘struct my_con' has no member named ‘con'<br>
dbase.c:92: error: ‘CR_SERVER_GONE_ERROR' undeclared (first use in
this function)<br>
dbase.c:92: error: (Each undeclared identifier is reported only once<br>
dbase.c:92: error: for each function it appears in.)<br>
dbase.c:92: error: ‘CR_SERVER_LOST' undeclared (first use in this
function)<br>
dbase.c:96: warning: implicit declaration of function ‘mysql_error'<br>
dbase.c:96: error: ‘struct my_con' has no member named ‘con'<br>
dbase.c:96: error: ‘struct my_con' has no member named ‘con'<br>
dbase.c:96: warning: format ‘%s' expects type ‘char *', but
argument 4 has type ‘int'<br>
dbase.c: In function ‘db_mysql_store_result':<br>
dbase.c:195: error: ‘struct my_con' has no member named ‘res'<br>
dbase.c:195: warning: implicit declaration of function
‘mysql_store_result'<br>
dbase.c:195: error: ‘struct my_con' has no member named ‘con'<br>
dbase.c:196: error: ‘struct my_con' has no member named ‘res'<br>
dbase.c:197: warning: implicit declaration of function
‘mysql_field_count'<br>
dbase.c:197: error: ‘struct my_con' has no member named ‘con'<br>
dbase.c:202: error: ‘struct my_con' has no member named ‘con'<br>
dbase.c:202: error: ‘struct my_con' has no member named ‘con'<br>
dbase.c:202: warning: format ‘%s' expects type ‘char *', but
argument 4 has type ‘int'<br>
dbase.c:216: warning: implicit declaration of function
‘mysql_free_result'<br>
dbase.c:216: error: ‘struct my_con' has no member named ‘res'<br>
dbase.c:223: error: ‘struct my_con' has no member named ‘res'<br>
dbase.c: In function ‘db_mysql_free_result':<br>
dbase.c:253: error: ‘struct my_con' has no member named ‘res'<br>
dbase.c:254: error: ‘struct my_con' has no member named ‘res'<br>
dbase.c: In function ‘db_mysql_fetch_result':<br>
dbase.c:361: error: ‘struct my_con' has no member named ‘res'<br>
dbase.c:361: error: ‘struct my_con' has no member named ‘con'<br>
dbase.c:362: error: ‘struct my_con' has no member named ‘res'<br>
dbase.c:363: error: ‘struct my_con' has no member named ‘con'<br>
dbase.c:368: error: ‘struct my_con' has no member named ‘con'<br>
dbase.c:368: error: ‘struct my_con' has no member named ‘con'<br>
dbase.c:368: warning: format ‘%s' expects type ‘char *', but
argument 4 has type ‘int'<br>
dbase.c:379: warning: implicit declaration of function
‘mysql_num_rows'<br>
dbase.c:379: error: ‘struct my_con' has no member named ‘res'<br>
dbase.c:414: error: ‘struct my_con' has no member named ‘row'<br>
dbase.c:414: warning: implicit declaration of function
‘mysql_fetch_row'<br>
dbase.c:414: error: ‘struct my_con' has no member named ‘res'<br>
dbase.c:415: error: ‘struct my_con' has no member named ‘row'<br>
dbase.c:416: error: ‘struct my_con' has no member named ‘con'<br>
dbase.c:416: error: ‘struct my_con' has no member named ‘con'<br>
dbase.c:416: warning: format ‘%s' expects type ‘char *', but
argument 4 has type ‘int'<br>
dbase.c: In function ‘db_last_inserted_id':<br>
dbase.c:649: warning: implicit declaration of function
‘mysql_insert_id'<br>
dbase.c:649: error: ‘struct my_con' has no member named ‘con'<br>
make[1]: *** [dbase.o] Error 1<br>
make[1]: Leaving directory `/src/openser-1.3.3-notls/modules/mysql'<br>
make: *** [modules] Error 2<br>
  <br>
  <br>
  </p>
  </div>
  <pre wrap="">
<hr size="4" width="90%">
_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" \
href="mailto:Users@lists.kamailio.org">Users@lists.kamailio.org</a> <a \
class="moz-txt-link-freetext" \
href="http://lists.kamailio.org/cgi-bin/mailman/listinfo/users">http://lists.kamailio.org/cgi-bin/mailman/listinfo/users</a>
  </pre>
</blockquote>
<br>
</body>
</html>


["smime.p7s" (application/x-pkcs7-signature)]

_______________________________________________
Users mailing list
Users@lists.kamailio.org
http://lists.kamailio.org/cgi-bin/mailman/listinfo/users


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic