Re: Compile problems

Simeon Miteff <[email protected]> Fri, 13 Aug 2004 13:47:40 +0200
Newsgroups gmane.comp.file-systems.sfs.general
Message-ID <[email protected]>
I had the same problem - fixed in the latest CVS version of sfs.

Alek Andreev wrote:
> Hello! I tried to install SFS in Gentoo, and I got the following error:
> 
> /bin/sh ../libtool --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. 
> -I../a sync -I../arpc -I../crypt -I../sfsmisc -I../sfsrodb -I../adb 
> -I../svc -I../svc - DEXECDIR=\"//lib/sfs-0.7.2\" -DETCDIR=\"/etc/sfs\" 
> -DDATADIR=\"/usr/share/sfs\" -DPIDDIR=\"/var/run\" -DSFSDIR=\"/var/sfs\" 
>  -march=pentium3 -O3 -mcpu=i686 -pip e -msse2 -fomit-frame-pointer 
> -funroll-loops -Wall   -c sfsclient.C
> g++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../async -I../arpc -I../crypt 
> -I../sfsmi sc -I../sfsrodb -I../adb -I../svc -I../svc 
> -DEXECDIR=\"//lib/sfs-0.7.2\" -DETCDI R=\"/etc/sfs\" 
> -DDATADIR=\"/usr/share/sfs\" -DPIDDIR=\"/var/run\" -DSFSDIR=\"/va 
> r/sfs\" -march=pentium3 -O3 -mcpu=i686 -pipe -msse2 -fomit-frame-pointer 
> -funrol l-loops -Wall -c sfsclient.C -o sfsclient.o
> In file included from sfsclient.h:33,
>                  from sfsclient.C:24:
> sfscrypt.h: In constructor `sfspub::sfspub(sfs_keytype, unsigned char, 
> const
>    str&)':
> sfscrypt.h:53: error: uninitialized member 'sfspub::eksb_id' with 
> 'const' type
>    'const int'
> make[2]: *** [sfsclient.lo] Error 1
> make[2]: Leaving directory 
> `/var/tmp/portage/sfs-0.7.2/work/sfs-0.7.2/sfsmisc'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/var/tmp/portage/sfs-0.7.2/work/sfs-0.7.2'
> make: *** [all-recursive-am] Error 2
> 
> !!! ERROR: net-fs/sfs-0.7.2 failed.
> !!! Function src_compile, Line 53, Exitcode 2
> !!! (no error message)
> 
> I am using Linux 2.6.7-gentoo-r11. Any other information that would help 
> you diagnose the problem?

-- 
Mr Simeon Miteff
Department of Electrical, Electronic and Computer Engineering
University of Pretoria
Pretoria
0002
South Africa
Tel: +27 12 420 2434
-----------------------------------------------
This message and attachments are subject to a disclaimer. Please refer
to www.it.up.ac.za/documentation/governance/disclaimer/ for details.
smime.p7s (application/x-pkcs7-signature, 3.1 KB) - not displayed