[Serusers] error while compile uac
Mik
mik at ttn.ru
Sat May 7 15:28:55 CEST 2005
Hi!
This module compile and work with ser-0.9.0.
I am update ser. And all rigth.
admin wrote:
> I am also trying to compile this module. Where did you find the
> uac-0.9.0-0.tgz file you are using?
>
>
>
>>Hello,
>>
>>I try to compile UAC module for SER. And I have error.
>>Please, give me advice.
>>
>>ser-0.8.14
>>extract uac-0.9.0-0.tgz to ser-0.8.14/modules/uac
>>gmake
>>RESULT:
>>
>># gmake
>>../../Makefile.modules:21: "you should run make from the main ser
>>directory"
>>../../Makefile.modules:21: "you should run make from the main ser
>>directory"
>>gcc -fPIC -DPIC -g -O9 -funroll-loops -Wcast-align -Wall
>>-minline-all-stringops -malign-double -falign-loops -mcpu=athlon
>>-DNAME='"uac.so"' -DVERSION='"0.8.14"' -DARCH='"i386"' -DOS='"freebsd"'
>>-DCOMPILER='"gcc 3.4"' -D__CPU_i386 -D__OS_freebsd
>>-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_SOCKADDR_SA_LEN -DHAVE_GETHOSTBYNAME2 -DHAVE_UNION_SEMUN
>>-DHAVE_SCHED_YIELD -DHAVE_MSGHDR_MSG_CONTROL -c auth.c -o auth.o
>>`-mcpu=' is deprecated. Use `-mtune=' or '-march=' instead.
>>auth.c: In function `uac_auth':
>>auth.c:336: error: structure has no member named `t_gett'
>>gmake: *** [auth.o] ïÛÉÂËÁ 1
>>
>>I can't find function with that name in all SER tree.
>># grep -R t_gett *
>>modules/sms/sms_funcs.c: set_gettime_function();
>>modules/sms/sms_report.c:void set_gettime_function()
>>modules/sms/sms_report.c: LOG(L_INFO,"INFO:sms:set_gettime_function:
>>using system time func.\n");
>>modules/sms/sms_report.c: LOG(L_INFO,"INFO:sms:set_gettime_function:
>>using ser time func.\n");
>>modules/sms/sms_report.h:void set_gettime_function();
>>Binary file modules/sms/sms_funcs.o matches
>>Binary file modules/sms/sms_report.o matches
>>Binary file modules/sms/sms.so matches
>>modules/uac/auth.c: t = uac_tmb.t_gett();
>>
>># uname -a
>>FreeBSD megalink.com.ru 5.3-RELEASE FreeBSD 5.3-RELEASE #1: Sun Nov 7
>>19:44:39 MSK 2004
>>dwl at megalink.com.ru:/usr/src/sys/i386/compile/megalink.com.ru-5.3 i386
>>
>>How can I compile this module?
>>
>>_______________________________________________
>>Serusers mailing list
>>serusers at lists.iptel.org
>>http://lists.iptel.org/mailman/listinfo/serusers
>
>
>
> _______________________________________________
> Serusers mailing list
> serusers at lists.iptel.org
> http://lists.iptel.org/mailman/listinfo/serusers
More information about the sr-users
mailing list