Am 13.11.2014 um 23:26 schrieb Jean-Louis Martineau:
> 
> Did you build in a clean directory?
> 
> make distclean
> ./autogen
> ./configure ...
> make
> 
> If it's a build dependencies, you can try 'make -k; make' or 'make
> clean; make'

I just gave it another try and skipped using the package/ebuild from
gentoo portage. Just untar-ed the amanda tarball into a new dir and ran
above commands.

Maybe it's perl-related ... ->


make[4]: Verzeichnis „/home/sgw/amanda-compile/amanda-3.3.6/perl/amglue“
wird verlassen
Making all in .
make[4]: Verzeichnis „/home/sgw/amanda-compile/amanda-3.3.6/perl“ wird
betreten
/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/lib64/perl5/5.20.1/x86_64-linux/CORE  -I../device-src
-I../server-src -I../client-src -I../recover-src  -fno-strict-aliasing
-D_GNU_SOURCE -pthread -I/usr/include/glib-2.0
-I/usr/lib64/glib-2.0/include   -DSWIG  -g -O2 -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/lib64/perl5/5.20.1/x86_64-linux/CORE -I../device-src
-I../server-src -I../client-src -I../recover-src -fno-strict-aliasing
-D_GNU_SOURCE -pthread -I/usr/include/glib-2.0
-I/usr/lib64/glib-2.0/include -DSWIG -g -O2 -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/lib64/perl5/5.20.1/x86_64-linux/CORE/handy.h:124:34: error: 'bool'
undeclared (first use in this function)
 #define cBOOL(cbool) ((cbool) ? (bool)1 : (bool)0)
                                  ^
/usr/lib64/perl5/5.20.1/x86_64-linux/CORE/perl.h:3149:62: note: in
definition of macro 'EXPECT'
 #  define EXPECT(expr,val)                  __builtin_expect(expr,val)
                                                              ^
/usr/lib64/perl5/5.20.1/x86_64-linux/CORE/perl.h:3153:52: note: in
expansion of macro 'cBOOL'
 #define LIKELY(cond)                        EXPECT(cBOOL(cond),TRUE)
                                                    ^
/usr/lib64/perl5/5.20.1/x86_64-linux/CORE/sv.h:2066:10: note: in
expansion of macro 'LIKELY'
      if (LIKELY((dst) != (src))) {  \
          ^
/usr/lib64/perl5/5.20.1/x86_64-linux/CORE/sv.h:2080: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/lib64/perl5/5.20.1/x86_64-linux/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/lib64/perl5/5.20.1/x86_64-linux/CORE/perl.h:3149:62: note: in
definition of macro 'EXPECT'
 #  define EXPECT(expr,val)                  __builtin_expect(expr,val)
                                                              ^
/usr/lib64/perl5/5.20.1/x86_64-linux/CORE/perl.h:3153:52: note: in
expansion of macro 'cBOOL'
 #define LIKELY(cond)                        EXPECT(cBOOL(cond),TRUE)
                                                    ^
/usr/lib64/perl5/5.20.1/x86_64-linux/CORE/sv.h:2066:10: note: in
expansion of macro 'LIKELY'
      if (LIKELY((dst) != (src))) {  \

Reply via email to