applewm.c:42:34: error: HIServices/Processes.h: No such file or directory
Justin P. Mattock
justinmattock at gmail.com
Sun Jul 19 09:32:04 PDT 2009
Colin Guthrie wrote:
> 'Twas brillig, and Justin Mattock at 18/07/09 00:17 did gyre and gimble:
>
>> Not sure if this is relevant but when compiling
>> libAppleWM on a linux machine I receive this error:
>>
>> applewm.c:42:34: error: HIServices/Processes.h: No such file or directory
>> applewm.c: In function 'XAppleWMSendPSN':
>> applewm.c:355: error: 'ProcessSerialNumber' undeclared (first use in
>> this function)
>> applewm.c:355: error: (Each undeclared identifier is reported only once
>> applewm.c:355: error: for each function it appears in.)
>> applewm.c:355: error: expected ';' before 'psn'
>> applewm.c:356: error: 'OSErr' undeclared (first use in this function)
>> applewm.c:356: error: expected ';' before 'err'
>> applewm.c:362: error: 'err' undeclared (first use in this function)
>> applewm.c:362: warning: implicit declaration of function 'GetCurrentProcess'
>> applewm.c:362: warning: nested extern declaration of 'GetCurrentProcess'
>> applewm.c:362: error: 'psn' undeclared (first use in this function)
>> applewm.c:364: error: 'noErr' undeclared (first use in this function)
>> make[2]: *** [libAppleWM_la-applewm.lo] Error 1
>>
>> Should I even bother with this lib, or should
>> I add some header to compile this lib in?
>>
>
> Oh, *that* was the error I saw too. I just posted a vaguer message about
> this problem.
>
> I was questioning about the usefulness of this lib+proto on non-OSX
> systems too.
>
> Col
>
>
Tough to say(my guess is this is osx specific); reason for
compiling this is it's one of the library's listed in the LFS installation.
(who knows though)
xserver still compiles, and runs fine without this lib.
Justin P. Mattock
More information about the xorg
mailing list