Amanda-Users

Re: compile error on 2.4.3-20030104

2003-01-16 20:51:19
Subject: Re: compile error on 2.4.3-20030104
From: Jean-Louis Martineau <martinea AT iro.umontreal DOT ca>
To: DK Smith <dks AT MediaWeb DOT com>, amanda-users AT amanda DOT org
Date: Thu, 16 Jan 2003 20:16:39 -0500
Hi,

The newer amidxtaped need the server library which is not build if
you set --without-server

The fix is not build amidxtaped and amrestore if --without-server is set.

The next snapshot will be available soon.

Jean-Louis

On Thu, Jan 16, 2003 at 02:22:49PM -0800, DK Smith wrote:
> 
> #######################################3
> 
> Making all in restore-src
> make[1]: Entering directory `/Admin/Build/amanda-2.4.3-20030104/restore-src'
> source='amidxtaped.c' object='amidxtaped.o' libtool=no \
> depfile='.deps/amidxtaped.Po' tmpdepfile='.deps/amidxtaped.TPo' \
> depmode=gcc3 /bin/sh ../config/depcomp \
> gcc -DHAVE_CONFIG_H -I. -I. -I../config -I../common-src -I../tape-src 
> -I../server-src  -D_FILE_OFFSET_BITS=64     -D_FILE_OFFSET_BITS=64 -O2   -c 
> `test -f 'amidxtaped.c' || echo './'`amidxtaped.c
> amidxtaped.c: In function `main':
> amidxtaped.c:478: warning: passing arg 2 of `waitpid' from incompatible 
> pointer type
> make[1]: *** No rule to make target `../server-src/libamserver.la', needed by 
> `amidxtaped'.  Stop.
> make[1]: Leaving directory `/Admin/Build/amanda-2.4.3-20030104/restore-src'
> make: *** [all-recursive] Error 1
> 

> ./configure                                                   \
>       --without-server                                        \
>       --prefix=/usr/local_legless/amanda-2.4.3-20030104 \
>       --with-tmpdir=/tmp/amanda                               \
>       --with-includes=/usr/local/gnu/include                  \
>       --with-libraries=/usr/local/gnu/lib                     \
>       --with-gnutar                   \
>       --with-gnutar-listdir=/var/amanda/gnutar-listdir        \
>       --without-amandahosts                                   \
>       --with-user=amanda                                      \
>       --with-group=disk                                       \
>       --with-debugging                                        \
>       --with-debug-days=4                                     \
> 
> 
> 
> #######################################3

-- 
Jean-Louis Martineau             email: martineau AT IRO.UMontreal DOT CA 
Departement IRO, Universite de Montreal
C.P. 6128, Succ. CENTRE-VILLE    Tel: (514) 343-6111 ext. 3529
Montreal, Canada, H3C 3J7        Fax: (514) 343-5834

<Prev in Thread] Current Thread [Next in Thread>