Results 1 to 2 of 2

Thread: problem installing cloop

  1. #1
    Junior Member
    Join Date
    Jan 2007
    Posts
    1

    problem installing cloop

    Hi there,

    I'm a Linux beginner, so forgive me if the solution to my problem is totaly trivial...

    Just starting to learn how to remaster a Knoppix CD, i began with the installation of cloop - and after downloading the newest cloop release from http://debian-knoppix.alioth.debian.org/sources/, here's the first problem:


    Code:
    root@ubuntu-client:/home/dkirsa/cloop-2.04# make KERNEL_DIR=/usr/src/linux-headers-2.6.17-10-generic
    ( make -C advancecomp-1.9_create_compressed_fs advfs )
    make[1]: Betrete Verzeichnis '/home/dkirsa/cloop-2.04/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:25:18: error: zlib.h: No such file or directory
    advfs.cc:32:1: warning: "__OPTIMIZE__" redefined
    <built-in>: warning: this is the location of the previous definition
    utility.h: In function ‘crc_t crc_compute(const char*, unsigned int)’:
    utility.h:100: error: ‘crc32’ was not declared in this scope
    utility.h: In function ‘crc_t crc_compute(crc_t, const char*, unsigned int)’:
    utility.h:104: error: ‘crc32’ was not declared in this scope
    lib/fz.h: At global scope:
    lib/fz.h:73: error: ‘z_stream’ does not name a type
    advfs.cc: In function ‘cb_list* create_compressed_blocks(int, long unsigned int, long unsigned int*, int)’:
    advfs.cc:84: error: ‘uLong’ was not declared in this scope
    advfs.cc:84: error: expected `;' before ‘len’
    advfs.cc:87: error: ‘len’ was not declared in this scope
    advfs.cc:106: error: ‘Bytef’ was not declared in this scope
    advfs.cc:106: error: expected primary-expression before ‘)’ token
    advfs.cc:106: error: ‘uLongf’ was not declared in this scope
    advfs.cc:106: error: expected primary-expression before ‘)’ token
    advfs.cc:106: error: ‘len’ was not declared in this scope
    advfs.cc:106: error: expected primary-expression before ‘)’ token
    advfs.cc:106: error: ‘compress2’ was not declared in this scope
    advfs.cc:106: error: ‘Z_OK’ was not declared in this scope
    advfs.cc:114: error: ‘len’ was not declared in this scope
    advfs.cc:128: error: ‘Z_BEST_COMPRESSION’ was not declared in this scope
    advfs.cc:129: error: ‘Bytef’ was not declared in this scope
    advfs.cc:129: error: expected primary-expression before ‘)’ token
    advfs.cc:129: error: ‘uLongf’ was not declared in this scope
    advfs.cc:129: error: expected primary-expression before ‘)’ token
    advfs.cc:129: error: ‘len’ was not declared in this scope
    advfs.cc:129: error: expected primary-expression before ‘)’ token
    advfs.cc:129: error: ‘compress2’ was not declared in this scope
    advfs.cc:129: error: ‘Z_OK’ was not declared in this scope
    advfs.cc:137: error: ‘len’ was not declared in this scope
    advfs.cc:142: error: ‘len’ was not declared in this scope
    make[1]: *** [advfs.o] Fehler 1
    make[1]: Verlasse Verzeichnis '/home/dkirsa/cloop-2.04/advancecomp-1.9_create_compressed_fs'
    make: *** [advancecomp-1.9_create_compressed_fs/advfs] Fehler 2
    So far, I searched a lot for someone having a similar problem, but it doesn't seem to be common.
    Anyone a idea?

    btw, I use ubuntu

    Denis

  2. #2
    Member registered user
    Join Date
    Mar 2005
    Posts
    87

    Missing zlib.h

    You're missing zlib.h, thus you need to install the development package for zlib. I'm guessing but i'd say an something along the lines of:

    Code:
    #apt-get install zlib-dev
    or even
    Code:
    #apt-get install zlib1g-dev
    should reduce the errors and perhaps even compile.

Similar Threads

  1. cloop problem with knoppix 5.1
    By ndb in forum General Support
    Replies: 6
    Last Post: 01-05-2007, 03:24 PM
  2. Problem with cloop and kernel v 2.6.8.1
    By lunix* in forum Customising & Remastering
    Replies: 3
    Last Post: 11-15-2004, 10:46 PM
  3. Problem with cloop
    By lrathle in forum Customising & Remastering
    Replies: 2
    Last Post: 09-05-2004, 05:47 PM
  4. problem with cloop
    By sabel in forum Customising & Remastering
    Replies: 2
    Last Post: 12-01-2003, 09:15 PM
  5. Problem with cloop
    By arkaine23 in forum Customising & Remastering
    Replies: 2
    Last Post: 07-08-2003, 05:57 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
  •  


MegaRAID 9580-8i8e 16-port 12G SAS/SATA/NVMe 8GB PCIe RAID - 05-50076-00 picture

MegaRAID 9580-8i8e 16-port 12G SAS/SATA/NVMe 8GB PCIe RAID - 05-50076-00

$1619.30



Broadcom 9600-24i Tri-Mode RAID Controller 4.0 NVMe SAS SATA NEW 05-50111-01003 picture

Broadcom 9600-24i Tri-Mode RAID Controller 4.0 NVMe SAS SATA NEW 05-50111-01003

$639.69



KTN-STL3 EMC VNX 15-slot Disk Array Expansion, full 15 x 2tb drives 100% health picture

KTN-STL3 EMC VNX 15-slot Disk Array Expansion, full 15 x 2tb drives 100% health

$360.00



G-Technology G-SPEED Studio XL 48TB Thunderbolt 2 Storage - Housing Only picture

G-Technology G-SPEED Studio XL 48TB Thunderbolt 2 Storage - Housing Only

$200.00



Broadcom LSI 9305-16i 12Gbps SAS-3 PCIe x8 HBA 16-Ports Raid Controller picture

Broadcom LSI 9305-16i 12Gbps SAS-3 PCIe x8 HBA 16-Ports Raid Controller

$64.99



LSI 9260-8i 512MB SAS SATA 8-port PCI-E 6Gb RAID Controller Card US picture

LSI 9260-8i 512MB SAS SATA 8-port PCI-E 6Gb RAID Controller Card US

$29.88



Inspur LSI YZCA-00424-101 12Gbps SAS 3.0 RAID Controller CARD HBA  HDD picture

Inspur LSI YZCA-00424-101 12Gbps SAS 3.0 RAID Controller CARD HBA HDD

$14.99



Cisco UCSB-MRAID12G FlexStorage 12G SAS Raid Controller picture

Cisco UCSB-MRAID12G FlexStorage 12G SAS Raid Controller

$23.99



Dell PowerVault MD3000i AMP01 Storage Array 4x Cad 2x PSUs No HDDs/Controllers picture

Dell PowerVault MD3000i AMP01 Storage Array 4x Cad 2x PSUs No HDDs/Controllers

$164.95



Areca ARC-1882IX-24 (16i4e)24-Port RAID Controller Card w/BBU /HDD Monitor Board picture

Areca ARC-1882IX-24 (16i4e)24-Port RAID Controller Card w/BBU /HDD Monitor Board

$202.46