[oi-dev] Error Compiling marco

Udo Grabowski (IMK) udo.grabowski at kit.edu
Wed Jul 6 09:43:54 UTC 2016


On 06/07/2016 11:33, Till Wegmüller wrote:
>
> I am currently trying to compile the mate window manager marco.
> But unfortunatly i get the attached error.
 > /usr/include/signal.h:144:26: error: unknown type name ‘sigset_t’
 > extern int sigwait(const sigset_t *_RESTRICT_KYWD, int *_RESTRICT_KYWD);
>
> Do you have any suggestions on how to fix it?

sigset_t is included via sys/signal.h, which wrappes it in this
ifdef (oi151a9):

#if defined(__EXTENSIONS__) || defined(_KERNEL) || !defined(_STRICT_STDC) || \
	defined(__XOPEN_OR_POSIX)

So it needs having at least one of -D__EXTENSIONS__ or -D__XOPEN_OR_POSIX
set.


-- 
Dr.Udo Grabowski   Inst.f.Meteorology & Climate Research IMK-ASF-SAT
http://www.imk-asf.kit.edu/english/sat.php
KIT - Karlsruhe Institute of Technology           http://www.kit.edu
Postfach 3640,76021 Karlsruhe,Germany T:(+49)721 608-26026 F:-926026

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 5285 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://openindiana.org/pipermail/oi-dev/attachments/20160706/b07ff556/attachment-0005.bin>


More information about the oi-dev mailing list