Error:
.libs/amandad amandad.o ./.libs/libamandad.so
../common-src/.libs/libamanda.so -lm -lreadline -ltermcap -lcam
../common-src/.libs/libamanda.so: undefined reference to `atoll'
*** Error code 1
Stop in /usr/local/src/amanda/amandad-src.
*** Error code 1
Solution:
1.Edit ./common-src/amanda.h file and modify this line:
Old line:
# define OFF_T_ATOI (off_t)atoll
New line:
# define OFF_T_ATOI (off_t)atol
2. run autogen
3. run configure
4. run make
(Not sure if my messages are reaching the list so apologies if you're
received this twice)
I've been attempting to compile amanda 2.5.1 on FreeBSD 4.11 but run
into this
error on the make:
amandad.c:826: warning: zero-length format string
amandad.c:882: warning: zero-length format string
amandad.c: In function `s_processrep':
amandad.c:937: warning: zero-length format string
/bin/sh ../libtool --tag=CC --mode=link gcc -Wall -W -Wparentheses
-Wmissing-prototypes -Wstrict-prototypes -Wmissing-declarations -Wformat
-Wsign-compare -D_GNU_SOURCE -L/usr/lib -o amandad amandad.o
../common-src/libamanda.la libamandad.la ../common-src/libamanda.la -lm
-lreadline -ltermcap -lcam
gcc -Wall -W -Wparentheses -Wmissing-prototypes -Wstrict-prototypes
-Wmissing-declarations -Wformat -Wsign-compare -D_GNU_SOURCE -o
.libs/amandad
amandad.o -L/usr/lib ./.libs/libamandad.so
../common-src/.libs/libamanda.so -lm
-lreadline -ltermcap -lcam -Wl,--rpath -Wl,/usr/local/amanda25/lib
../common-src/.libs/libamanda.so: undefined reference to `atoll'
*** Error code 1
Stop in /usr/local/src/amanda-2.5.1/amandad-src.
*** Error code 1
Stop in /usr/local/src/amanda-2.5.1.
I've found references to this error on mailing lists but so far no
solutions.
Any suggestions?
Oscar