Re: Compile error: 'siginfo_t' is not declared using gcc-4.8.2 on RedHat, 6.4

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 28 January 2014 18:09, John Dubchak wrote:
> That's what brings me to the list, I am verifying if I have built gcc
> incorrectly or trying to determine other potential causes of this error.

It's far more likely to be user error rather than a problem with your
GCC build (although I have to wonder why you passed so many redundant
options to the GCC configure script, including specifying
--with-arch_32 at the same time as --disable-multilib).

> Also, in the preprocessed output from yesterday, I verified that siginfo_t
> is being defined:

In  that case one possibility is that you haven't closed a namespace
properly. e.g. if you #include <signal.h> inside a namespace block,
then #include <sys/wait.h> outside the block, it won't be able to find
siginfo_t, because it was declared as something like foo::siginfo_t.

Trying to debug your code from incomplete snippets is impossible.
Please reduce your code to the smallest example that reproduces the
problem, and then show us that.  If you can't reproduce the problem
with a reduced example, examine what's different between it and your
real code.




[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux