On Jul 04, 2005 at 02:57, Kamran Ahmad <p_kami(a)yahoo.com> wrote:
hello
can anyone check what is wrong in my installation.
gcc -g -O9 -funroll-loops -Wcast-align -Wall
-minline-all-stringops -malign-double -falign-loops
-mcpu=athlon -DNAME='"ser"' -DVERSION='"0.9.2"'
-DARCH='"i386"' -DOS='"linux"'
-DCOMPILER='"gcc 3.2"'
-D__CPU_i386 -D__OS_linux
-DCFG_DIR='"/usr/local/etc/ser/"' -DPKG_MALLOC
-DSHM_MEM -DSHM_MMAP -DDNS_IP_HACK -DUSE_IPV6
-DUSE_MCAST -DUSE_TCP -DDISABLE_NAGLE -DDBG_QM_MALLOC
-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
-DHAVE_ALLOCA_H -c usr_avp.c -o usr_avp.o
If you use fm_malloc (-DF_MALLOC) in dedugging mode you must add
-DDBG_F_MALLOC and not -DDBG_QM_MALLOC.
So either remove -DF_MALLOC from Makefile.defs or change -DDBG_QM_MALLOC
to -DDBG_F_MALLOC or upgrade to the latest rel_0_9_0 cvs (in which
using DBG_QM_MALLOC will automatically define DBG_F_MALLOC too),
Andrei