public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
From: Marc Glisse <marc.glisse@inria.fr>
To: John Dubchak <lists@johndubchak.com>
Cc: gcc-help@gcc.gnu.org
Subject: Re: Compile error: 'siginfo_t' is not declared using gcc-4.8.2 on RedHat, 6.4
Date: Mon, 27 Jan 2014 22:20:00 -0000	[thread overview]
Message-ID: <alpine.DEB.2.10.1401272314560.4027@laptop-mg.saclay.inria.fr> (raw)
In-Reply-To: <52E6D62D.30804@johndubchak.com>

On Mon, 27 Jan 2014, John Dubchak wrote:

> However, after installing it with 'make' and 'make install' and
> compiling with C++11 support using:
>
> /usr/local/gcc-4.8.2/bin/g++-48 -v -std=c++11 -c -I . -I 
> ./workspace/http/http-server/src -I ./jsoncpp-src-0.5.0/include -Wall 
> main.cpp -o main.o
>
> I get this error:
>
> In file included from main.cpp:14:
> /usr/include/sys/wait.h:155:52: error: 'siginfo_t' has not been declared
>  extern int waitid (idtype_t __idtype, __id_t __id, siginfo_t *__infop,
>                                                     ^
>
> Here is the code that generates the error:
>
> #include <sys/wait.h>

man waitpid

SYNOPSIS
        #include <sys/types.h>
        #include <sys/wait.h>

Did you try that?

-- 
Marc Glisse

  reply	other threads:[~2014-01-27 22:20 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-01-27 21:57 John Dubchak
2014-01-27 22:20 ` Marc Glisse [this message]
2014-01-27 22:39   ` John Dubchak
2014-01-27 22:44     ` Jonathan Wakely
     [not found]       ` <52E6E3CB.3050503@johndubchak.com>
     [not found]         ` <CAH6eHdSnAaFvtopT_UsLfStWPaVqfLX8vei4OO8H=a=XC=1OLg@mail.gmail.com>
     [not found]           ` <52E6EE2E.5040909@johndubchak.com>
     [not found]             ` <CAH6eHdQ=QnbjN4VHexhbbZuOK3P4eAeYfXefcC1DqfkDxbUB5w@mail.gmail.com>
2014-01-28  0:20               ` John Dubchak
2014-01-28  1:51                 ` Jonathan Wakely
2014-01-28 18:10                   ` John Dubchak
2014-01-28 18:22                     ` John Dubchak
2014-01-28 18:47                       ` Jonathan Wakely
2014-01-28 18:42                     ` Jonathan Wakely
2014-01-27 21:57 John Dubchak

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=alpine.DEB.2.10.1401272314560.4027@laptop-mg.saclay.inria.fr \
    --to=marc.glisse@inria.fr \
    --cc=gcc-help@gcc.gnu.org \
    --cc=lists@johndubchak.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).