Coda File System

compiling coda on SuSE 8.1 (db_open problem ?)

From: Torsten Rosenberger <rosenberger_at_taoweb.at>
Date: 28 Nov 2002 11:10:03 +0100
Hello 

	it's not possible for me to install coda unter SuSE 8.1
gcc version 3.2
glibc-2.2.5-164

I use  coda-5.3.19 lwp-1.9 rpc2-1.13 rvm-1.6

the installation of lwp rvm rpc2 was no problem 

But the coda config.log says 


configure:2513: checking for rl_completion_matches in -lreadline
configure:2559: checking for db1/db.h
configure:2559: checking for db_185.h
configure:2598: checking for library containing dbopen
configure:2656: checking if -ldb1 is libdb 1.85
configure:2665: gcc -o conftest -g -O2   conftest.c -ldb1  1>&5
/tmp/cc2NcDma.o: In function `main':
/home/torsten/SuSERPM/coda/coda-5.3.19/configure:2661: undefined
reference to `db_open'
collect2: ld returned 1 exit status
configure: failed program was:
#line 2658 "configure"
#include "confdefs.h"
char db_open();
int main() {
db_open()
; return 0; }

configure command ./configure --bindir=/usr/bin --sbindir=/usr/sbin
--libdir=/usr/lib --mandir=/usr/share/man --sysconfdir=/etc/coda
--includedir=/usr/include


make stops with 
fso1.cc: In member function `fsobj* fso_iterator::operator()()':
fso1.cc:2614: warning: invalid offsetof from non-POD type `class fsobj';
use
   pointer to member instead
fso1.cc: In member function `fsobj* fso_vol_iterator::operator()()':
fso1.cc:2631: warning: invalid offsetof from non-POD type `class fsobj';
use
   pointer to member instead
c++ -fno-exceptions -fno-operator-names -MD -DHAVE_CONFIG_H -I.
-I/home/torsten/SuSERPM/coda/coda-5.3.19/include
-I/home/torsten/SuSERPM/coda/coda-5.3.19 -g -O2 -DVENUS -DTIMING
-DVENUSDEBUG -DRVM_USELWP   -c -o fso_cachefile.o fso_cachefile.cc
fso_cachefile.cc:136: default argument given for parameter 1 of `void
   CacheFile::Create(int = 0)'
fso.h:292: after previous specification in `void CacheFile::Create(int =
0)'
fso_cachefile.cc:187: default argument given for parameter 3 of `int
   CacheFile::Copy(char*, ino_t*, int = 0)'
fso.h:299: after previous specification in `int CacheFile::Copy(char*,
ino_t* =
   0, int = 0)'
make[2]: *** [fso_cachefile.o] Fehler 1
make[2]: Verlassen des Verzeichnisses
make[1]: *** [venus] Fehler 2
make[1]: Verlassen des Verzeichnisses
make: *** [coda-src] Fehler 2

Is it possible to run coda on these system ?

BR/Torsten Rosenberger
Received on 2002-11-28 05:17:59
Binary file ./codalist-2002/4658.html matches