FAQ: [#6265] libpng build fails due to not finding zlib(2010)

Document created by Aaronwu Employee on Sep 11, 2013
Version 1Show Document
  • View in full screen mode

[#6265] libpng build fails due to not finding zlib

Submitted By: angelia wu

Open Date

2010-09-20 04:13:13     Close Date

2010-10-13 03:32:50

Priority:

Medium     Assignee:

Aaron Wu

Status:

Closed     Fixed In Release:

N/A

Found In Release:

2010R1     Release:

Blackfin Linux:2010R1

Category:

N/A     Board:

N/A

Processor:

BF537     Silicon Revision:

Is this bug repeatable?:

Yes     Resolution:

Assigned (Not Start)

Uboot version or rev.:

    Toolchain version or rev.:

2010R1-RC2

App binary format:

N/A     

Summary: libpng build fails due to not finding zlib

Details:

 

build fail in QT testing on bf537-stamp

 

test@uclinux41:~/work/cruise/checkouts/uclinux-dist/testsuites/qt> ./build_qt_kernel.exp BF537-STAMP 1

 

make[5]: Leaving directory `/home/test/work/cruise/checkouts/uclinux-dist/lib/ncurses/build-ncurses-5.7/misc'

cd c++ && make DESTDIR="/home/test/work/cruise/checkouts/uclinux-dist/staging" install

make[5]: Entering directory `/home/test/work/cruise/checkouts/uclinux-dist/lib/ncurses/build-ncurses-5.7/c++'

/usr/bin/install -c -m 644 ../lib/libncurses++.a /home/test/work/cruise/checkouts/uclinux-dist/staging/usr/lib/libncurses++.a

installing /home/test/work/cruise/checkouts/uclinux-dist/lib/ncurses/ncurses-5.7/c++/cursesapp.h in /home/test/work/cruise/checkouts/uclinux-dist/staging/usr/include

installing /home/test/work/cruise/checkouts/uclinux-dist/lib/ncurses/ncurses-5.7/c++/cursesf.h in /home/test/work/cruise/checkouts/uclinux-dist/staging/usr/include

installing /home/test/work/cruise/checkouts/uclinux-dist/lib/ncurses/ncurses-5.7/c++/cursesm.h in /home/test/work/cruise/checkouts/uclinux-dist/staging/usr/include

installing /home/test/work/cruise/checkouts/uclinux-dist/lib/ncurses/ncurses-5.7/c++/cursesp.h in /home/test/work/cruise/checkouts/uclinux-dist/staging/usr/include

installing /home/test/work/cruise/checkouts/uclinux-dist/lib/ncurses/ncurses-5.7/c++/cursesw.h in /home/test/work/cruise/checkouts/uclinux-dist/staging/usr/include

installing /home/test/work/cruise/checkouts/uclinux-dist/lib/ncurses/ncurses-5.7/c++/cursslk.h in /home/test/work/cruise/checkouts/uclinux-dist/staging/usr/include

installing etip.h in /home/test/work/cruise/checkouts/uclinux-dist/staging/usr/include

make[5]: Leaving directory `/home/test/work/cruise/checkouts/uclinux-dist/lib/ncurses/build-ncurses-5.7/c++'

make[4]: Leaving directory `/home/test/work/cruise/checkouts/uclinux-dist/lib/ncurses/build-ncurses-5.7'

make post-build

make[4]: Entering directory `/home/test/work/cruise/checkouts/uclinux-dist/lib/ncurses'

make[4]: Nothing to be done for `post-build'.

make[4]: Leaving directory `/home/test/work/cruise/checkouts/uclinux-dist/lib/ncurses'

/home/test/work/cruise/checkouts/uclinux-dist/tools/cross-fix-root

make[3]: Leaving directory `/home/test/work/cruise/checkouts/uclinux-dist/lib/ncurses'

make[2]: Leaving directory `/home/test/work/cruise/checkouts/uclinux-dist/lib'

[ -z "libg zlib libjpeg lzo ncurses" ] || /home/test/work/cruise/checkouts/uclinux-dist/tools/cross-fix-root

[ -z "libpng" ] || make -j4 libpng || exit $?

make[2]: Entering directory `/home/test/work/cruise/checkouts/uclinux-dist/lib'

[ ! -d "libpng" ] || ( touch libpng/.sgbuilt_lib && make -C libpng ) || exit $?

make[3]: Entering directory `/home/test/work/cruise/checkouts/uclinux-dist/lib/libpng'

set -e ; conf="$PWD/libpng-1.2.42/configure" ; chmod a+rx "$conf" ; find libpng-1.2.42 -type f -print0 | xargs -0 touch -r "$conf" ; rm -rf build-libpng-1.2.42 ; mkdir -p build-libpng-1.2.42 ; cd build-libpng-1.2.42 ; "$conf" --host=bfin-uclinux --build=i686-pc-linux-gnu --prefix=/usr --sysconfdir=/etc --datadir=/usr/share --mandir=/usr/share/man --infodir=/usr/share/info --localstatedir=/var/lib --disable-dependency-tracking --enable-fast-install

configure: loading site script /home/test/work/cruise/checkouts/uclinux-dist/vendors/config/config.site

config.site: loading extra site script frag /home/test/work/cruise/checkouts/uclinux-dist/vendors/config/config.site.build

config.site: loading site script frag /home/test/work/cruise/checkouts/uclinux-dist/vendors/config/bfin/config.site

config.site: loading site script frag /home/test/work/cruise/checkouts/uclinux-dist/vendors/config/bfin-unknown-uclinux

checking for a BSD-compatible install... (cached) /usr/bin/install -c

checking whether build environment is sane... yes

checking for bfin-uclinux-strip... (cached) bfin-uclinux-strip

checking for a thread-safe mkdir -p... (cached) /bin/mkdir -p

checking for gawk... (cached) gawk

checking whether make sets $(MAKE)... (cached) yes

checking whether to enable maintainer-specific portions of Makefiles... no

checking for bfin-uclinux-gcc... (cached) bfin-uclinux-gcc

checking whether the C compiler works... yes

checking for C compiler default output file name... a.out

checking for suffix of executables...

checking whether we are cross compiling... yes

checking for suffix of object files... (cached) o

checking whether we are using the GNU C compiler... (cached) yes

checking whether bfin-uclinux-gcc accepts -g... (cached) yes

checking for bfin-uclinux-gcc option to accept ISO C89... none needed

checking for style of include used by make... GNU

checking dependency style of bfin-uclinux-gcc... (cached) none

checking build system type... (cached) i686-pc-linux-gnu

checking host system type... (cached) bfin-unknown-uclinux

checking for a sed that does not truncate output... (cached) /usr/bin/sed

checking for grep that handles long lines and -e... (cached) /usr/bin/grep

checking for egrep... (cached) /usr/bin/grep -E

checking for fgrep... (cached) /usr/bin/grep -F

checking for ld used by bfin-uclinux-gcc... (cached) bfin-uclinux-ld

checking if the linker (bfin-uclinux-ld) is GNU ld... (cached) yes

checking how to run the C preprocessor... (cached) bfin-uclinux-gcc -E

checking for bfin-uclinux-sed... /usr/bin/sed

checking whether ln -s works... yes

checking whether make sets $(MAKE)... (cached) yes

checking for BSD- or MS-compatible name lister (nm)... (cached) bfin-uclinux-nm

checking the name lister (bfin-uclinux-nm) interface... (cached) BSD nm

checking the maximum length of command line arguments... 805306365

checking whether the shell understands some XSI constructs... yes

checking whether the shell understands "+="... yes

checking for bfin-uclinux-ld option to reload object files... (cached) -r

checking for bfin-uclinux-objdump... (cached) bfin-uclinux-objdump

checking how to recognize dependent libraries... unknown

checking for bfin-uclinux-ar... (cached) bfin-uclinux-ar

checking for bfin-uclinux-strip... (cached) bfin-uclinux-strip

checking for bfin-uclinux-ranlib... (cached) bfin-uclinux-ranlib

checking command to parse bfin-uclinux-nm output from bfin-uclinux-gcc object... ok

checking for ANSI C header files... yes

checking for sys/types.h... (cached) yes

checking for sys/stat.h... (cached) yes

checking for stdlib.h... (cached) yes

checking for string.h... (cached) yes

checking for memory.h... (cached) yes

checking for strings.h... (cached) yes

checking for inttypes.h... (cached) yes

checking for stdint.h... (cached) yes

checking for unistd.h... (cached) yes

checking for dlfcn.h... (cached) no

checking for objdir... (cached) .libs

checking if bfin-uclinux-gcc supports -fno-rtti -fno-exceptions... (cached) no

checking for bfin-uclinux-gcc option to produce PIC... -fPIC -DPIC

checking if bfin-uclinux-gcc PIC flag -fPIC -DPIC works... (cached) yes

checking if bfin-uclinux-gcc static flag -static works... (cached) yes

checking if bfin-uclinux-gcc supports -c -o file.o... (cached) yes

checking if bfin-uclinux-gcc supports -c -o file.o... (cached) yes

checking whether the bfin-uclinux-gcc linker (bfin-uclinux-ld) supports shared libraries... yes

checking whether -lc should be explicitly linked in... no

checking dynamic linker characteristics... no

checking how to hardcode library paths into programs... immediate

checking whether stripping libraries is possible... yes

checking if libtool supports shared libraries... no

checking whether to build shared libraries... no

checking whether to build static libraries... yes

checking for ANSI C header files... (cached) yes

checking for malloc.h... (cached) yes

checking for stdlib.h... (cached) yes

checking for string.h... (cached) yes

checking for strings.h... (cached) yes

checking for an ANSI C-conforming const... (cached) yes

checking for size_t... (cached) yes

checking whether struct tm is in sys/time.h or time.h... time.h

checking for working strtod... (cached) yes

checking for memset... (cached) yes

checking for pow... no

checking for pow in -lm... yes

checking for zlibVersion in -lz... no

configure: error: zlib not installed

make[3]: *** [build-libpng-1.2.42/Makefile] Error 1

make[3]: Leaving directory `/home/test/work/cruise/checkouts/uclinux-dist/lib/libpng'

make[2]: *** [libpng] Error 2

make[2]: Leaving directory `/home/test/work/cruise/checkouts/uclinux-dist/lib'

make[1]: *** [all] Error 2

make[1]: Leaving directory `/home/test/work/cruise/checkouts/uclinux-dist/lib'

make: *** [subdirs] Error 1

ERROR: Error somewhere during make

 

Follow-ups

 

--- Mike Frysinger                                           2010-09-20 13:27:25

did you change kernel formats and not `make clean` ?

 

please post the config.log from the libpng build dir

 

--- angelia wu                                               2010-10-13 03:32:49

yes,it is indeed. i found the build script didn't make clean.

so i closed the bug.

 

 

 

    Files

    Changes

    Commits

    Dependencies

    Duplicates

    Associations

    Tags

 

File Name     File Type     File Size     Posted By

build_qt_falt_537_log    application/octet-stream    178018    angelia wu

Attachments

Outcomes