Article [#4575] Build kernel failed at strace application

[#4575] Build kernel failed at strace application

Submitted By: Vivi Li

Open Date

2008-10-30 03:08:24     Close Date

2008-10-31 04:35:19

Priority:

Medium     Assignee:

Mike Frysinger

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:

Fixed

Uboot version or rev.:

    Toolchain version or rev.:

toolchain-2008_Oct_10

App binary format:

N/A     

Summary: Build kernel failed at strace application

Details:

Build kernel failed at strace application.

Bellow is the log when build 548 kernel.

--

checking for struct sigcontext.sc_hi2... no

checking whether sys_errlist is declared... no

checking whether sys_siglist is declared... no

checking whether _sys_siglist is declared... no

checking for perl... /usr/bin/perl

configure: creating ./config.status

config.status: creating Makefile

config.status: creating config.h

config.status: executing depfiles commands

configure: WARNING: Unrecognized options: --enable-fast-install

if ! CPP=bfin-uclinux-gcc BUILD_CC=gcc ./check-entities.sh /home/test/work/cruise/checkouts/uclinux-dist/linux-2.6.x blackfin strace-4.5.18 bfin       ; then [ -d .svn ] && exit 1 ; fi

Strace: bfin in strace-4.5.18

Kernel: blackfin in /home/test/work/cruise/checkouts/uclinux-dist/linux-2.6.x

errno list ... awk: cmd. line:2: (FILENAME=/home/test/work/cruise/checkouts/uclinux-dist/linux-2.6.x/include/asm-generic/errno.h FNR=109) fatal: cannot open file `/home/test/work/cruise/checkouts/uclinux-dist/linux-2.6.x/include/asm-blackfin/*errno*.h' for reading (No such file or directory)

FAIL! (see /home/test/work/cruise/checkouts/uclinux-dist/user/strace/strace-4.5.18/errnoent.h)

ioctl list ... FAIL! (see /home/test/work/cruise/checkouts/uclinux-dist/user/strace/strace-4.5.18/ioctlent.h)

signal list ... cat: /home/test/work/cruise/checkouts/uclinux-dist/linux-2.6.x/include/asm-blackfin/signal.h: No such file or directory

FAIL! (see /home/test/work/cruise/checkouts/uclinux-dist/user/strace/strace-4.5.18/signalent.h)

syscall list ... cat: /home/test/work/cruise/checkouts/uclinux-dist/linux-2.6.x/include/asm-blackfin/unistd.h: No such file or directory

FAIL! (see /home/test/work/cruise/checkouts/uclinux-dist/user/strace/strace-4.5.18/syscallent.h)

make[3]: *** [.check] Error 1

--

Follow-ups

--- Mike Frysinger                                           2008-10-30 11:40:03

should be fixed now

--- Mingquan Pan                                             2008-10-31 04:09:09

why I am still get following error(with trunk head toolchain, uclinux svn

7288):

make[3]: Leaving directory

`/home/test/work/cruise/checkouts/uclinux-dist/user/whetstone'

bfin-uclinux-gcc -DHAVE_CONFIG_H -I. -I../strace-4.5.18 -Ilinux/bfin

-I../strace-4.5.18/linux/bfin -Ilinux -I../strace-4.5.18/linux  -DEMBED

-D__uClinux__ -I/home/test/work/cruise/checkouts/uclinux-dist  -mcpu=bf537-0.2

-Wall -pipe -Wall -g -O2      -mcpu=bf537-0.2 -c ../strace-4.5.18/util.c

make[3]: Entering directory

`/home/test/work/cruise/checkouts/uclinux-dist/user/version'

  GEN   

/home/test/work/cruise/checkouts/uclinux-dist/user/busybox/build-busybox-1.12.1/Makefile

bfin-uclinux-gcc -pipe -Wall -g -O2      -mcpu=bf537-0.2 -DEMBED -D__uClinux__

-I/home/test/work/cruise/checkouts/uclinux-dist  -mcpu=bf537-0.2  -c -o

version.o version.c

  Using

/home/test/work/cruise/checkouts/uclinux-dist/user/busybox/busybox-1.12.1 as

source for busybox

bfin-uclinux-gcc -pipe -Wall -g -O2      -mcpu=bf537-0.2 -DEMBED -D__uClinux__

-I/home/test/work/cruise/checkouts/uclinux-dist  -mcpu=bf537-0.2  -c -o stamp.o

stamp.c

bfin-uclinux-gcc  -Wl,-elf2flt    -mcpu=bf537-0.2 -o version version.o

In file included from ../strace-4.5.18/syscall.c:129:

../strace-4.5.18/linux/bfin/syscallent.h:391: error:

鈥榮ys_signalfd4鈥�undeclared here (not in a function)

../strace-4.5.18/linux/bfin/syscallent.h:392: error:

鈥榮ys_eventfd2鈥�undeclared here (not in a function)

../strace-4.5.18/linux/bfin/syscallent.h:393: error:

鈥榮ys_epoll_create1鈥�undeclared here (not in a function)

../strace-4.5.18/linux/bfin/syscallent.h:394: error:

鈥榮ys_dup3鈥�undeclared here (not in a function)

../strace-4.5.18/linux/bfin/syscallent.h:395: error:

鈥榮ys_pipe2鈥�undeclared here (not in a function)

../strace-4.5.18/linux/bfin/syscallent.h:396: error:

鈥榮ys_inotify_init1鈥�undeclared here (not in a function)

make[5]: *** [syscall.o] Error 1

make[5]: *** Waiting for unfinished jobs....

make[3]: Leaving directory

`/home/test/work/cruise/checkouts/uclinux-dist/user/version'

make[5]: Leaving directory

`/home/test/work/cruise/checkouts/uclinux-dist/user/strace/build-strace-4.5.18'

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

make[4]: Leaving directory

`/home/test/work/cruise/checkouts/uclinux-dist/user/strace/build-strace-4.5.18'

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

make[3]: Leaving directory

`/home/test/work/cruise/checkouts/uclinux-dist/user/strace'

make[2]: *** [strace] Error 2

--- Mike Frysinger                                           2008-10-31 04:20:55

should be fixed now

--- Mingquan Pan                                             2008-10-31 05:35:22

Yes,close this.

    Files

    Changes

    Commits

    Dependencies

    Duplicates

    Associations

    Tags

File Name     File Type     File Size     Posted By

No Files Were Found

Before You Switch


Switching languages will make ADI Explorer unavailable. Resume your session by switching back to English and reopening ADI Explorer.