Hi, I'm trying to compile openser 1.2 for Broadcom platforms with the following compile options, and the usrloc module is failing. Is this a bug in the usrloc module (some missing #ifdefs) for locks?
CC_EXTRA_OPTS="-fexpensive-optimizations -fomit-frame-pointer -fsigned-char -DSTATS -O2 -pipe -I/home/slug/optware/mss/staging/opt/include" \ LD_EXTRA_OPTS=" -L/home/slug/optware/mss/staging/opt/lib -Wl,-rpath,/opt/lib -Wl,-rpath-link,/home/slug/optware/mss/staging/opt/lib" \ PERLLDOPTS="" PERLCCOPTS="" TYPEMAP="" \ TLS=1 LOCALBASE=/home/slug/optware/mss/staging/opt SYSBASE=/home/slug/optware/mss/staging/opt CC="/opt/brcm/hndtools-mipsel-linux/bin/mipsel-linux-gcc" \ make -C /home/slug/optware/mss/builds/openser ARCH=mips OS=linux OSREL=2.4.20 mode=debug \ include_modules="presence pua_mi pua_usrloc xmpp unixodbc auth_radius avp_radius group_radius uri_radius cpl-c postgres mysql" prefix=/opt all /opt/brcm/hndtools-mipsel-linux/bin/mipsel-linux-gcc -fPIC -DPIC -fexpensive-optimizations -fomit-frame-pointer -fsigned-char -DSTATS -O2 -pipe -I/home/slug/optware/mss/staging/opt/include -DNAME='"openser"' -DVERSION='"1.2.0-tls"' -DARCH='"mips"' -DOS='"linux"' -DCOMPILER='"/opt/brcm/hndtools-mipsel-linux/bin/mipsel-linux-gcc 3.2.3"' -D__CPU_mips -D__OS_linux -D__SMP_no -DCFG_DIR='"/opt/etc/openser/"' -DPKG_MALLOC -DSHM_MEM -DSHM_MMAP -DUSE_IPV6 -DUSE_MCAST -DUSE_TCP -DDISABLE_NAGLE -DHAVE_RESOLV_RES -DSTATISTICS -DF_MALLOC -DUSE_TLS -DEXTRA_DEBUG -DHAVE_GETHOSTBYNAME2 -DHAVE_UNION_SEMUN -DHAVE_SCHED_YIELD -DHAVE_MSG_NOSIGNAL -DHAVE_MSGHDR_MSG_CONTROL -DHAVE_ALLOCA_H -DHAVE_TIMEGM -DUSE_SYSV_SEM -DHAVE_SIGIO_RT -DHAVE_SELECT -I/home/slug/optware/mss/staging/opt/ssl/include -c hslot.c -o hslot.o hslot.c: In function `init_slot': hslot.c:77: structure has no member named `locks' make[3]: *** [hslot.o] Error 1 Regards, Ovidiu Sas _______________________________________________ Devel mailing list Devel@openser.org http://openser.org/cgi-bin/mailman/listinfo/devel