Hi Matthias,

Am Freitag, den 11.01.2008, 14:36 +0100 schrieb Sommer, Matthias:
> Hello,
>  
> ATM I'm hanging at an error in squashfs3.2.tar.bz2
>  
> I get: (sorry I'm bound to Outlook and Windoze for mailing here)
> [...]
>  
> ==[build_this_package:923 (last $?=0)> eval echo 'Running make -j3
> CC="$CC" CPP="$CPP" CXX="$CXX" prefix="$root/$prefix"
> CC_FOR_BUILD="$BUILDCC" BUILDCC="$BUILDCC" BUILD_CC="$BUILD_CC"
> HOSTCC="$HOSTCC" HOST_CC="$HOST_CC" STRIP="$STRIP" AR="$AR" LD="$LD"
> RANLIB="$RANLIB" NM="$NM"'
> 
> ===[build_this_package:923 (last $?=0)> echo Running make -j3 CC=gcc
> CPP=cpp CXX=CXX_not_available_in_stage_0
> prefix=/root/T2/build/default-7.0-rc2-desktop-x86-i686/TOOLCHAIN/tools.cross/usr
>  CC_FOR_BUILD=cc BUILDCC=cc BUILD_CC=cc HOSTCC=cc HOST_CC=cc STRIP=strip 
> AR=ar LD=ld RANLIB=ranlib NM=nm
> 
> Running make -j3 CC=gcc CPP=cpp CXX=CXX_not_available_in_stage_0
> prefix=/root/T2/build/default-7.0-rc2-desktop-x86-i686/TOOLCHAIN/tools.cross/usr
>  CC_FOR_BUILD=cc BUILDCC=cc BUILD_CC=cc HOSTCC=cc HOST_CC=cc STRIP=strip 
> AR=ar LD=ld RANLIB=ranlib NM=nm
> 
> ==[build_this_package:924 (last $?=0)> eval 'make -j3 CC="$CC"
> CPP="$CPP" CXX="$CXX" prefix="$root/$prefix" CC_FOR_BUILD="$BUILDCC"
> BUILDCC="$BUILDCC" BUILD_CC="$BUILD_CC" HOSTCC="$HOSTCC"
> HOST_CC="$HOST_CC" STRIP="$STRIP" AR="$AR" LD="$LD" RANLIB="$RANLIB"
> NM="$NM"'
> 
> ===[build_this_package:924 (last $?=0)> make -j3 CC=gcc CPP=cpp
> CXX=CXX_not_available_in_stage_0
> prefix=/root/T2/build/default-7.0-rc2-desktop-x86-i686/TOOLCHAIN/tools.cross/usr
>  CC_FOR_BUILD=cc BUILDCC=cc BUILD_CC=cc HOSTCC=cc HOST_CC=cc STRIP=strip 
> AR=ar LD=ld RANLIB=ranlib NM=nm
> 
> gcc -I. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -O2 -c -o
> mksquashfs.o mksquashfs.c
> 
> gcc -I. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -O2 -c -o read_fs.o
> read_fs.c
> 
> gcc -I. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -O2 -c -o sort.o
> sort.c
> 
> read_fs.c:35:18: error: zlib.h: No such file or directory
> 
> read_fs.c: In function 'read_block':
> 
> read_fs.c:88: error: 'Z_OK' undeclared (first use in this function)
> 
> read_fs.c:88: error: (Each undeclared identifier is reported only once
> 
> read_fs.c:88: error: for each function it appears in.)
> 
> read_fs.c:89: error: 'Z_MEM_ERROR' undeclared (first use in this
> function)
> 
> read_fs.c:91: error: 'Z_BUF_ERROR' undeclared (first use in this
> function)
> 
> mksquashfs.c:38:18: error: zlib.h: No such file or directory
> 
> make: *** [read_fs.o] Error 1
> 
> make: *** Waiting for unfinished jobs....
> 
> mksquashfs.c:562: error: expected ')' before '*' token
> 
> mksquashfs.c: In function 'mangle':
> 
> mksquashfs.c:625: error: expected '=', ',', ';', 'asm' or
> '__attribute__' before '*' token
> 
> mksquashfs.c:625: error: 'stream' undeclared (first use in this
> function)
> 
> mksquashfs.c:625: error: (Each undeclared identifier is reported only
> once
> 
> mksquashfs.c:625: error: for each function it appears in.)
> 
> mksquashfs.c: In function 'get_fragment':
> 
> mksquashfs.c:1226: error: 'Z_OK' undeclared (first use in this
> function)
> 
> mksquashfs.c:1227: error: 'Z_MEM_ERROR' undeclared (first use in this
> function)
> 
> mksquashfs.c:1229: error: 'Z_BUF_ERROR' undeclared (first use in this
> function)
> 
> mksquashfs.c: In function 'deflator':
> 
> mksquashfs.c:1727: error: 'z_stream' undeclared (first use in this
> function)
> 
> mksquashfs.c:1727: error: 'stream' undeclared (first use in this
> function)
> 
> mksquashfs.c: In function 'frag_deflator':
> 
> mksquashfs.c:1751: error: 'z_stream' undeclared (first use in this
> function)
> 
> mksquashfs.c:1751: error: 'stream' undeclared (first use in this
> function)
> 
> make: *** [mksquashfs.o] Error 1
> 
> Due to previous errors, no 0-squashfs-tools.log file!
> 
> 
>  
> - - -
>  
> I assume the error is in "error: zlib.h: No such file or directory"
> In fact there is no such file.
> Is there something broken or am I stupid (once again)?

Verify that you have the zlib development package installed on your
build host, or reinstall zlib-dev if zlib.h has vanished for some
reason.

Michael



----------------------------------------------------------- 
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of: unsubscribe t2

Reply via email to