[prev in list] [next in list] [prev in thread] [next in thread] 

List:       linux-arm
Subject:    Re: zlib
From:       Russell King - ARM Linux <linux () arm ! linux ! org ! uk>
Date:       2005-12-19 13:01:04
Message-ID: 20051219130104.GB11932 () flint ! arm ! linux ! org ! uk
[Download RAW message or body]

On Mon, Dec 19, 2005 at 06:20:00PM +0530, Project Trainees(Embedded/Harita) wrote:
> I am trying to build zlib1.1.4 for PXA255 Accelent customized board..

Are you sure it's 1.1.4?

> CC=arm-linux-gcc LDSHARED="arm-linux-ld -shared" ./configure --shared ,
> the cross compiler is not able to locate few header files in its include
> dirtectory... heres the remarks
> 
> [root@localhost zlib-1.2.3]# CC=arm-linux-gcc LDSHARED="arm-linux-ld -shared" ./configure --shared

This looks like 1.2.3 to me.

> Checking for shared library support...
> Building shared library libz.so.1.2.3 with arm-linux-gcc.
> Checking for unistd.h... No.
> Checking whether to use vs[n]printf() or s[n]printf()... using s[n]printf()
> Checking for snprintf() in stdio.h... No.
>   WARNING: snprintf() not found, falling back to sprintf(). zlib
>   can build but will be open to possible buffer-overflow security
>   vulnerabilities.
> Checking for return value of sprintf()... No.
>   WARNING: apparently sprintf() does not return a value. zlib
>   can build but will be open to possible string-format security
>   vulnerabilities.
> Checking for errno.h... No.
> Checking for mmap support... No.

It looks like it was either unable to find your C library or compiler.
Basically, it's checks to see if these functions exist failed.

Look in config.log for the detailed errors.  BTW, are you sure you
need to give LDSHARED ?

-------------------------------------------------------------------
List admin: http://lists.arm.linux.org.uk/mailman/listinfo/linux-arm
FAQ:        http://www.arm.linux.org.uk/mailinglists/faq.php
Etiquette:  http://www.arm.linux.org.uk/mailinglists/etiquette.php
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic