applewm.c:42:34: error: HIServices/Processes.h: No such file or directory

Justin Mattock justinmattock at gmail.com
Fri Jul 17 16:17:59 PDT 2009


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?

-- 
Justin P. Mattock



More information about the xorg mailing list