2008-03-04 11:24:40     2008R1-RC2 build problems

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

2008-03-04 11:24:40     2008R1-RC2 build problems

Peter Budenszki (HUNGARY)

Message: 52035    Hi,

 

i have downloaded 2008R1-RC2 but i cannot build it. There are error messages regarding ZLIB (Zlib not installed). It is intalled and it was working fine for previous relases.

 

It seems that it creates vmimage file and after error messages occour.

 

Is there anyone who has similar problem?

 

 

Regards, Peter

QuoteReplyEditDelete

 

 

2008-03-04 11:41:56     Re: 2008R1-RC2 build problems

Mike Frysinger (UNITED STATES)

Message: 52038    please post the real error rather than describing it

QuoteReplyEditDelete

 

 

2008-03-04 12:05:46     Re: 2008R1-RC2 build problems

Peter Budenszki (HUNGARY)

Message: 52040    Hi,

 

 

Development host:

 

    Fedora Core 8

 

installed tools:

 

    blackfin-toolchain-08r1-8.i386.rpm

    blackfin-toolchain-elf-gcc-4.1-08r1-8.i386,

    blackfin-toolchain-uclibc-full-08r1-8.i386

    uClinux-dist-2008R1-RC2

 

 

please find below the list:

 

 

*********************************************************

 

[root@tombor-xp uClinux-dist-2008R1-RC2]# make

rm -f linux-2.6.x/usr/initramfs_data.cpio.gz

make ARCH=blackfin   CROSS_COMPILE=bfin-uclinux- -j4 -C linux-2.6.x  || exit 1

make[1]: Entering directory `/home/install/uClinux-dist-2008R1-RC2/linux-2.6.x'

  CHK     include/linux/version.h

  CHK     include/linux/utsrelease.h

  CALL    scripts/checksyscalls.sh

  GEN     usr/initramfs_data.cpio.gz

  AS      usr/initramfs_data.o

  LD      usr/built-in.o

  CHK     include/linux/compile.h

  GEN     .version

  CHK     include/linux/compile.h

  UPD     include/linux/compile.h

  CC      init/version.o

  LD      init/built-in.o

  LD      .tmp_vmlinux1

  KSYM    .tmp_kallsyms1.S

  AS      .tmp_kallsyms1.o

  LD      .tmp_vmlinux2

  KSYM    .tmp_kallsyms2.S

  AS      .tmp_kallsyms2.o

  LD      vmlinux

  SYSMAP  System.map

  SYSMAP  .tmp_System.map

  MODPOST vmlinux

  Building modules, stage 2.

  OBJCOPY arch/blackfin/boot/vmlinux.bin

  MODPOST 60 modules

  GZIP    arch/blackfin/boot/vmlinux.gz

  UIMAGE  arch/blackfin/boot/vmImage

Image Name:   Linux-2.6.22.16-ADI-2008R1-svn

Created:      Tue Mar  4 17:57:59 2008

Image Type:   Blackfin Linux Kernel Image (gzip compressed)

Data Size:    816997 Bytes = 797.85 kB = 0.78 MB

Load Address: 0x00001000

Entry Point:  0x00150000

Kernel: arch/blackfin/boot/vmImage is ready

make[1]: Leaving directory `/home/install/uClinux-dist-2008R1-RC2/linux-2.6.x'

if [ -f linux-2.6.x/vmlinux ]; then \

                ln -f linux-2.6.x/vmlinux linux-2.6.x/linux ; \

        fi

. linux-2.6.x/.config; if [ "$CONFIG_MODULES" = "y" ]; then \

                [ -d linux-2.6.x/modules ] || mkdir linux-2.6.x/modules; \

                make ARCH=blackfin   CROSS_COMPILE=bfin-uclinux- -C linux-2.6.x modules; \

        fi

make[1]: Entering directory `/home/install/uClinux-dist-2008R1-RC2/linux-2.6.x'

  CHK     include/linux/version.h

  CHK     include/linux/utsrelease.h

  CALL    scripts/checksyscalls.sh

  Building modules, stage 2.

  MODPOST 60 modules

make[1]: Leaving directory `/home/install/uClinux-dist-2008R1-RC2/linux-2.6.x'

for dir in  lib user ; do [ ! -d $dir ] || make ARCH=blackfin   -C $dir || exit 1 ; done

make[1]: Entering directory `/home/install/uClinux-dist-2008R1-RC2/lib'

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

[ -z "" ] || (cd /home/install/uClinux-dist-2008R1-RC2/staging; chmod 755 ./usr/lib/lib*.so*; chmod 644 ./usr/lib/lib*.la ./usr/lib/lib*.a; sed -i "/^libdir=/s:=.*:='/home/install/uClinux-dist-2008R1-RC2/staging/usr/lib':" ./usr/lib/*.la; sed -i "/^prefix=/s:=.*:='/home/install/uClinux-dist-2008R1-RC2/staging/usr':" ./usr/lib/pkgconfig/*.pc ./usr/bin/*-config; true)

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

[ -z "" ] || (cd /home/install/uClinux-dist-2008R1-RC2/staging; chmod 755 ./usr/lib/lib*.so*; chmod 644 ./usr/lib/lib*.la ./usr/lib/lib*.a; sed -i "/^libdir=/s:=.*:='/home/install/uClinux-dist-2008R1-RC2/staging/usr/lib':" ./usr/lib/*.la; sed -i "/^prefix=/s:=.*:='/home/install/uClinux-dist-2008R1-RC2/staging/usr':" ./usr/lib/pkgconfig/*.pc ./usr/bin/*-config; true)

[ -z "libg zlib libjpeg" ] || make -j4 libg libjpeg zlib || exit $?

make[2]: Entering directory `/home/install/uClinux-dist-2008R1-RC2/lib'

make -C libg

make -C libjpeg

make -C zlib

make[3]: Entering directory `/home/install/uClinux-dist-2008R1-RC2/lib/libg'

for i in gtermcap ; do make -C $i || exit gtermcap ; done

make[3]: Entering directory `/home/install/uClinux-dist-2008R1-RC2/lib/zlib'

install -d -m0755 /home/install/uClinux-dist-2008R1-RC2/staging/usr/lib

make[4]: Entering directory `/home/install/uClinux-dist-2008R1-RC2/lib/libg/gtermcap'

make[4]: warning: jobserver unavailable: using -j1.  Add `+' to parent make rule.

install -m0644 libz.a /home/install/uClinux-dist-2008R1-RC2/staging/usr/lib

make[3]: Entering directory `/home/install/uClinux-dist-2008R1-RC2/lib/libjpeg'

install -d /home/install/uClinux-dist-2008R1-RC2/staging/usr/lib

#@rm -f termcap.o tparam.o

install -d /home/install/uClinux-dist-2008R1-RC2/staging/usr/include

install -m0644 libjpeg.a /home/install/uClinux-dist-2008R1-RC2/staging/usr/lib

make[4]: Leaving directory `/home/install/uClinux-dist-2008R1-RC2/lib/libg/gtermcap'

make[3]: Leaving directory `/home/install/uClinux-dist-2008R1-RC2/lib/libg'

install -m0644 jpeglib.h /home/install/uClinux-dist-2008R1-RC2/staging/usr/include

install -m0644 jconfig.h /home/install/uClinux-dist-2008R1-RC2/staging/usr/include

install -d -m0755 /home/install/uClinux-dist-2008R1-RC2/staging/usr/include

install -m0644 zconf.h zlib.h /home/install/uClinux-dist-2008R1-RC2/staging/usr/include

install -m0644 jmorecfg.h /home/install/uClinux-dist-2008R1-RC2/staging/usr/include

make[3]: Leaving directory `/home/install/uClinux-dist-2008R1-RC2/lib/zlib'

install -m0644 jerror.h /home/install/uClinux-dist-2008R1-RC2/staging/usr/include

make[3]: Leaving directory `/home/install/uClinux-dist-2008R1-RC2/lib/libjpeg'

make[2]: Leaving directory `/home/install/uClinux-dist-2008R1-RC2/lib'

[ -z "libg zlib libjpeg" ] || (cd /home/install/uClinux-dist-2008R1-RC2/staging; chmod 755 ./usr/lib/lib*.so*; chmod 644 ./usr/lib/lib*.la ./usr/lib/lib*.a; sed -i "/^libdir=/s:=.*:='/home/install/uClinux-dist-2008R1-RC2/staging/usr/lib':" ./usr/lib/*.la; sed -i "/^prefix=/s:=.*:='/home/install/uClinux-dist-2008R1-RC2/staging/usr':" ./usr/lib/pkgconfig/*.pc ./usr/bin/*-config; true)

chmod: cannot access `./usr/lib/lib*.so*': No such file or directory

chmod: cannot access `./usr/lib/lib*.la': No such file or directory

sed: can't read ./usr/lib/*.la: No such file or directory

sed: can't read ./usr/lib/pkgconfig/*.pc: No such file or directory

sed: can't read ./usr/bin/*-config: No such file or directory

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

make[2]: Entering directory `/home/install/uClinux-dist-2008R1-RC2/lib'

make -C libpng

make[3]: Entering directory `/home/install/uClinux-dist-2008R1-RC2/lib/libpng'

find libpng-1.2.24 -type f -print0 | xargs -0 touch -r libpng-1.2.24/configure

set -e ; \

        rm -rf build-libpng-1.2.24 ; \

        mkdir build-libpng-1.2.24 ; \

        cd build-libpng-1.2.24 ; \

        ../libpng-1.2.24/configure --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

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

checking whether build environment is sane... yes

checking for gawk... gawk

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

checking for bfin-uclinux-strip... bfin-uclinux-strip

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

checking for bfin-uclinux-gcc... bfin-uclinux-gcc

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

checking whether the C compiler works... yes

checking whether we are cross compiling... yes

checking for suffix of executables...

checking for suffix of object files... o

checking whether we are using the GNU C compiler... yes

checking whether bfin-uclinux-gcc accepts -g... 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... gcc3

checking for a sed that does not truncate output... /bin/sed

checking build system type... i686-pc-linux-gnu

checking host system type... bfin-unknown-uclinux

checking for grep that handles long lines and -e... /bin/grep

checking for egrep... /bin/grep -E

checking for ld used by bfin-uclinux-gcc... bfin-uclinux-ld

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

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

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

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

checking whether ln -s works... yes

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

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

checking for BSD-compatible nm... bfin-uclinux-nm

checking how to recognize dependent libraries... unknown

checking for ANSI C header files... yes

checking for sys/types.h... yes

checking for sys/stat.h... yes

checking for stdlib.h... yes

checking for string.h... yes

checking for memory.h... yes

checking for strings.h... yes

checking for inttypes.h... yes

checking for stdint.h... yes

checking for unistd.h... yes

checking dlfcn.h usability... no

checking dlfcn.h presence... no

checking for dlfcn.h... no

checking whether we are using the GNU C++ compiler... yes

checking whether bfin-uclinux-g++ accepts -g... yes

checking dependency style of bfin-uclinux-g++... gcc3

checking how to run the C++ preprocessor... bfin-uclinux-g++ -E

checking for bfin-uclinux-g77... no

checking for bfin-uclinux-xlf... no

checking for bfin-uclinux-f77... no

checking for bfin-uclinux-frt... no

checking for bfin-uclinux-pgf77... no

checking for bfin-uclinux-cf77... no

checking for bfin-uclinux-fort77... no

checking for bfin-uclinux-fl32... no

checking for bfin-uclinux-af77... no

checking for bfin-uclinux-xlf90... no

checking for bfin-uclinux-f90... no

checking for bfin-uclinux-pgf90... no

checking for bfin-uclinux-pghpf... no

checking for bfin-uclinux-epcf90... no

checking for bfin-uclinux-gfortran... bfin-uclinux-gfortran

checking whether we are using the GNU Fortran 77 compiler... yes

checking whether bfin-uclinux-gfortran accepts -g... yes

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

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

checking for objdir... .libs

checking for bfin-uclinux-ar... bfin-uclinux-ar

checking for bfin-uclinux-ranlib... bfin-uclinux-ranlib

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

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

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

checking if bfin-uclinux-gcc PIC flag -fPIC works... yes

checking if bfin-uclinux-gcc static flag -static works... yes

checking if bfin-uclinux-gcc supports -c -o file.o... 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

configure: creating libtool

appending configuration tag "CXX" to libtool

checking for ld used by bfin-uclinux-g++... bfin-uclinux-ld

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

checking whether the bfin-uclinux-g++ linker (bfin-uclinux-ld) supports shared libraries... no

checking for bfin-uclinux-g++ option to produce PIC... -fPIC

checking if bfin-uclinux-g++ PIC flag -fPIC works... yes

checking if bfin-uclinux-g++ static flag -static works... yes

checking if bfin-uclinux-g++ supports -c -o file.o... yes

checking whether the bfin-uclinux-g++ linker (bfin-uclinux-ld) supports shared libraries... no

checking dynamic linker characteristics... no

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

appending configuration tag "F77" to libtool

checking if libtool supports shared libraries... no

checking whether to build shared libraries... no

checking whether to build static libraries... yes

checking for bfin-uclinux-gfortran option to produce PIC... -fPIC

checking if bfin-uclinux-gfortran PIC flag -fPIC works... yes

checking if bfin-uclinux-gfortran static flag -static works... yes

checking if bfin-uclinux-gfortran supports -c -o file.o... yes

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

checking dynamic linker characteristics... no

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

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

checking malloc.h usability... yes

checking malloc.h presence... yes

checking for malloc.h... 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... yes

checking for size_t... yes

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

checking for working strtod... no

checking for pow... no

checking for pow in -lm... yes

checking for memset... yes

checking for pow... (cached) no

checking for pow in -lm... (cached) yes

checking for zlibVersion in -lz... no

configure: error: zlib not installed

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

make[3]: Leaving directory `/home/install/uClinux-dist-2008R1-RC2/lib/libpng'

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

make[2]: Leaving directory `/home/install/uClinux-dist-2008R1-RC2/lib'

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

make[1]: Leaving directory `/home/install/uClinux-dist-2008R1-RC2/lib'

make: *** [subdirs] Error 1

[root@tombor-xp uClinux-dist-2008R1-RC2]#

*********************************************************

 

 

Regards, Peter

QuoteReplyEditDelete

 

 

2008-03-04 12:09:19     Re: 2008R1-RC2 build problems

Peter Budenszki (HUNGARY)

Message: 52041    Hi Mike,

 

also find attached libpng config log file.

 

Peter

config.log

QuoteReplyEditDelete

 

 

2008-03-04 12:28:19     Re: 2008R1-RC2 build problems

Mike Frysinger (UNITED STATES)

Message: 52042    that error is that the cross-compiled version of libpng cannot find the cross-compiled zlib ... it is unrelated to the zlib on your host system

QuoteReplyEditDelete

 

 

2008-03-04 12:38:05     Re: 2008R1-RC2 build problems

Mike Frysinger (UNITED STATES)

Message: 52044    the build log shows zlib being installed into the staging dir, so it should have been found

 

try doing the simple test by hand:

echo int main(){return zlibVersion ();} > test.c

bfin-uclinux-gcc -Lstaging/usr/lib -lz test.c -elf2flt

QuoteReplyEditDelete

 

 

2008-03-04 12:40:44     Re: 2008R1-RC2 build problems

Peter Budenszki (HUNGARY)

Message: 52045    Hi, do You have any idea how to solve it? Peter

QuoteReplyEditDelete

 

 

2008-03-05 03:34:19     Re: 2008R1-RC2 build problems

Peter Budenszki (HUNGARY)

Message: 52071    Hi Mike,

 

the result:

 

 

[root@tombor-xp test]# bfin-uclinux-gcc -L /home/install/uClinux-dist-2008R1-RC2/staging/usr/lib/ -lz test.c -elf2flt

test.c: In function ‘main’:

test.c:7: warning: return makes integer from pointer without a cast

/tmp/ccIHGS70.o: In function `_main':

test.c:(.text+0x6): undefined reference to `_zlibVersion'

collect2: ld returned 1 exit status

 

 

Peter

QuoteReplyEditDelete

 

 

2008-03-05 03:57:39     Re: 2008R1-RC2 build problems

Mike Frysinger (UNITED STATES)

Message: 52076    looks like your zlib is screwed up ... what if you run this command:

readelf -s staging/usr/lib/libz.a | grep zlibVersion

 

it should show something like:

    16: 00000000    18 FUNC    GLOBAL DEFAULT    1 _zlibVersion

QuoteReplyEditDelete

 

 

2008-03-05 04:05:07     Re: 2008R1-RC2 build problems

Peter Budenszki (HUNGARY)

Message: 52078   

Hi,

 

 

the result is:

 

[root@tombor-xp uClinux-dist-2008R1-RC2]# readelf -s /home/install/uClinux-dist-2008R1-RC2/staging/usr/lib/libz.a | grep zlibVersion

    16: 00000000    18 FUNC    GLOBAL DEFAULT    1 _zlibVersion

 

 

Peter

QuoteReplyEditDelete

 

 

2008-03-05 05:06:08     Re: 2008R1-RC2 build problems

Mike Frysinger (UNITED STATES)

Message: 52086    and you have tools/bfin-uclinux-gcc as a symlink to the staging compiler ?

 

edit the tools/staging-compiler and put "set -x" after the comments and then run:

make lib/libpng_only

QuoteReplyEditDelete

 

 

2008-03-05 05:13:12     Re: 2008R1-RC2 build problems

Peter Budenszki (HUNGARY)

Message: 52088   

Hi Mike,

 

 

make lib/libpng_only

make[1]: Entering directory `/home/install/uClinux-dist-2008R1-RC2/lib'

touch libpng/.sgbuilt_lib && make -C libpng

make[2]: Entering directory `/home/install/uClinux-dist-2008R1-RC2/lib/libpng'

find libpng-1.2.24 -type f -print0 | xargs -0 touch -r libpng-1.2.24/configure

set -e ; \

        rm -rf build-libpng-1.2.24 ; \

        mkdir build-libpng-1.2.24 ; \

        cd build-libpng-1.2.24 ; \

        ../libpng-1.2.24/configure --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

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

checking whether build environment is sane... yes

checking for gawk... gawk

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

checking for bfin-uclinux-strip... bfin-uclinux-strip

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

checking for bfin-uclinux-gcc... bfin-uclinux-gcc

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

checking whether the C compiler works... yes

checking whether we are cross compiling... yes

checking for suffix of executables...

checking for suffix of object files... o

checking whether we are using the GNU C compiler... yes

checking whether bfin-uclinux-gcc accepts -g... 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... gcc3

checking for a sed that does not truncate output... /bin/sed

checking build system type... i686-pc-linux-gnu

checking host system type... bfin-unknown-uclinux

checking for grep that handles long lines and -e... /bin/grep

checking for egrep... /bin/grep -E

checking for ld used by bfin-uclinux-gcc... bfin-uclinux-ld

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

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

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

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

checking whether ln -s works... yes

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

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

checking for BSD-compatible nm... bfin-uclinux-nm

checking how to recognize dependent libraries... unknown

checking for ANSI C header files... yes

checking for sys/types.h... yes

checking for sys/stat.h... yes

checking for stdlib.h... yes

checking for string.h... yes

checking for memory.h... yes

checking for strings.h... yes

checking for inttypes.h... yes

checking for stdint.h... yes

checking for unistd.h... yes

checking dlfcn.h usability... no

checking dlfcn.h presence... no

checking for dlfcn.h... no

checking whether we are using the GNU C++ compiler... yes

checking whether bfin-uclinux-g++ accepts -g... yes

checking dependency style of bfin-uclinux-g++... gcc3

checking how to run the C++ preprocessor... bfin-uclinux-g++ -E

checking for bfin-uclinux-g77... no

checking for bfin-uclinux-xlf... no

checking for bfin-uclinux-f77... no

checking for bfin-uclinux-frt... no

checking for bfin-uclinux-pgf77... no

checking for bfin-uclinux-cf77... no

checking for bfin-uclinux-fort77... no

checking for bfin-uclinux-fl32... no

checking for bfin-uclinux-af77... no

checking for bfin-uclinux-xlf90... no

checking for bfin-uclinux-f90... no

checking for bfin-uclinux-pgf90... no

checking for bfin-uclinux-pghpf... no

checking for bfin-uclinux-epcf90... no

checking for bfin-uclinux-gfortran... bfin-uclinux-gfortran

checking whether we are using the GNU Fortran 77 compiler... yes

checking whether bfin-uclinux-gfortran accepts -g... yes

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

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

checking for objdir... .libs

checking for bfin-uclinux-ar... bfin-uclinux-ar

checking for bfin-uclinux-ranlib... bfin-uclinux-ranlib

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

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

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

checking if bfin-uclinux-gcc PIC flag -fPIC works... yes

checking if bfin-uclinux-gcc static flag -static works... yes

checking if bfin-uclinux-gcc supports -c -o file.o... 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

configure: creating libtool

appending configuration tag "CXX" to libtool

checking for ld used by bfin-uclinux-g++... bfin-uclinux-ld

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

checking whether the bfin-uclinux-g++ linker (bfin-uclinux-ld) supports shared libraries... no

checking for bfin-uclinux-g++ option to produce PIC... -fPIC

checking if bfin-uclinux-g++ PIC flag -fPIC works... yes

checking if bfin-uclinux-g++ static flag -static works... yes

checking if bfin-uclinux-g++ supports -c -o file.o... yes

checking whether the bfin-uclinux-g++ linker (bfin-uclinux-ld) supports shared libraries... no

checking dynamic linker characteristics... no

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

appending configuration tag "F77" to libtool

checking if libtool supports shared libraries... no

checking whether to build shared libraries... no

checking whether to build static libraries... yes

checking for bfin-uclinux-gfortran option to produce PIC... -fPIC

checking if bfin-uclinux-gfortran PIC flag -fPIC works... yes

checking if bfin-uclinux-gfortran static flag -static works... yes

checking if bfin-uclinux-gfortran supports -c -o file.o... yes

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

checking dynamic linker characteristics... no

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

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

checking malloc.h usability... yes

checking malloc.h presence... yes

checking for malloc.h... 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... yes

checking for size_t... yes

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

checking for working strtod... no

checking for pow... no

checking for pow in -lm... yes

checking for memset... yes

checking for pow... (cached) no

checking for pow in -lm... (cached) yes

checking for zlibVersion in -lz... no

configure: error: zlib not installed

make[2]: *** [build-libpng-1.2.24/Makefile] Error 1

make[2]: Leaving directory `/home/install/uClinux-dist-2008R1-RC2/lib/libpng'

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

make[1]: Leaving directory `/home/install/uClinux-dist-2008R1-RC2/lib'

make: *** [lib/libpng_only] Error 2

[root@tombor-xp uClinux-dist-2008R1-RC2]#

 

 

Peter

QuoteReplyEditDelete

 

 

2008-03-05 05:24:43     Re: 2008R1-RC2 build problems

Mike Frysinger (UNITED STATES)

Message: 52089    repost the config.log

QuoteReplyEditDelete

 

 

2008-03-05 05:35:29     Re: 2008R1-RC2 build problems

Peter Budenszki (HUNGARY)

Message: 52090    Hi,

 

attached.

 

Peter

config.log

QuoteReplyEditDelete

 

 

2008-03-05 05:56:04     Re: 2008R1-RC2 build problems

Mike Frysinger (UNITED STATES)

Message: 52093    that indicates that tools/ is not being prefixed to your PATH and/or the symlinks in there are not being generated properly

 

verify you have symlinks in tools/ for the bfin-uclinux compiler that all point to staging-compiler

QuoteReplyEditDelete

 

 

2008-03-05 07:31:31     Re: 2008R1-RC2 build problems

Peter Budenszki (HUNGARY)

Message: 52095    Hi,

 

what does "staging-compiler" mean in this case?

QuoteReplyEditDelete

 

 

2008-03-05 10:19:28     Re: 2008R1-RC2 build problems

Mike Frysinger (UNITED STATES)

Message: 52105    look in the tools directory ... it's a wrapper script

Attachments

Outcomes