[#5481] build kernel image fails for no lib found on trunk head

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

[#5481] build kernel image fails for no lib found on trunk head

Submitted By: Mingquan Pan

Open Date

2009-09-02 19:08:45     Close Date

2009-09-03 18:16:34

Priority:

Medium     Assignee:

Mike Frysinger

Status:

Closed     Fixed In Release:

N/A

Found In Release:

2010R1     Release:

Category:

N/A     Board:

N/A

Processor:

BF537     Silicon Revision:

Is this bug repeatable?:

Yes     Resolution:

Fixed

Uboot version or rev.:

    Toolchain version or rev.:

09r1-rc9

App binary format:

N/A     

Summary: build kernel image fails for no lib found on trunk head

Details:

 

build kernel image fails for no lib found on trunk head .

 

make[1]: Leaving directory `/home/test/work/cruise/checkouts/uclinux-dist/linux-2.6.x'^M

Guessed module directory as /home/test/work/cruise/checkouts/uclinux-dist/romfs/lib/modules/2.6.30.5-ADI-2010R1-pre-svn7259^M

make ARCH=blackfin   -C vendors romfs.post^M

make[1]: Entering directory `/home/test/work/cruise/checkouts/uclinux-dist/vendors'^M

make -C /home/test/work/cruise/checkouts/uclinux-dist/vendors/AnalogDevices/BF537-STAMP/. dir_v=/home/test/work/cruise/checkouts/uclinux-dist/vendors/AnalogDevices/BF537-STAMP/. -f /home/test/work/cruise/checkouts/uclinux-dist/vendors/vendors-common.mak romfs.post^M

make[2]: Entering directory `/home/test/work/cruise/checkouts/uclinux-dist/vendors/AnalogDevices/BF537-STAMP'^M

set -e; \^M

        t=`bfin-uclinux-gcc -mcpu=bf537-0.2 -print-file-name=libc.a`; \^M

        t=`dirname $t`/../..; \^M

        for i in $t/lib/*so*; do \^M

                i=`readlink -f "$i"`; \^M

                soname=`bfin-uclinux-readelf -d "$i" | sed -n '/(SONAME)/s:.*[[]\(.*\)[]].*:\1:p'`; \^M

                romfs-inst.sh -d -p 755 $i /lib/$soname; \^M

        done; \^M

        if [ "" = "y" ] ; then \^M

                /home/test/work/cruise/checkouts/uclinux-dist/vendors/AnalogDevices/trim-libs.sh; \^M

        fi; \^M

        if type bfin-uclinux-ldconfig >/dev/null 2>&1; then \^M

                bfin-uclinux-ldconfig -r /home/test/work/cruise/checkouts/uclinux-dist/romfs; \^M

        fi^M

readelf: Error: '/opt/uClinux/bfin-uclinux/bfin-uclinux/runtime/lib/*so*': No such file^M

cp: cannot stat `/opt/uClinux/bfin-uclinux/bfin-uclinux/runtime/lib/*so*': No such file or directory^M

make[2]: *** [romfs.shared.libs] Error 1^M

make[2]: Leaving directory `/home/test/work/cruise/checkouts/uclinux-dist/vendors/AnalogDevices/BF537-STAMP'^M

make[1]: *** [romfs.post] Error 2^M

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

make: *** [romfs.post] Error 2^M

                                                         

 

failed revision: linux 7259 uclinux-dist 8812

 

last passed revision : linux 7256 uclinux-dist 8794                         

 

Follow-ups

 

--- Mike Frysinger                                           2009-09-03 12:25:49

the unification from nios wasnt entirely correct for us, so i fixed it up and

things should work again

 

--- Mingquan Pan                                             2009-09-03 23:17:42

Yes,fixed. Close.

 

 

 

    Files

    Changes

    Commits

    Dependencies

    Duplicates

    Associations

    Tags

 

File Name     File Type     File Size     Posted By

No Files Were Found

Attachments

    Outcomes