Amanda-Users

Re: Help compile tapetype.c

2002-09-20 08:30:40
Subject: Re: Help compile tapetype.c
From: Gene Heskett <gene_heskett AT iolinc DOT net>
To: "Neil" <neil-on-amanda AT restricted.dyndns DOT org>
Date: Fri, 20 Sep 2002 08:20:39 -0400
On Friday 20 September 2002 01:22, Neil wrote:
>I have downloaded from sourceforge.

Which could explain things if the cvs repository is in mid-patch or 
something.

Get the latest amanda-2.4.3b4-20020919.tar.gz from 
<http://www.iro.umontreal.ca/~martinea/amanda>
If that won't build, then you are missing other things on your 
system, I've already built and installed it this morning.
I got this when I 'make tapetype':
[root@coyote tape-src]# make tapetype
source='tapetype.c' object='tapetype.o' libtool=no \
depfile='.deps/tapetype.Po' tmpdepfile='.deps/tapetype.TPo' \
depmode=gcc3 /bin/sh ../config/depcomp \
gcc -DHAVE_CONFIG_H -I. -I. -I../config -I../common-src  
-D_FILE_OFFSET_BITS=64     -D_FILE_OFFSET_BITS=64 -g -O2   -c `test 
-f tapetype.c || echo './'`tapetype.c
/bin/sh ../libtool --mode=link gcc  -D_FILE_OFFSET_BITS=64 -g -O2     
-o tapetype  tapetype.o ../common-src/libamanda.la libamtape.la 
../common-src/libamanda.la -lm -lreadline -ltermcap -lnsl
gcc -D_FILE_OFFSET_BITS=64 -g -O2 -o tapetype tapetype.o  
./.libs/libamtape.a ../common-src/.libs/libamanda.a -lm -lreadline 
-ltermcap -lnsl
[root@coyote tape-src]$
------------
Note that my actual command line to the compiler used gcc, not cc, 
so I still suspect that you don't have ALL the development stuff 
installed.

> I tried make tapetype in
> tape-src direcoty. This is what I got.

[snip]

-- 
Cheers, Gene
AMD K6-III@500mhz 320M
Athlon1600XP@1400mhz  512M
99.15% setiathome rank, not too shabby for a WV hillbilly