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
  •  


Mini Computer Vacuum USB Keyboard Cleaner PC Laptop Brush Dust Cleaning Kit NEW picture

Mini Computer Vacuum USB Keyboard Cleaner PC Laptop Brush Dust Cleaning Kit NEW

$13.89



LEVOIT Cordless Vacuum Cleaner, Stick Vac with Tangle-Resistant Design, Up to... picture

LEVOIT Cordless Vacuum Cleaner, Stick Vac with Tangle-Resistant Design, Up to...

$162.04



Cordless Air Duster & Vacuum Cleaner for Keyboard & PC Cleaning - 110000RPM Powe picture

Cordless Air Duster & Vacuum Cleaner for Keyboard & PC Cleaning - 110000RPM Powe

$53.99



2-in-1 Compressed Air Duster & Vacuum, Brushless Motor, 320000RPM picture

2-in-1 Compressed Air Duster & Vacuum, Brushless Motor, 320000RPM

$37.99



Vaquform DT2 - Desktop Vacuum Forming Machine picture

Vaquform DT2 - Desktop Vacuum Forming Machine

$800.00



US Mini Computer Vacuum USB Keyboard Cleaner PC Laptop Brush Dust Cleaning Kits picture

US Mini Computer Vacuum USB Keyboard Cleaner PC Laptop Brush Dust Cleaning Kits

$13.89



Cordless Handheld Vacuum Cleaner Compatible with DeWalt 20V Battery picture

Cordless Handheld Vacuum Cleaner Compatible with DeWalt 20V Battery

$107.67



Compressed Air Duster Rechargeable Computer Vacuum Cleaner for PC Keyboard Toys picture

Compressed Air Duster Rechargeable Computer Vacuum Cleaner for PC Keyboard Toys

$16.99



V3 Robot Vacuum and Mop Combo,Self-Charging,5000pa Strong Suction,WiFi/Alexa NIB picture

V3 Robot Vacuum and Mop Combo,Self-Charging,5000pa Strong Suction,WiFi/Alexa NIB

$82.00



Mini Computer Vacuum Cleaner & Compressed Air Duster 14500Pa, 110000RPM, Cordles picture

Mini Computer Vacuum Cleaner & Compressed Air Duster 14500Pa, 110000RPM, Cordles

$53.99