Am 15.11.2014 um 16:17 schrieb Jean-Louis Martineau:
> What is your source file?
> 
> Which tarball are you using?

amanda-3.3.6.tar.gz

> If you have swig 3.02 or newer, do:
>   touch perl/*/*.swig perl/*/*/*.swg
>   make

I have swig 3.0.2

Did that:

$ touch perl/*/*.swig perl/*/*/*.swg
touch: „perl/*/*.swig“ kann nicht berührt werden: Datei oder Verzeichnis
nicht gefunden


The result looks the same to me:


make[2]: 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)




Thanks, Stefan

Reply via email to