-
compiling cloop on fedora core 2
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
Similar Threads
-
By universpace in forum Klik
Replies: 3
Last Post: 03-11-2006, 08:52 AM
-
By shadyaftermath in forum MS Windows & New to Linux
Replies: 1
Last Post: 08-26-2005, 11:12 PM
-
By realpc in forum The Lounge
Replies: 0
Last Post: 07-26-2005, 09:27 PM
-
By ghstridr in forum Customising & Remastering
Replies: 5
Last Post: 05-04-2004, 11:15 AM
-
By pr0gm4 in forum Customising & Remastering
Replies: 0
Last Post: 08-27-2003, 02:31 PM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
Western Digital 1TB WD Blue PC Desktop 3.5'' Internal CMR Hard Drive - WD10EARZ
$44.99
Western Digital 1TB WD Blue SA510 SATA SSD Internal 2.5”/7mm Cased - WDS100T3B0A
$89.99
SanDisk 1TB Extreme Portable SSD, External Solid State Drive - SDSSDE61-1T00-G25
$109.99
WD_BLACK 1TB D30 Game Drive SSD for Xbox Summer Collection - WDBAMF0010BSU-WESN
$109.99
Patriot P210 128GB 256GB 512GB 1TB 2TB 2.5" SATA 3 6GB/s Internal SSD PC/MAC Lot
$19.99
Samsung - Geek Squad Certified Refurbished 980 PRO 1TB Internal SSD PCIe Gen ...
$71.99
2 PACK Seagate ST1000LM035 Mobile HDD 1TB 2.5" SATA III Laptop Hard Drive
$26.85
Kingston NV2 1TB M.2 2280 NVMe PCIe Internal SSD Up to 3500 MB/s SNV2S/1000G
$60.99
1TB/2TB USB 3.0 Flash Drive Thumb U Disk Memory Stick Pen PC Laptop Storage lot
$580.99
Type C USB 3.0 Flash Drive Thumb Drive Memory Stick for PC Laptop 1TB 2TB lot
$703.19