This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc 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]

[Bug build/20454] New: wait.h:102:22: error: ‘__WAIT_STATUS’ was not declared in this scope


https://sourceware.org/bugzilla/show_bug.cgi?id=20454

            Bug ID: 20454
           Summary: wait.h:102:22: error: ‘__WAIT_STATUS’ was not declared
                    in this scope
           Product: glibc
           Version: unspecified
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: build
          Assignee: unassigned at sourceware dot org
          Reporter: aralni at mail dot ru
                CC: carlos at redhat dot com
  Target Milestone: ---

Hi,

After get bad version of glibc in package in my Debian Sid, i get sources of
glibc, make it and override system version of glibc.
I try glibc-2.24 and version from GIT.

After this many not-running programs stay up to run.

But when i try make new programs from sources give error in same place (in file
/usr/include/i386-linux-gnu/sys/wait.h). Example for wXwidgets compilation:


In file included from ./src/unix/utilsunx.cpp:58:0:
/usr/include/i386-linux-gnu/sys/wait.h:102:22: error: ‘__WAIT_STATUS’ was not
declared in this scope
 extern __pid_t wait (__WAIT_STATUS __stat_loc);
                      ^~~~~~~~~~~~~
In file included from ./src/unix/utilsunx.cpp:58:0:
/usr/include/i386-linux-gnu/sys/wait.h:162:23: error: ‘__WAIT_STATUS’ was not
declared in this scope
 extern __pid_t wait3 (__WAIT_STATUS __stat_loc, int __options,
                       ^~~~~~~~~~~~~
/usr/include/i386-linux-gnu/sys/wait.h:162:49: error: expected
primary-expression before ‘int’
 extern __pid_t wait3 (__WAIT_STATUS __stat_loc, int __options,
                                                 ^~~
/usr/include/i386-linux-gnu/sys/wait.h:163:9: error: expected
primary-expression before ‘struct’
         struct rusage * __usage) __THROWNL;
         ^~~~~~
/usr/include/i386-linux-gnu/sys/wait.h:163:32: error: expression list treated
as compound expression in initializer [-fpermissive]
         struct rusage * __usage) __THROWNL;
                                ^
/usr/include/i386-linux-gnu/sys/wait.h:168:38: error: ‘__WAIT_STATUS’ has not
been declared
 extern __pid_t wait4 (__pid_t __pid, __WAIT_STATUS __stat_loc, int __options,
                                      ^~~~~~~~~~~~~
Makefile:25639: ошибка выполнения рецепта для цели «basedll_utilsunx.o»
make: *** [basedll_utilsunx.o] Ошибка 1

-- 
You are receiving this mail because:
You are on the CC list for the bug.

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