Andrei: These are the errors I got using gmake on Mac OS X, I think
they are the same I got using make:
[iMac-Lagalaye-Falcionelli:voip/ser/ser-0.8.14] nico# gmake
gcc -DNAME='""' -DVERSION='"0.8.14"'
-DARCH='"ppc"'
-DOS='"darwin"' -DCOMPILER='"gcc 3.1"' -D__CPU_ppc
-D__OS_darwin
-DCFG_DIR='"/usr/local/etc/ser/"' -DPKG_MALLOC -DSHM_MEM -DSHM_MMAP
-DDNS_IP_HACK -DUSE_IPV6 -DUSE_TCP -DDISABLE_NAGLE -DF_MALLOC
-DFAST_LOCK -DADAPTIVE_WAIT -DADAPTIVE_WAIT_LOOPS=1024
-DHAVE_SOCKADDR_SA_LEN -DHAVE_GETHOSTBYNAME2 -DHAVE_UNION_SEMUN
-DHAVE_SCHED_YIELD -DHAVE_MSGHDR_MSG_CONTROL -DUSE_ANON_MMAP -DNDEBUG
-c action.c -o action.o
parser/../ip_addr.h:208: illegal function call, found `,sa'
parser/../ip_addr.h:208: illegal expression, found `else'
parser/../ip_addr.h:208: illegal function call, found `,sa'
...
forward.h:92: only 2 args to macro 'LOG' (3 expected)
forward.h:97: only 2 args to macro 'LOG' (3 expected)
forward.h:105: only 2 args to macro 'LOG' (3 expected)
forward.h:111: only 2 args to macro 'LOG' (3 expected)
...
ut.h:131: only 2 args to macro 'LOG' (3 expected)
ut.h:131: undefined type, found `LOG'
ut.h:131: syntax error, missing `;' after `init'
ut.h:135: illegal function call, found `,*'
...
mem/mem.h:80: undefined or invalid # directive
action.c:135: only 2 args to macro 'LOG' (3 expected)
action.c:148: illegal function call, found `,a'
action.c:148: illegal expression, found `else'
action.c:148: illegal function call, found `,a'
action.c:148: illegal function call, found `,a'
action.c:148: illegal function call, found `,a'
action.c:148: illegal function call, found `,a'
...
cpp-precomp: warning: errors during smart preprocessing, retrying in
basic mode
gmake: *** [action.o] Error 1
"..." means a huge succession of lines with very similar errors
Many Thanks,
Nicolás
P.S.: Just a for my curiosity... are you rumanian?
Quoting Andrei Pelinescu-Onciul
<pelinescu-onciul(a)fokus.fraunhofer.de>de>:
On Nov 28, 2004 at 22:26, Nicol?s Lagalaye
Falcionelli
<berenerchamion(a)bluebottle.com> wrote:
How can I compile SER on Mac OS X? With the
package I got
instructions
came in order to start SER at startup, but I found nothing about
building. I tried typing "make" but I got a very long list of
all
kinds o errors.
Use gmake instead of make.
If you get errors, paste the first ones in an email.
Compile instructions are in INSTALL.
Andrei