Hello,
On 02/02/2009 03:50 AM, toly wrote:
I got it. Thanks anyway.
what was the problem? Others might learn from your experience ...
Cheers, Daniel
toly wrote:
Greetings,
Trying to compile openser 1.3.3 without PKG_MALLOC, just using OS malloc
Here's me Makefile.defs
DEFS+= $(extra_defs) \ -DNAME='"$(MAIN_NAME)"' -DVERSION='"$(RELEASE)"' -DARCH='"$(ARCH)"' \ -DOS='"$(OS)"' -DCOMPILER='"$(CC_VER)"' -D__CPU_$(ARCH) -D__OS_$(OS) \ -D__SMP_$(ISSMP) -DCFG_DIR='"$(cfg-target)"'\ -DSHM_MEM -DSHM_MMAP \ #-DPKG_MALLOC \ -DUSE_IPV6 \ -DUSE_MCAST \ -DUSE_TCP \ -DDISABLE_NAGLE \ -DHAVE_RESOLV_RES \ -DSTATISTICS \ -DCHANGEABLE_DEBUG_LEVEL \ #-DF_MALLOC \ -DQM_JOIN_FREE \ #-DDBG_QM_MALLOC \ #-DDBG_F_MALLOC \ #-DNO_DEBUG \ #-DNO_LOG \ #-DVQ_MALLOC \ #-DDBG_LOCK \ #-DNOSMP \ #-DEXTRA_DEBUG \ #-DUSE_SHM_MEM
It's bailing out compiling blacklists.c
blacklists.c: In function `rm_dups': blacklists.c:435: error: syntax error before "else" blacklists.c:440: error: syntax error before "else" blacklists.c: At top level: blacklists.c:443: error: syntax error before "else" blacklists.c:445: warning: type defaults to `int' in declaration of `q' blacklists.c:445: error: invalid type argument of `->' blacklists.c:445: warning: data definition has no type or storage class blacklists.c:446: error: syntax error before '}' token make: *** [blacklists.o] Error 1
Did anybody had a problem compiling openser without pkg_malloc support? I would appreciate any help.
TIA Toly.