Hi, Trying to compile amanda-3.3.5 client on a Debian8.0/Jessie but I get this compile error. This is on a newly installed system, so I guess I'm missing some packages...
Configured with export CFLAGS='-m64' ./configure \ --prefix=/opt/amanda-3.3.5 \ --without-server \ --mandir=/opt/man \ --with-tmpdir=/var/tmp/amanda \ --with-amperldir=/opt/amanda-3.3.5/perl \ --with-config=charm \ --with-user=amanda \ --with-group=disk \ --with-bsdtcp-security \ --with-amandahosts \ --with-tape-device=tape:/dev/nst0 \ --with-tape-server=edgar \ --with-index-server=edgar Make borks with: make[4]: Entering directory '/raid/bicadmin1/amanda-bic/Amanda-src/amanda-3.3.5/perl' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../config -I../common-src -I../common-src -I../amandad-src -I../amar-src -I../xfer-src -I../perl/amglue -I../gnulib -I../ndmp-src -I/usr/lib/x86_64-linux-gnu/perl/5.20/CORE -I../client-src -I../recover-src -fno-strict-aliasing -D_GNU_SOURCE -pthread -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -DSWIG -m64 -fno-strict-aliasing -MT Application.lo -MD -MP -MF .deps/Application.Tpo -c -o Application.lo `test -f 'Amanda/Application.c' || echo './'`Amanda/Application.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../config -I../common-src -I../common-src -I../amandad-src -I../amar-src -I../xfer-src -I../perl/amglue -I../gnulib -I../ndmp-src -I/usr/lib/x86_64-linux-gnu/perl/5.20/CORE -I../client-src -I../recover-src -fno-strict-aliasing -D_GNU_SOURCE -pthread -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -DSWIG -m64 -fno-strict-aliasing -MT Application.lo -MD -MP -MF .deps/Application.Tpo -c Amanda/Application.c -fPIC -DPIC -o .libs/Application.o In file included from Amanda/Application.c:734:0: Amanda/Application.c: In function ‘SWIG_AsCharPtrAndSize’: /usr/lib/x86_64-linux-gnu/perl/5.20/CORE/handy.h:124:34: error: ‘bool’ undeclared (first use in this function) #define cBOOL(cbool) ((cbool) ? (bool)1 : (bool)0) ^ /usr/lib/x86_64-linux-gnu/perl/5.20/CORE/perl.h:3160:62: note: in definition of macro ‘EXPECT’ # define EXPECT(expr,val) __builtin_expect(expr,val) ^ /usr/lib/x86_64-linux-gnu/perl/5.20/CORE/perl.h:3164:52: note: in expansion of macro ‘cBOOL’ #define LIKELY(cond) EXPECT(cBOOL(cond),TRUE) ^ /usr/lib/x86_64-linux-gnu/perl/5.20/CORE/sv.h:2071:10: note: in expansion of macro ‘LIKELY’ if (LIKELY((dst) != (src))) { \ ^ /usr/lib/x86_64-linux-gnu/perl/5.20/CORE/sv.h:2085:3: note: in expansion of macro ‘SvSetSV_and’ SvSetSV_and(dst,src,/*nothing*/;) ^ Amanda/Application.c:1580:6: note: in expansion of macro ‘SvSetSV’ SvSetSV(tmp, obj); ^ /usr/lib/x86_64-linux-gnu/perl/5.20/CORE/handy.h:124:34: note: each undeclared identifier is reported only once for each function it appears in #define cBOOL(cbool) ((cbool) ? (bool)1 : (bool)0) ^ /usr/lib/x86_64-linux-gnu/perl/5.20/CORE/perl.h:3160:62: note: in definition of macro ‘EXPECT’ # define EXPECT(expr,val) __builtin_expect(expr,val) ^ /usr/lib/x86_64-linux-gnu/perl/5.20/CORE/perl.h:3164:52: note: in expansion of macro ‘cBOOL’ #define LIKELY(cond) EXPECT(cBOOL(cond),TRUE) ^ /usr/lib/x86_64-linux-gnu/perl/5.20/CORE/sv.h:2071:10: note: in expansion of macro ‘LIKELY’ if (LIKELY((dst) != (src))) { \ ^ /usr/lib/x86_64-linux-gnu/perl/5.20/CORE/sv.h:2085:3: note: in expansion of macro ‘SvSetSV_and’ SvSetSV_and(dst,src,/*nothing*/;) ^ Amanda/Application.c:1580:6: note: in expansion of macro ‘SvSetSV’ SvSetSV(tmp, obj); ^ /usr/lib/x86_64-linux-gnu/perl/5.20/CORE/handy.h:124:39: error: expected ‘:’ before numeric constant #define cBOOL(cbool) ((cbool) ? (bool)1 : (bool)0) ^ /usr/lib/x86_64-linux-gnu/perl/5.20/CORE/perl.h:3160:62: note: in definition of macro ‘EXPECT’ # define EXPECT(expr,val) __builtin_expect(expr,val) ^ /usr/lib/x86_64-linux-gnu/perl/5.20/CORE/perl.h:3164:52: note: in expansion of macro ‘cBOOL’ #define LIKELY(cond) EXPECT(cBOOL(cond),TRUE) ^ /usr/lib/x86_64-linux-gnu/perl/5.20/CORE/sv.h:2071:10: note: in expansion of macro ‘LIKELY’ if (LIKELY((dst) != (src))) { \ ^ /usr/lib/x86_64-linux-gnu/perl/5.20/CORE/sv.h:2085:3: note: in expansion of macro ‘SvSetSV_and’ SvSetSV_and(dst,src,/*nothing*/;) ^ Amanda/Application.c:1580:6: note: in expansion of macro ‘SvSetSV’ SvSetSV(tmp, obj); ^ Makefile:2764: recipe for target 'Application.lo' failed make[4]: *** [Application.lo] Error 1 make[4]: Leaving directory '/raid/bicadmin1/amanda-bic/Amanda-src/amanda-3.3.5/perl' Makefile:3154: recipe for target 'all-recursive' failed make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory '/raid/bicadmin1/amanda-bic/Amanda-src/amanda-3.3.5/perl' Makefile:2069: recipe for target 'all' failed make[2]: *** [all] Error 2 make[2]: Leaving directory '/raid/bicadmin1/amanda-bic/Amanda-src/amanda-3.3.5/perl' Makefile:1575: recipe for target 'all-recursive' failed make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory '/raid/bicadmin1/amanda-bic/Amanda-src/amanda-3.3.5' Makefile:1498: recipe for target 'all' failed make: *** [all] Error 2 thanks, jf