On Jul 01, 2009 at 09:54, Klaus Darilion
<klaus.mailinglists(a)pernau.at> wrote:
Hi!
When enabling Diameter support the is a problem in acc moduel:
gcc -fPIC -DPIC -g -O9 -funroll-loops -Wcast-align
-minline-all-stringops -falign-loops -ftree-vectorize -mtune=athlon64
-Wall -I/usr/local/include -DNAME='"ser"'
-DVERSION='"2.99.0-dev01-serk"' -DARCH='"i386"'
-DOS='linux_'
-DOS_QUOTED='"linux"' -DCOMPILER='"gcc 4.3.2"'
-D__CPU_i386 -D__OS_linux
-DSER_VER=2099000 -DCFG_DIR='"/usr/local/etc/ser/"' -DPKG_MALLOC
-DSHM_MEM -DSHM_MMAP -DDNS_IP_HACK -DUSE_IPV6 -DUSE_MCAST -DUSE_TCP
-DDISABLE_NAGLE -DHAVE_RESOLV_RES -DUSE_DNS_CACHE -DUSE_DNS_FAILOVER
-DUSE_DST_BLACKLIST -DUSE_NAPTR -DDBG_QM_MALLOC -DUSE_TLS -DTLS_HOOKS
-DFAST_LOCK -DADAPTIVE_WAIT -DADAPTIVE_WAIT_LOOPS=1024 -DCC_GCC_LIKE_ASM
-DHAVE_GETHOSTBYNAME2 -DHAVE_UNION_SEMUN -DHAVE_SCHED_YIELD
-DHAVE_MSG_NOSIGNAL -DHAVE_MSGHDR_MSG_CONTROL -DHAVE_ALLOCA_H
-DHAVE_TIMEGM -DHAVE_SCHED_SETSCHEDULER -DHAVE_EPOLL -DHAVE_SIGIO_RT
-DSIGINFO64_WORKARROUND -DUSE_FUTEX -DHAVE_SELECT -DSQL_ACC -DRAD_ACC
-DDIAM_ACC -DOPENSER_MOD_INTERFACE -DMOD_NAME='"acc"' -c acc_mod.c -o
acc_mod.o
acc_mod.c: In function 'mod_init':
acc_mod.c:507: warning: implicit declaration of function 'flag_idx2mask'
looks like flag_idx2mask needs to be added to flags.[c|h] (also needed
for siptrace module)
A function that does *flag=1<<(*flag)? Do we really need a function for
this??
I do not care if the function is added or the module's are changed.
klaus