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
SanDisk 32GB Ultra Drive Dual Go USB Type-C Flash Drive, Green - SDDDC3-032G-G46
$8.99
SanDisk 128GB Ultra Dual Drive USB Type-C, USB 3.1 Flash Drive - SDDDC2-032G-G46
$10.99
SanDisk 256GB Ultra Dual Drive Go USB Type-C Flash Drive, Black- SDDDC3-256G-G46
$21.99
SanDisk 256GB Ultra USB 3.0 Flash Drive - SDCZ48-256G-U46
$19.99
SanDisk 32GB USB 2.0 Flash Drive 32 GB Thumb Drive Memory stick
$0.99
64GB USB 3.0 Flash Drive USB Memory Stick High Speed Retractable USB Thumb Drive
$5.99
Type C USB 3.0 Flash Drive Thumb Drive Memory Stick for PC Laptop 512GB 1TB 2TB
$10.30
2TB USB 3.0 Flash Drive Memory Photo Stick for iPhone Android iPad Type C 3 IN1
$13.00
LOT 32GB 64GB 128GB USB 3.0 Flash Drive Memory Stick Retractable Thumb Drive
$420.99
USB Flash Drive Memory Stick Pendrive Thumb Drive 4GB, 8GB, 32GB, 64GB 128GB LOT
$259.34