[Devel] [ openser-Bugs-1476336 ] aug_sysdep.h error
SourceForge.net
noreply at sourceforge.net
Tue Apr 25 21:56:55 CEST 2006
Bugs item #1476336, was opened at 2006-04-25 14:51
Message generated for change (Comment added) made by squinky86
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=743020&aid=1476336&group_id=139143
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Jon Hood (squinky86)
Assigned to: Nobody/Anonymous (nobody)
Summary: aug_sysdep.h error
Initial Comment:
There must be a better way to handle no postgres
support aside from erroring out:
in /modules/postgres/:
#ifndef AUG_CONFIGURATION
error: os/cpu/compiler combination not configured in
$Source:
/cvsroot/openser/sip-server/modules/postgres/aug_sys
dep.h,v $ $Revision: 1.1.1.1.4.1 $
#endif
produces:
gcc -fPIC -DPIC -march=athlon64 -O3 -pipe
-fomit-frame-pointer -ffast-math -g -O9 -funroll-loops
-Wcast-align -Wall -minline-all-stringops
-falign-loops -DNAME='"openser"'
-DVERSION='"1.0.1"' -DARCH='"x86_64"' -DOS='"linux"'
-DCOMPILER='"gcc 3.4.6"' -D__CPU_x86_64 -D__OS_linux
-DCFG_DIR='"/etc/openser/"' -DPKG_MALLOC -DSHM_MEM
-DSHM_MMAP -DDNS_IP_HACK -DUSE_IPV6 -DUSE_MCAST
-DUSE_TCP -DDISABLE_NAGLE -DHAVE_RESOLV_RES -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
-I/usr/local/include -I/usr/local/pgsql/include
-I/usr/include/postgresql -I/usr/include/postgresql/8.0
-c aug_alloc.c -o aug_alloc.o
In file included from aug_std.h:56,
from aug_alloc.c:51:
aug_sysdep.h:316: error: syntax error before ':' token
...
----------------------------------------------------------------------
>Comment By: Jon Hood (squinky86)
Date: 2006-04-25 14:56
Message:
Logged In: YES
user_id=679187
Other issues are spurned from this area:
gcc -fPIC -DPIC -g -O9 -funroll-loops -Wcast-align -Wall
-minline-all-stringops -falign-loops -DNAME='"openser"'
-DVERSION='"1.0.1"' -DARCH='"x86_64"' -DOS='"linux"'
-DCOMPILER='"gcc 3.4.6"' -D__CPU_x86_64 -D__OS_linux
-DCFG_DIR='"/usr/local/etc/openser/"' -DPKG_MALLOC -DSHM_MEM
-DSHM_MMAP -DDNS_IP_HACK -DUSE_IPV6 -DUSE_MCAST -DUSE_TCP
-DDISABLE_NAGLE -DHAVE_RESOLV_RES -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 -I/usr/local/include
-I/usr/local/pgsql/include -I/usr/include/postgresql
-I/usr/include/postgresql/8.0 -c aug_alloc.c -o aug_alloc.o
aug_alloc.c:57: error: syntax error before "MemMagic"
aug_alloc.c:57: warning: type defaults to `int' in
declaration of `MemMagic'
aug_alloc.c:57: warning: data definition has no type or
storage class
aug_alloc.c:79: error: syntax error before "augUInt32"
aug_alloc.c:79: warning: no semicolon at end of struct or union
aug_alloc.c:80: warning: type defaults to `int' in
declaration of `magic'
aug_alloc.c:80: warning: data definition has no type or
storage class
aug_alloc.c:88: error: field `m' has incomplete type
aug_alloc.c:98: error: syntax error before "MemMagic"
aug_alloc.c:98: warning: no semicolon at end of struct or union
aug_alloc.c:100: error: syntax error before '}' token
aug_alloc.c:121: error: syntax error before "mem_magic"
aug_alloc.c:121: warning: type defaults to `int' in
declaration of `mem_magic'
aug_alloc.c:121: warning: data definition has no type or
storage class
make: *** [aug_alloc.o] Error 1
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=743020&aid=1476336&group_id=139143
More information about the Devel
mailing list