what do you want to do with this cloop?
use kernel module od jsut extract_compressed_fs binaries?
I am using fedora core 2 and I have tried to compile cloop version 2.01-5. However the default tarball gives me the following errors:
[root@skibum cloop-2.01]# make
( make -C advancecomp-1.9_create_compressed_fs advfs )
make[1]: Entering directory `/home/savarese/cloop-2.01/advancecomp-1.9_create_co
mpressed_fs'
g++ -DHAVE_CONFIG_H -I. -I. -I. -g -O3 -DUSE_ERROR_SILENT -DUSE_COMPRESS -c
-o advfs.o `test -f 'advfs.cc' || echo './'`advfs.cc
In file included from advfs.cc:24:
/usr/include/asm/byteorder.h:6:2: warning: #warning using private kernel header;
include <endian.h> instead!
In file included from advfs.cc:33:
/usr/include/netinet/in.h:262: error: syntax error before `)' token
/usr/include/netinet/in.h:262: error: syntax error before `?' token
/usr/include/netinet/in.h:262: error: syntax error before `)' token
/usr/include/netinet/in.h:263: error: syntax error before `)' token
/usr/include/netinet/in.h:263: error: syntax error before `?' token
/usr/include/netinet/in.h:263: error: syntax error before `)' token
/usr/include/netinet/in.h:265: error: syntax error before `)' token
/usr/include/netinet/in.h:265: error: syntax error before `?' token
/usr/include/netinet/in.h:265: error: syntax error before `)' token
/usr/include/netinet/in.h:267: error: syntax error before `)' token
/usr/include/netinet/in.h:267: error: syntax error before `?' token
/usr/include/netinet/in.h:267: error: syntax error before `)' token
In file included from advfs.cc:33:
/usr/include/netinet/in.h:387: error: syntax error before `}' token
make[1]: *** [advfs.o] Error 1
make[1]: Leaving directory `/home/savarese/cloop-2.01/advancecomp-1.9_create_com
pressed_fs'
make: *** [advancecomp-1.9_create_compressed_fs/advfs] Error 2
When I remove the byteorder include from advfs.cc and replace it with endian.h, I get this error:
[root@skibum cloop-2.01]# make
( make -C advancecomp-1.9_create_compressed_fs advfs )
make[1]: Entering directory `/home/savarese/cloop-2.01/advancecomp-1.9_create_compressed_fs'
g++ -DHAVE_CONFIG_H -I. -I. -I. -g -O3 -DUSE_ERROR_SILENT -DUSE_COMPRESS -c -o advfs.o `test -f 'advfs.cc' || echo './'`advfs.cc
advfs.cc: In function `int main(int, char**)':
advfs.cc:245: error: `__cpu_to_be64' undeclared (first use this function)
advfs.cc:245: error: (Each undeclared identifier is reported only once for each
function it appears in.)
make[1]: *** [advfs.o] Error 1
make[1]: Leaving directory `/home/savarese/cloop-2.01/advancecomp-1.9_create_compressed_fs'
make: *** [advancecomp-1.9_create_compressed_fs/advfs] Error 2
My kernel version is 2.6.8-1.521smp. Does anybody knows why this happens?
Thanks,
Scott
what do you want to do with this cloop?
use kernel module od jsut extract_compressed_fs binaries?
I had the same problem..
If you move the line
#include <netinet/in.h>
above the original
#include <asm/byteorder.h>
the code should compile.. It did the trick here... and I'm running FC2 with 2.4.22 kernel..
Originally Posted by scottsavarese
Supermicro 4U 36 Bay Storage Server 2.2Ghz 16-C 128GB 1x1280W Rails TrueNAS ZFS
$725.06
H261-Z61 2U 24SFF AMD Server 8x EPYC 7551 256-Cores 256GB RAM 8x25G NIC 2x2200W
$2612.18
HP ProLiant DL360 G9 Server | 2 x E5-2660V3 2.6Ghz | 64GB | 2 x 900GB SAS HDD
$339.00
CSE-118 Supermicro 1U GPU Server 2.6Ghz 28-C 128GB 2x Nvidia K40 GPU 2x1600W PSU
$580.03
DELL PowerEdge R730 Server 2x E5-2690v3 2.6GHz =24 Cores 32GB H730 4xRJ45
$274.00
Dell PowerEdge R730XD 28 Core Server 2X Xeon E5-2680 V4 H730 128GB RAM No HDD
$389.99
HP Proliant DL360 Gen9 28 Core SFF Server 2X E5-2680 V4 16GB RAM P440ar No HDD
$196.95
Dell PowerEdge R720XD Xeon E5-2680 V2 2.8GHz 20 Cores 256GB RAM 12x4TB
$510.00
HP ProLiant DL380 Gen9 16SFF 2x E5-2680v4 2.4GHz =28 Cores 64GB P840 4xRJ45
$353.00
Dell Poweredge R730xd 2.5in 2x E5-2690 v3 2.6ghz 24-Cores 64gb H730 2x 750w
$189.99