Thorsten,
Could you try the attached patch?
If it doesn't work, could you send me the config/config.h file?
Jean-Louis
Thorsten Bremer wrote:
Hi,
I'm using the pre-build package of Amanda from Debian 3.1 until now.
But I want to try to improve my DLT-Streamer by feeding him with a
bigger block-size. For this, I tried to compile Amanda direct from
source with "--with-maxtapeblocksize 64".
I tried this with Amanda 2.5.1p2 and will only get this error after
configure and make:
creating sendbackup
if gcc -DHAVE_CONFIG_H -I. -I. -I../config -I../common-src -I../common-src
-I../amandad-src -Wall -W -Wparentheses -Wmissing-prototypes -Wstrict-prototypes
-Wmissing-declarations -Wformat -Wsign-compare -Wfloat-equal -D_FILE_OFFSET_BITS=64
-D_GNU_SOURCE -MT sendsize.o -MD -MP -MF ".deps/sendsize.Tpo" -c -o
sendsize.o sendsize.c; \
then mv -f ".deps/sendsize.Tpo" ".deps/sendsize.Po"; else rm -f
".deps/sendsize.Tpo"; exit 1; fi
sendsize.c: In Funktion »getsize_dump«:
sendsize.c:1285: error: `is_rundump' undeclared (first use in this function)
sendsize.c:1285: error: (Each undeclared identifier is reported only once
sendsize.c:1285: error: for each function it appears in.)
make[1]: *** [sendsize.o] Fehler 1
make[1]: Leaving directory `/root/src/amanda-2.5.1p2/client-src'
make: *** [all-recursive] Fehler 1
What did I made wrong?
Thanks, Thoddi
diff -u -r --show-c-function --new-file
--exclude-from=/home/martinea/src.orig/amanda.diff
--ignore-matching-lines='$Id:' amanda-2.5.1p2.new/client-src/sendsize.c
amanda-2.5.1p2.new.DUMP/client-src/sendsize.c
--- amanda-2.5.1p2.new/client-src/sendsize.c 2006-11-24 13:10:38.000000000
-0500
+++ amanda-2.5.1p2.new.DUMP/client-src/sendsize.c 2006-12-18
07:21:25.000000000 -0500
@@ -1059,7 +1059,7 @@ getsize_dump(
char *qdisk = quote_string(disk);
char *qdevice;
char *config;
-#ifdef DUMP
+#if defined(DUMP) || defined(VDUMP) || defined(VXDUMP) || defined(XFSDUMP)
int is_rundump = 1;
#endif
|