[#4032] libncurses.so.5 can't produced in fdpic on bf537

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

[#4032] libncurses.so.5 can't produced in fdpic on bf537

Submitted By: Mingquan Pan

Open Date

2008-04-14 06:52:21     Close Date

2008-04-22 02:34:02

Priority:

Medium     Assignee:

Nobody

Status:

Closed     Fixed In Release:

N/A

Found In Release:

N/A     Release:

Category:

N/A     Board:

N/A

Processor:

N/A     Silicon Revision:

Is this bug repeatable?:

Yes     Resolution:

N/A

Uboot version or rev.:

    Toolchain version or rev.:

08r1-8

App binary format:

N/A     

Summary: libncurses.so.5 can't produced in fdpic on bf537

Details:

 

when building ad1836 etc which would include libncurses automatically,it would always says libncurses.so.5 can't produced in fdpic on bf537.

 

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

cd ncurses && 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.6/ncurses'

bfin-linux-uclibc-gcc -DHAVE_CONFIG_H -I../ncurses -I../../ncurses-5.6/ncurses -I../../ncurses-5.6/ncurses/../include -I. -I../include -DEMBED -D__uClinux_

_ -I/home/test/work/cruise/checkouts/uclinux-dist  -mcpu=bf537-0.2 -D_GNU_SOURCE -DNDEBUG -pipe -Wall -g -O2      -mcpu=bf537-0.2 -c ../../ncurses-5.6/ncur

ses/tty/hardscroll.c -o ../objects/hardscroll.o

bfin-linux-uclibc-gcc -DHAVE_CONFIG_H -I../ncurses -I../../ncurses-5.6/ncurses -I../../ncurses-5.6/ncurses/../include -I. -I../include -DEMBED -D__uClinux_

_ -I/home/test/work/cruise/checkouts/uclinux-dist  -mcpu=bf537-0.2 -D_GNU_SOURCE -DNDEBUG -pipe -Wall -g -O2      -mcpu=bf537-0.2 -c ../../ncurses-5.6/ncur

ses/tty/hashmap.c -o ../objects/hashmap.o

bfin-linux-uclibc-gcc -DHAVE_CONFIG_H -I../ncurses -I../../ncurses-5.6/ncurses -I../../ncurses-5.6/ncurses/../include -I. -I../include -DEMBED -D__uClinux_

_ -I/home/test/work/cruise/checkouts/uclinux-dist  -mcpu=bf537-0.2 -D_GNU_SOURCE -DNDEBUG -pipe -Wall -g -O2      -mcpu=bf537-0.2 -c ../../ncurses-5.6/ncur

ses/base/lib_addch.c -o ../objects/lib_addch.o

bfin-linux-uclibc-gcc -DHAVE_CONFIG_H -I../ncurses -I../../ncurses-5.6/ncurses -I../../ncurses-5.6/ncurses/../include -I. -I../include -DEMBED -D__uClinux_

_ -I/home/test/work/cruise/checkouts/uclinux-dist  -mcpu=bf537-0.2 -D_GNU_SOURCE -DNDEBUG -pipe -Wall -g -O2      -mcpu=bf537-0.2 -c ../../ncurses-5.6/ncur

ses/base/lib_addstr.c -o ../objects/lib_addstr.o

bfin-linux-uclibc-gcc -DHAVE_CONFIG_H -I../ncurses -I../../ncurses-5.6/ncurses -I../../ncurses-5.6/ncurses/../include -I. -I../include -DEMBED -D__uClinux_

_ -I/home/test/work/cruise/checkouts/uclinux-dist  -mcpu=bf537-0.2 -D_GNU_SOURCE -DNDEBUG -pipe -Wall -g -O2      -mcpu=bf537-0.2 -c ../../ncurses-5.6/ncur

ses/base/lib_beep.c -o ../objects/lib_beep.o

bfin-linux-uclibc-gcc -DHAVE_CONFIG_H -I../ncurses -I../../ncurses-5.6/ncurses -I../../ncurses-5.6/ncurses/../include -I. -I../include -DEMBED -D__uClinux_

_ -I/home/test/work/cruise/checkouts/uclinux-dist  -mcpu=bf537-0.2 -D_GNU_SOURCE -DNDEBUG -pipe -Wall -g -O2      -mcpu=bf537-0.2 -c ../../ncurses-5.6/ncur

ses/base/lib_bkgd.c -o ../objects/lib_bkgd.o

bfin-linux-uclibc-gcc -DHAVE_CONFIG_H -I../ncurses -I../../ncurses-5.6/ncurses -I../../ncurses-5.6/ncurses/../include -I. -I../include -DEMBED -D__uClinux_

_ -I/home/test/work/cruise/checkouts/uclinux-dist  -mcpu=bf537-0.2 -D_GNU_SOURCE -DNDEBUG -pipe -Wall -g -O2      -mcpu=bf537-0.2 -c ../../ncurses-5.6/ncur

ses/base/lib_box.c -o ../objects/lib_box.o

bfin-linux-uclibc-gcc -DHAVE_CONFIG_H -I../ncurses -I../../ncurses-5.

..a - ../objects/key_defined.o

a - ../objects/keybound.o

a - ../objects/keyok.o

a - ../objects/version.o

bfin-linux-uclibc-ranlib ../lib/libncurses.a

installing ../lib/libncurses.a as /home/test/work/cruise/checkouts/uclinux-dist/staging/usr/lib/libncurses.a

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

linking libcurses.a to libncurses.a

(cd /home/test/work/cruise/checkouts/uclinux-dist/staging/usr/lib && ln -s libncurses.a libcurses.a)

bfin-linux-uclibc-ranlib /home/test/work/cruise/checkouts/uclinux-dist/staging/usr/lib/libncurses.a

bfin-linux-uclibc-gcc -DHAVE_CONFIG_H -I../ncurses -I../../ncurses-5.6/ncurses -I../../ncurses-5.6/ncurses/../include -I. -I../include -DEMBED -D__uClinux__ -I/home/test/work/cruise/checkouts/uclinux-dist  -mcpu=bf537-0.2 -D_GNU_SOURCE -DNDEBUG -pipe -Wall -g -O2      -mcpu=bf537-0.2 -g -DTRACE -c ../../ncurses-5.6/ncurses/tty/hardscroll.c -o ../obj_g/hardscroll.o

bfin-linux-uclibc-gcc -DHAVE_CONFIG_H -I../ncurses -I../../ncurses-5.6/ncurses -I../../ncurses-5.6/ncurses/../include -I. -I../include -DEMBED -D__uClinux__ -I/home/test/work/cruise/checkouts/uclinux-dist  -mcpu=bf537-0.2 -D_GNU_SOURCE -DNDEBUG -pipe -Wall -g -O2      -mcpu=bf537-0.2 -g -DTRACE -c ../../ncurses-5.6/ncurses/tty/hashmap.c -o ../obj_g/hashmap.o

bfin-linux-uclibc-gcc -DHAVE_CONFIG_H -I../ncurses -I../../ncurses-5.6/ncurses -I../../ncurses-5.6/ncurses/../include -I. -I../include -DEMBED -D__uClinux__ -I/home/test/work/cruise/checkouts/uclinux-dist  -mcpu=bf537-0.2 -D_GNU_SOURCE -DNDEBUG -pipe -Wall -g -O2      -mcpu=bf537-0.2 -g -DTRACE -c ../../ncurses-5.6/ncurses/base/lib_addch.c -o ../obj_g/lib_addch.o

bfin-linux-uclibc-gcc -DHAVE_CONFIG_H -I../ncurses -I../../ncurses-5.6/ncurses -I../../ncurses-5.6/ncurses/../include -I. -I../include -DEMBED -D__uClinux__ -I/home/test/work/cruise/checkouts/uclinux-dist  -mcpu=bf537-0.2 -D_

...

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

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

romfs-inst.sh -e CONFIG_FMT_USE_FDPIC_ELF /home/test/work/cruise/checkouts/uclinux-dist/staging/usr/lib/libncurses.so.5 /lib/

cp: cannot stat `/home/test/work/cruise/checkouts/uclinux-dist/staging/usr/lib/libncurses.so.5': No such file or directory

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

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

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

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

make: *** [romfs.subdirs] Error 1

 

 

Follow-ups

 

--- Mike Frysinger                                           2008-04-14 14:52:27

i used the wrong configure flag ... should be fixed

 

--- Mingquan Pan                                             2008-04-14 23:39:45

How is it still with this error by rechecking out and rebuilding the

ncurses(with the checkin 6561) here?

 

--- Vivi Li                                                  2008-04-16 22:18:51

I can still see this error in latest svn version 6576 and several cases failed

in building kernel.

 

--- Mike Frysinger                                           2008-04-21 05:02:30

then someone local will have to take a look as it works fine for me:

$ rm -rf staging

$ make lib/ncurses/_{clean,only,romfs}

...configure ... --with-shared ...

...

checking if you want to build shared libraries... yes

...

$ file staging/usr/lib/libncurses.so.5.6 romfs/lib/libncurses.so.5

staging/usr/lib/libncurses.so.5.6: ELF 32-bit LSB shared object, Analog Devices

Blackfin, version 1 (SYSV), dynamically linked, not stripped

romfs/lib/libncurses.so.5:         ELF 32-bit LSB shared object, Analog Devices

Blackfin, version 1 (SYSV), dynamically linked, stripped

 

--- Mingquan Pan                                             2008-04-21 23:37:58

I attach the out log of:

make lib/ncurses/_{clean,only,romfs}

 

--- Mingquan Pan                                             2008-04-21 23:49:57

when doing make, it didn't configured with-shared , however in the

config/.config it is selected elf shared libs.(it is attached also.)

 

--- Mike Frysinger                                           2008-04-22 00:14:53

your log shows --enable-shared which indicates you're using an old checkout

 

--- Mike Frysinger                                           2008-04-22 00:21:12

svn was being stupid again ... it wasnt detecting that my makefile was changed.

did a clean checkout of lib/ncurses/ and then svn detected the change.

 

--- Mingquan Pan                                             2008-04-22 02:34:01

Fixed.Close.

 

 

 

    Files

    Changes

    Commits

    Dependencies

    Duplicates

    Associations

    Tags

 

File Name     File Type     File Size     Posted By

ncurse.config    application/octet-stream    44682    Mingquan Pan

nucrse_log    application/octet-stream    245737    Mingquan Pan

Attachments

Outcomes