where is the definition of idtype_t supposed to live?

Florian Weimer fw@deneb.enyo.de
Mon Oct 23 13:57:00 GMT 2017


* John Lumby:

> I recently built and installed glibc-2.24 myself and hit a problem while 
> compiling an application which calls wait() :
>
> /usr/include/x86_64-linux-gnu/sys/wait.h:148:20: error: unknown type 
> name ‘idtype_t’
>   extern int waitid (idtype_t __idtype, __id_t __id, siginfo_t *__infop,
>                      ^

You need to look at gcc -E output to see where the compiling is
picking up the definitions.  The glibc-provided header files are
consistent in this regard.

A possible explanation is that you installed new versions of the
header files into non-multi-arch paths, and GCC does not pick them up
because they are shadowed by older header files in multi-arch paths.

I'm not sure if Debian ever offered to contribute the multi-arch
header path changes upstream, but it's currently not possible to run
”make install” on an upstream tree and get a directory layout which is
compatible with Debian and downstreams.

Please avoid posting new questions to existing thread in the future.



More information about the Libc-help mailing list