Hello Alessio,
AF> now it seems fine, except for mysql module that wont compile
AF> cant use old one unfortunately :(
AF> any idea ?
I will reply myself: I miss mysqldevelop library ....
AF> again, tnx !
AF> make[1]: Entering directory `/usr/src/sip_router/modules/mysql'
AF> gcc -fPIC -DPIC -g -O9 -funroll-loops -Wcast-align -Wall
AF> -minline-all-stringops -malign-double -falign-loops -mcpu=athlon
AF> -DNAME='"ser"' -DVERSION='"0.8.12-tcp_nonb"'
-DARCH='"i386"'
AF> -DOS='"linux"' -DCOMPILER='"gcc 3.3"'
-D__CPU_i386 -D__OS_linux
AF> -DCFG_DIR='"/usr/local/etc/ser/"' -DPKG_MALLOC -DSHM_MEM
AF> -DSHM_MMAP -DDNS_IP_HACK -DUSE_IPV6 -DUSE_TCP -DDISABLE_NAGLE
AF> -DF_MALLOC -DFAST_LOCK -DADAPTIVE_WAIT -DADAPTIVE_WAIT_LOOPS=1024
AF> -DHAVE_GETHOSTBYNAME2 -DHAVE_UNION_SEMUN -DHAVE_SCHED_YIELD
AF> -DHAVE_MSG_NOSIGNAL -DHAVE_MSGHDR_MSG_CONTROL -I/usr/local/include
AF> -I/usr/local/include/mysql -I/usr/local/mysql/include
AF> -I/usr/pkg/include -c dbase.c -o dbase.o
AF> In file included from dbase.c:39:
AF> con_mysql.h:33:25: mysql/mysql.h: No such file or directory
AF> In file included from dbase.c:39:
AF> con_mysql.h:39: error: syntax error before "MYSQL_RES"
AF> con_mysql.h:39: warning: no semicolon at end of struct or union
AF> con_mysql.h:40: warning: type defaults to `int' in declaration of `con'
AF> con_mysql.h:40: warning: data definition has no type or storage class
AF> con_mysql.h:41: error: syntax error before "row"
AF> con_mysql.h:41: warning: type defaults to `int' in declaration of `row'
AF> con_mysql.h:41: warning: data definition has no type or storage class
AF> In file included from dbase.c:40:
AF> db_val.h:31:25: mysql/mysql.h: No such file or directory
AF> In file included from dbase.c:40:
AF> db_val.h:43: error: syntax error before '*' token
AF> dbase.c: In function `connect_db':
BAI>> Bogdan
BAI>> Alessio Focardi wrote:
>>Hello friends,
>>
>>I have just recompiled ser modules to include radius.
>>
>>now, when I launch it every module fails with this error
>>
>></usr/lib/ser/modules/sl.so>: /usr/lib/ser/modules/sl.so: undefined symbol:
log_facility
>>
>>this for every module except for mysql.so and sl.so
>>
>>do I need some more modules in my cfg ?
>>
>>loadmodule "/usr/lib/ser/modules/mysql.so"
>>loadmodule "/usr/lib/ser/modules/sl.so"
>>loadmodule "/usr/lib/ser/modules/tm.so"
>>loadmodule "/usr/lib/ser/modules/rr.so"
>>loadmodule "/usr/lib/ser/modules/maxfwd.so"
>>loadmodule "/usr/lib/ser/modules/usrloc.so"
>>loadmodule "/usr/lib/ser/modules/registrar.so"
>>loadmodule "/usr/lib/ser/modules/group.so"
>>loadmodule "/usr/lib/ser/modules/acc.so"
>>loadmodule "/usr/lib/ser/modules/auth.so"
>>loadmodule "/usr/lib/ser/modules/auth_db.so"
>>
>>tnx for any help !
>>
>>
>>
>>
>>
>>
--
Best regards,
Alessio mailto:afoc@interconnessioni.it