This is the mail archive of the gdb-prs@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

build/2217: linux-low.c: In function `kill_lwp': error: `__NR_tkill' undeclared


>Number:         2217
>Category:       build
>Synopsis:       linux-low.c: In function `kill_lwp': error: `__NR_tkill' undeclared
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Jan 14 20:38:02 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator:     Chris Wilson
>Release:        gdb-6.6
>Organization:
>Environment:
Linux Fedora Core 2 on i386
glibc-2.3.3-27.1
gcc version 3.3.3 20040412 (Red Hat Linux 3.3.3-7)
>Description:
./configure && make
[...]
gcc -c  -Wall -g -O2    -I. -I../.././gdb/gdbserver -I../.././gdb/gdbserver/../regformats -I../.././gdb/gdbserver/../../include -I../../bfd -I../.././gdb/gdbserver/../../bfd linux-low.c -DUSE_THREAD_DB
linux-low.c: In function `kill_lwp':
linux-low.c:767: error: `__NR_tkill' undeclared (first use in this function)
linux-low.c:767: error: (Each undeclared identifier is reported only once
linux-low.c:767: error: for each function it appears in.)
make[4]: *** [linux-low.o] Error 1
make[4]: Leaving directory `/tmp/gdb-6.6/gdb/gdbserver'
make[3]: *** [subdir_do] Error 1
make[3]: Leaving directory `/tmp/gdb-6.6/gdb'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/tmp/gdb-6.6/gdb'
make[1]: *** [all-gdb] Error 2
make[1]: Leaving directory `/tmp/gdb-6.6'
make: *** [all] Error 2
>How-To-Repeat:
./configure && make
>Fix:
Replace line 767 with:

#if defined SYS_tkill && defined __NR_tkill
>Release-Note:
>Audit-Trail:
>Unformatted:


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]