Amanda-Users

compiling 2.4.4 on Mac OS X

2003-03-10 14:43:28
Subject: compiling 2.4.4 on Mac OS X
From: Steven Karel <karelsf AT brandeis DOT edu>
To: amanda-users AT amanda DOT org
Date: Mon, 10 Mar 2003 13:06:08 -0500 (EST)
amanda 2.4.3 compiles fine for me on Mac OS X (10.2.4), while 2.4.4 does 
not. Not urgent, but thought I should report it somewhere. Details:

Configured with

 ./configure --with-user=amanda --with-group=wheel 
--prefix=/usr/local --without-server --with-config='backupset' 
--with-gnutar=/usr/local/hfstar/bin/tar

Make fails almost immediately with:

[raven:~/amanda-2.4.4] amanda% make Making all in configmake  all-am
make[2]: Nothing to be done for `all-am'.
Making all in common-src
source='alloc.c' object='alloc.lo' libtool=yes \
depfile='.deps/alloc.Plo' tmpdepfile='.deps/alloc.TPlo' \
depmode=gcc /bin/sh ../config/depcomp \
/bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../config 
-I./../regex-src    -g -O2   -c -o alloc.lo `test -f 'alloc.c' || echo 
'./'`alloc.c
mkdir .libs
gcc -DHAVE_CONFIG_H -I. -I. -I../config -I./../regex-src -g -O2 -c alloc.c 
-Wp,-MD,.deps/alloc.TPlo  -fno-common -DPIC -o .libs/alloc.lo
In file included from alloc.c:33:
amanda.h:905: conflicting types for `initgroups'
/usr/include/unistd.h:175: previous declaration of `initgroups'
make[1]: *** [alloc.lo] Error 1
make: *** [all-recursive] Error 1


<Prev in Thread] Current Thread [Next in Thread>