THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.
The following task is now closed:
FS#118 - db_mysql fails to load on centos 5 due to bad simbol ref
User who did this - Daniel-Constantin Mierla (miconda)
Reason for closing: Fixed
Additional comments about closing: Using mysql_config fixed the issue.
More information can be found at the following URL:
http://sip-router.org/tracker/index.php?do=details&task_id=118
You are receiving this message because you have requested it from the Flyspray bugtracking system. If you did not expect this message or don't want to receive mails in future, you can change your notification settings at the URL shown above.
Hi All,
I've seen someone else had a similar problem but there were no responses. On
Solaris, compiling db_mysql results in the following:
CC (gcc) [M db_mysql.so] my_cmd.o
In file included from ../../globals.h:37:0,
from ../../pt.h:42,
from ../../counters.h:43,
from mysql_mod.h:39,
from my_cmd.c:40:
../../ip_addr.h:85:23: error: field 'sin6' has incomplete type
../../ip_addr.h: In function 'ip_addr_loopback':
../../ip_addr.h:281:3: warning: implicit declaration of function 'htonl'
../../ip_addr.h:284:3: warning: implicit declaration of function
'IN6_IS_ADDR_LOOPBACK'
../../ip_addr.h: In function 'sockaddr2ip_addr':
../../ip_addr.h:351:50: error: dereferencing pointer to incomplete type
../../ip_addr.h: In function 'su_getport':
../../ip_addr.h:397:4: warning: implicit declaration of function 'ntohs'
../../ip_addr.h: In function 'su_setport':
../../ip_addr.h:416:4: warning: implicit declaration of function 'htons'
whats puzzling me is that ip_addr.h is included in other modules which
compile perfectly, however in db_mysql, not
feel like I'm missing something really silly? any ideas?