This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
build/2401: sys/procfs.h "Present But Cannot Be Compiled"
- From: tom at software6 dot net
- To: gdb-gnats at sources dot redhat dot com
- Date: 9 Jan 2008 19:44:30 -0000
- Subject: build/2401: sys/procfs.h "Present But Cannot Be Compiled"
- Reply-to: tom at software6 dot net
>Number: 2401
>Category: build
>Synopsis: sys/procfs.h "Present But Cannot Be Compiled"
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: unassigned
>State: open
>Class: change-request
>Submitter-Id: net
>Arrival-Date: Wed Jan 09 19:48:01 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator: tom@software6.net
>Release: unknown-1.0
>Organization:
>Environment:
Yellowdog 3. Linux 2.4. GCC 4.1.1.
# uname -a
Linux kitchen 2.4.19-Ismp #2 SMP Wed Jan 4 07:05:36 EST 2006 ppc ppc ppc GNU/Linux
>Description:
checking sys/procfs.h usability... no^M
checking sys/procfs.h presence... yes^M
configure: WARNING: sys/procfs.h: present but cannot be compiled^M
configure: WARNING: sys/procfs.h: check for missing prerequisite headers?^M
configure: WARNING: sys/procfs.h: see the Autoconf documentation^M
configure: WARNING: sys/procfs.h: section "Present But Cannot Be Compiled"^M
configure: WARNING: sys/procfs.h: proceeding with the preprocessor's result^M
configure: WARNING: sys/procfs.h: in the future, the compiler will take precedence^M
configure: WARNING: ## ------------------------------------------ ##^M
configure: WARNING: ## Report this to the AC_PACKAGE_NAME lists. ##^M
configure: WARNING: ## ------------------------------------------ ##^M
checking for sys/procfs.h... yes^M
checking for prstatus_t in sys/procfs.h... no^M
checking for prstatus32_t in sys/procfs.h... no^M
checking for prstatus_t.pr_who in sys/procfs.h... no^M
checking for prstatus32_t.pr_who in sys/procfs.h... no^M
checking for pstatus_t in sys/procfs.h... no^M
checking for pxstatus_t in sys/procfs.h... no^M
checking for pstatus32_t in sys/procfs.h... no^M
checking for prpsinfo_t in sys/procfs.h... no^M
checking for prpsinfo32_t in sys/procfs.h... no^M
checking for psinfo_t in sys/procfs.h... no^M
checking for psinfo32_t in sys/procfs.h... no^M
checking for lwpstatus_t in sys/procfs.h... no^M
checking for lwpxstatus_t in sys/procfs.h... no^M
checking for lwpstatus_t.pr_context in sys/procfs.h... no^M
checking for lwpstatus_t.pr_reg in sys/procfs.h... no^M
checking for win32_pstatus_t in sys/procfs.h... no^M
See also: http://www.cs.cmu.edu/cgi-bin/info2www?(autoconf.info)Present%20But%20Cannot%20Be%20Compiled
And:
[root@kitchen tmp]# cat test1.c
#include <sys/procfs.h>
[root@kitchen tmp]# gcc -c test1.c
In file included from test1.c:1:
/usr/include/sys/procfs.h:58: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'elf_vrreg_t'
/usr/include/sys/procfs.h:59: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'elf_vrregset_t'
[root@kitchen tmp]# cat test2.c
#include <asm/elf.h>
#include <sys/procfs.h>
[root@kitchen tmp]# gcc -c test2.c
In file included from test2.c:2:
/usr/include/sys/procfs.h:58: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'elf_vrreg_t'
[root@kitchen tmp]# rpm -qf /usr/include/sys/procfs.h
glibc-devel-2.3.1-51a
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted: