[Serusers] undefined symbol: log_facility

Alessio Focardi afoc at interconnessioni.it
Fri Mar 26 12:05:45 CET 2004


Hello Bogdan-Andrei,

Friday, March 26, 2004, 11:16:30 AM, you wrote:

BAI> Looks like you have a newer version of the modules than the care itself
BAI> - please update core and all modules, do clean and recompile everything.

you where right, I compiled just the modules and not the whole
program.

now it seems fine, except for mysql module that wont compile

cant use old one unfortunately :(

any idea ?

again, tnx !

make[1]: Entering directory `/usr/src/sip_router/modules/mysql'
gcc -fPIC -DPIC -g -O9 -funroll-loops  -Wcast-align  -Wall  -minline-all-stringops -malign-double -falign-loops -mcpu=athlon      -DNAME='"ser"' -DVERSION='"0.8.12-tcp_nonb"' -DARCH='"i386"' -DOS='"linux"' -DCOMPILER='"gcc 3.3"' -D__CPU_i386 -D__OS_linux -DCFG_DIR='"/usr/local/etc/ser/"' -DPKG_MALLOC -DSHM_MEM  -DSHM_MMAP -DDNS_IP_HACK -DUSE_IPV6 -DUSE_TCP -DDISABLE_NAGLE -DF_MALLOC  -DFAST_LOCK -DADAPTIVE_WAIT -DADAPTIVE_WAIT_LOOPS=1024  -DHAVE_GETHOSTBYNAME2 -DHAVE_UNION_SEMUN -DHAVE_SCHED_YIELD -DHAVE_MSG_NOSIGNAL -DHAVE_MSGHDR_MSG_CONTROL -I/usr/local/include -I/usr/local/include/mysql -I/usr/local/mysql/include -I/usr/pkg/include -c dbase.c -o dbase.o
In file included from dbase.c:39:
con_mysql.h:33:25: mysql/mysql.h: No such file or directory
In file included from dbase.c:39:
con_mysql.h:39: error: syntax error before "MYSQL_RES"
con_mysql.h:39: warning: no semicolon at end of struct or union
con_mysql.h:40: warning: type defaults to `int' in declaration of `con'
con_mysql.h:40: warning: data definition has no type or storage class
con_mysql.h:41: error: syntax error before "row"
con_mysql.h:41: warning: type defaults to `int' in declaration of `row'
con_mysql.h:41: warning: data definition has no type or storage class
In file included from dbase.c:40:
db_val.h:31:25: mysql/mysql.h: No such file or directory
In file included from dbase.c:40:
db_val.h:43: error: syntax error before '*' token
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 at interconnessioni.it





More information about the sr-users mailing list