Skip to content

make all fails on Ubuntu 17.10 - field 'pr_altstack' has incomplete type #135

@wolfbo

Description

@wolfbo

please find the tty-coloured output in this file (simply cat it in CLI)
https://drive.google.com/file/d/1O2vxf9VxGq0ehKs7RmejEJdN_yJv4_u-/view?usp=sharing

In file included from Pgcore.c:42:0: ../../linux/sys/old_procfs.h:58:29: error: field 'pr_altstack' has incomplete type struct sigaltstack pr_altstack; /* Alternate signal stack info */ ^~~~~~~~~~~
and at the end:
<builtin>: recipe for target 'Pgcore.o' failed make[2]: *** [Pgcore.o] Error 1 rm Pexecname.o P32ton.o Pcore.o Pcontrol.o makefile:76: recipe for target 'do_cmds' failed make[1]: *** [do_cmds] Error 2 tools/bug.sh
This may well be an issue only with newer kernels.
$ uname -a Linux nb 4.13.0-36-generic #40-Ubuntu SMP Fri Feb 16 20:07:48 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux

Activity

pierricgimmig

pierricgimmig commented on Jul 10, 2018

@pierricgimmig

I get the same error on Ubuntu 18.04. Any news on this issue? Thanks.

In file included from Pgcore.c:42:0:
../../linux/sys/old_procfs.h:58:29: error: field 'pr_altstack' has incomplete type
struct sigaltstack pr_altstack; /* Alternate signal stack info */

tanmaysachan

tanmaysachan commented on Apr 21, 2019

@tanmaysachan

Any updates on this?

sebastianpiskorski

sebastianpiskorski commented on Sep 9, 2019

@sebastianpiskorski

There is no response for a year and a half. Is this still maintained?

nisargshah95

nisargshah95 commented on Aug 4, 2020

@nisargshah95

For some reason the definition of struct sigaltstack in linux/sys/signal.h seems to be commented out.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @nisargshah95@pierricgimmig@wolfbo@sebastianpiskorski@tanmaysachan

        Issue actions

          make all fails on Ubuntu 17.10 - field 'pr_altstack' has incomplete type · Issue #135 · dtrace4linux/linux