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
  •  


Vintage Computer Keyboard Northgate OMNIKEY Ultra picture

Vintage Computer Keyboard Northgate OMNIKEY Ultra

$120.00



Ast Advantage Adventure 4050D Vintage Retro Computer Great Condition picture

Ast Advantage Adventure 4050D Vintage Retro Computer Great Condition

$199.99



Vintage Apple Keyboard (MO110) picture

Vintage Apple Keyboard (MO110)

$61.30



Vintage HP 21MX 1000 M-Series Minicomputer Chassis Backplane Parts AS-IS picture

Vintage HP 21MX 1000 M-Series Minicomputer Chassis Backplane Parts AS-IS

$228.19



2.0 LBS Vintage Scrap Memory RAM FOR Gold Recovery PC & SERVER RAM UNSHIELDED picture

2.0 LBS Vintage Scrap Memory RAM FOR Gold Recovery PC & SERVER RAM UNSHIELDED

$110.00



Vintage Mass Microsystems DataPak 88MB Removable External SCSI Hard Drive... picture

Vintage Mass Microsystems DataPak 88MB Removable External SCSI Hard Drive...

$149.99



Vintage Fujitsu FKB4725 Peerless Clicky Mechanical PS/2 Keyboard N860-4725-T601 picture

Vintage Fujitsu FKB4725 Peerless Clicky Mechanical PS/2 Keyboard N860-4725-T601

$40.00



Vintage Dell Inspiron 7500 15

Vintage Dell Inspiron 7500 15" Pentium II 400MHz 128MB 4.8GB Windows 2000 Pro

$59.00



Apple Macintosh Plus 1Mb Vintage Desktop Computer w/ Keyboard & Mouse picture

Apple Macintosh Plus 1Mb Vintage Desktop Computer w/ Keyboard & Mouse

$350.00



Vintage 1983 Commodore 1702 Color Video CRT Monitor. Tested. picture

Vintage 1983 Commodore 1702 Color Video CRT Monitor. Tested.

$350.00