it's in bootstrap stage so it should be looking for host zlib, what error
file says? it can't locate zlib.h?

On Tue, Aug 3, 2010 at 1:03 PM, John McNamee <[email protected]> wrote:

> zlib.h exists in /usr/include (on the host system), but not in
> ./build/.../usr/include.
>
>
>
> -------- Original Message --------
> Subject: Re: [t2] squashfs-tools build error
> From: Aldas Nabazas <[email protected]>
> To: T2 developers mailing list <[email protected]>
> Date: 8/3/2010 6:25 AM
>
>  Hi John,
>>
>> What's the location of your zlib.h? Also you can check actual error
>> file for more details.
>>
>> Cheers,
>> Aldas
>>
>> On Tue, Aug 3, 2010 at 4:39 AM, John McNamee wrote:
>>
>>
>>    I've got T2 8.0 hosted on a Debian Lenny system, and ran into an
>>    build error on squashfs-tools.  It's trying to include zlib.h, which
>>    doesn't exist within the cross-compiled "build" tree (it does exist
>>    on the host Debian system).  I'm not sure how to even begin to debug
>>    this.  Any ideas?
>>
>>    == 18:02:47 =[0]=> Building filesystem/squashfs-tools [4.0 8.0-stable].
>>    -> Reading package config:
>>    package/filesystem/squashfs-tools/squashfs-tools.conf
>>    -> Preparing build in
>>    src.squashfs-tools.default.20100802.180244.6972.jpm-debian
>>    -> Building. Writing output to $root/var/adm/logs/0-squashfs-tools.out
>>    !> mksquashfs.c: In function 'deflator':
>>    !> mksquashfs.c:2368: error: 'z_stream' undeclared (first use in
>>    this function)
>>    !> mksquashfs.c:2368: error: 'stream' undeclared (first use in this
>>    function)
>>    !> mksquashfs.c: In function 'frag_deflator':
>>    !> mksquashfs.c:2405: error: 'z_stream' undeclared (first use in
>>    this function)
>>    !> mksquashfs.c:2405: error: 'stream' undeclared (first use in this
>>    function)
>>    !> Due to previous errors, no 0-squashfs-tools.log file!
>>    !> (Try enabling xtrace in the config to track an error inside the
>>    build system.)
>>    -> $root/var/adm/logs/0-squashfs-tools.out -> 0-squashfs-tools.err
>>    == 08/02/10 18:03:21 =[0]=> Aborted building package squashfs-tools.
>>
>
>
----------------------------------------------------------- 
If you wish to unsubscribe from this mailing, send mail to
[email protected] with a subject of: unsubscribe t2

Reply via email to