Results 1 to 2 of 2

Thread: problem installing cloop

Hybrid View

  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
  •  


One Of A Kind Homemade Vintage Mainframe Computer, Logic Module Wood Bookends picture

One Of A Kind Homemade Vintage Mainframe Computer, Logic Module Wood Bookends

$149.00



Vintage Telex 952003-112 Mechanical Terminal Keyboard IBM 3270 Mainframe DB25 picture

Vintage Telex 952003-112 Mechanical Terminal Keyboard IBM 3270 Mainframe DB25

$594.99



Vintage Intel Mainframe Server MCM CPU Substrate Lot Prototyping PGA Validation picture

Vintage Intel Mainframe Server MCM CPU Substrate Lot Prototyping PGA Validation

$500.00



HP 13210-60001 Disc Drive Interface PCB HP 7900A 7901A Vintage picture

HP 13210-60001 Disc Drive Interface PCB HP 7900A 7901A Vintage

$157.93



4x Various Brands 8.5

4x Various Brands 8.5" Mainframe 9-Track Reel Computer Data Tape 6250 CPI .5"

$24.99



Vintage Japanese Katakana Double Shot Sperry Univac UTS 4000 Keyboard 1981 picture

Vintage Japanese Katakana Double Shot Sperry Univac UTS 4000 Keyboard 1981

$199.99



Vintage UNIVAC Mainframe Circuit Board Lamp - Cyberpunk Tech Geek Industrial Art picture

Vintage UNIVAC Mainframe Circuit Board Lamp - Cyberpunk Tech Geek Industrial Art

$225.00



Vintage IBM Syst 370 MST Boards Lot Of 5 Heavily Populated IBM 22 Alu Can Chips picture

Vintage IBM Syst 370 MST Boards Lot Of 5 Heavily Populated IBM 22 Alu Can Chips

$89.00



HP 5060-8359 8K Semiconductor Memory Module 5080-9747 Vintage HP Computer picture

HP 5060-8359 8K Semiconductor Memory Module 5080-9747 Vintage HP Computer

$157.30



VINTAGE Artecon LX-1558FN HDD EOD SubSystem Mainframe POWERS ON RARE picture

VINTAGE Artecon LX-1558FN HDD EOD SubSystem Mainframe POWERS ON RARE

$299.99