Re: [Lessfs-users] Compilation failed on CentOS 5.5
Brought to you by:
mruijter
From: David T. <da...@to...> - 2011-02-07 16:42:49
|
Le lundi 07 février 2011 à 13:08 +0100, David Touzeau a écrit : > Dear i think i have a libmash issue > > i try to compile lessfs-1.3.3 > > i receive this compilation error : > > make[1]: Entering directory `/root/APP_LESSFS-2011-02-07-13' > if gcc -DHAVE_CONFIG_H -I. -I. -I. -D_REENTRANT -D__USE_LARGEFILE64 > -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Di686 -D SYSLOG > -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -I/usr/kerberos/include -g > -Wall -Wextra -O2 -MT lessfs-lib_hamster.o -MD -MP -MF > ".deps/lessfs-lib_hamster.Tpo" -c -o lessfs-lib_hamster.o `test -f > 'lib_hamster.c' || echo './'`lib_hamster.c; \ > then mv -f ".deps/lessfs-lib_hamster.Tpo" > ".deps/lessfs-lib_hamster.Po"; else rm -f > ".deps/lessfs-lib_hamster.Tpo"; exit 1; fi > if gcc -DHAVE_CONFIG_H -I. -I. -I. -D_REENTRANT -D__USE_LARGEFILE64 > -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Di686 -D SYSLOG > -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -I/usr/kerberos/include -g > -Wall -Wextra -O2 -MT lessfs-lib_common.o -MD -MP -MF > ".deps/lessfs-lib_common.Tpo" -c -o lessfs-lib_common.o `test -f > 'lib_common.c' || echo './'`lib_common.c; \ > then mv -f ".deps/lessfs-lib_common.Tpo" ".deps/lessfs-lib_common.Po"; > else rm -f ".deps/lessfs-lib_common.Tpo"; exit 1; fi > lib_common.c: In function ‘check_datafile_sanity’: > lib_common.c:142: warning: comparison between signed and unsigned > lib_common.c: In function ‘logiv’: > lib_common.c:231: warning: unused parameter ‘msg’ > lib_common.c:231: warning: unused parameter ‘bhash’ > lib_common.c: In function ‘loghash’: > lib_common.c:257: warning: unused parameter ‘msg’ > lib_common.c:257: warning: unused parameter ‘bhash’ > lib_common.c: In function ‘readBlock’: > lib_common.c:1288: warning: comparison between signed and unsigned > lib_common.c:1296: warning: cast from pointer to integer of different > size > lib_common.c:1312: warning: cast to pointer from integer of different > size > lib_common.c:1242: warning: unused parameter ‘filename’ > lib_common.c: In function ‘update_filesize’: > lib_common.c:1513: warning: comparison between signed and unsigned > lib_common.c:1517: warning: comparison between signed and unsigned > lib_common.c:1527: warning: comparison between signed and unsigned > lib_common.c:1531: warning: comparison between signed and unsigned > lib_common.c: In function ‘db_unlink_file’: > lib_common.c:1624: warning: comparison between signed and unsigned > lib_common.c: In function ‘tc_compress’: > lib_common.c:1753: warning: comparison between signed and unsigned > lib_common.c:1759: warning: comparison between signed and unsigned > lib_common.c:1765: warning: comparison between signed and unsigned > lib_common.c: In function ‘partial_truncate_block’: > lib_common.c:1857: warning: unused variable ‘encrypted’ > lib_common.c: In function ‘flush_wait’: > lib_common.c:2138: warning: cast to pointer from integer of different > size > lib_common.c: In function ‘cook_cache’: > lib_common.c:2156: warning: unused parameter ‘ksize’ > lib_common.c: In function ‘purge_read_cache’: > lib_common.c:2206: warning: cast to pointer from integer of different > size > lib_common.c:2187: warning: unused parameter ‘caller’ > lib_common.c: In function ‘db_fs_truncate’: > lib_common.c:2324: warning: unused parameter ‘bname’ > lib_common.c: In function ‘fil_fuse_info’: > lib_common.c:2435: warning: unused parameter ‘fi’ > lib_common.c: In function ‘locks_to_dir’: > lib_common.c:2451: warning: unused parameter ‘fi’ > lib_common.c: In function ‘parseconfig’: > lib_common.c:2919: error: ‘MHASH_TIGER192’ undeclared (first use in this > function) > lib_common.c:2919: error: (Each undeclared identifier is reported only > once > lib_common.c:2919: error: for each function it appears in.) > lib_common.c:2967: error: ‘MHASH_WHIRLPOOL’ undeclared (first use in > this function) > lib_common.c:2975: error: ‘MHASH_SNEFRU256’ undeclared (first use in > this function) > make[1]: *** [lessfs-lib_common.o] Error 1 > make[1]: Leaving directory `/root/APP_LESSFS-2011-02-07-13' > make: *** [all] Error > > > How can i fix it ? > > Best regards > > > ------------------------------------------------------------------------------ > The modern datacenter depends on network connectivity to access resources > and provide services. The best practices for maximizing a physical server's > connectivity to a physical network are well understood - see how these > rules translate into the virtual world? > http://p.sf.net/sfu/oracle-sfdevnlfb > _______________________________________________ > Lessfs-users mailing list > Les...@li... > https://lists.sourceforge.net/lists/listinfo/lessfs-users I have tried with 2.0 Alpha, but same issue make all-am make[1]: Entering directory `/root/lessfs-2.0.0-palpha2' gcc -DHAVE_CONFIG_H -I. -D_REENTRANT -D__USE_LARGEFILE64 -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Di686 -D SYSLOG -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -I/usr/kerberos/include -g -O2 -MT lessfs-lib_commercial.o -MD -MP -MF .deps/lessfs-lib_commercial.Tpo -c -o lessfs-lib_commercial.o `test -f 'lib_commercial.c' || echo './'`lib_commercial.c mv -f .deps/lessfs-lib_commercial.Tpo .deps/lessfs-lib_commercial.Po gcc -DHAVE_CONFIG_H -I. -D_REENTRANT -D__USE_LARGEFILE64 -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Di686 -D SYSLOG -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -I/usr/kerberos/include -g -O2 -MT lessfs-lib_common.o -MD -MP -MF .deps/lessfs-lib_common.Tpo -c -o lessfs-lib_common.o `test -f 'lib_common.c' || echo './'`lib_common.c lib_common.c: In function ‘parseconfig’: lib_common.c:2492: error: ‘MHASH_TIGER192’ undeclared (first use in this function) lib_common.c:2492: error: (Each undeclared identifier is reported only once lib_common.c:2492: error: for each function it appears in.) lib_common.c:2540: error: ‘MHASH_WHIRLPOOL’ undeclared (first use in this function) lib_common.c:2548: error: ‘MHASH_SNEFRU256’ undeclared (first use in this function) make[1]: *** [lessfs-lib_common.o] Error 1 make[1]: Leaving directory `/root/lessfs-2.0.0-palpha2' make: *** [all] Error 2 |