Article [#4716] [ltp] fail to build ltp test case ptrace04 in latest ltp-full-20081130 upstream

[#4716] [ltp] fail to build ltp test case ptrace04 in latest ltp-full-20081130 upstream

Submitted By: Vivi Li

Open Date

2008-12-11 04:41:22     Close Date

2008-12-15 03:11:17

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:

Fixed

Uboot version or rev.:

    Toolchain version or rev.:

toolchain 4.1-2008_Dec_03

App binary format:

N/A     

Summary: [ltp] fail to build ltp test case ptrace04 in latest ltp-full-20081130 upstream

Details:

When I try to update our ltp to latest ltp-full-20081130 upstream, it fails to build ltp test case ptrace04.

--

test@107-local:~/ltp-full-20081130/testcases/kernel/syscalls/ptrace> bfin-uclinux-gcc -Wall -D__uClinux__ -Dlinux -mstack-check-l1 -DUCLINUX -I../../include -g -Wall -I../../../../include -Wall  -Wl,-elf2flt="-s 32768" -static  ptrace04.c  -L../../../../lib -lltp -o ptrace04

In file included from ptrace04.c:21:

spawn_ptrace_child.h: In function ‘child_signal’:

spawn_ptrace_child.h:37: warning: implicit declaration of function ‘strsignal’

spawn_ptrace_child.h: At top level:

spawn_ptrace_child.h:97: error: ‘PTRACE_GETSIGINFO’ undeclared here (not in a function)

spawn_ptrace_child.h:97: error: array index in initializer not of integer type

spawn_ptrace_child.h:97: error: (near initialization for ‘strings’)

spawn_ptrace_child.h:98: error: ‘PTRACE_SETSIGINFO’ undeclared here (not in a function)

spawn_ptrace_child.h:98: error: array index in initializer not of integer type

spawn_ptrace_child.h:98: error: (near initialization for ‘strings’)

test@107-local:~/ltp-full-20081130/testcases/kernel/syscalls/ptrace>

--

Follow-ups

--- Mike Frysinger                                           2008-12-11 04:53:50

ive updated the ptrace.h in uClibc to match the latest glibc version

--- Vivi Li                                                  2008-12-15 03:11:17

OK now. Close it. Thanks!

    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.