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

2009-07-19 Thread Colin Guthrie
'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

-- 

Colin Guthrie
gmane(at)colin.guthr.ie
http://colin.guthr.ie/

Day Job:
   Tribalogic Limited [http://www.tribalogic.net/]
Open Source:
   Mandriva Linux Contributor [http://www.mandriva.com/]
   PulseAudio Hacker [http://www.pulseaudio.org/]
   Trac Hacker [http://trac.edgewall.org/]

___
xorg mailing list
xorg@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/xorg


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

2009-07-19 Thread Justin P. Mattock
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
___
xorg mailing list
xorg@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/xorg


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

2009-07-19 Thread Arkadiusz Miskiewicz
On Saturday 18 of July 2009, Justin Mattock wrote:
 Not sure if this is relevant but when compiling
 libAppleWM on a linux machine I receive this error:

Look at
http://lists.freedesktop.org/archives/xorg/2009-March/044248.html

Someone should patch these two packages to fail build with some message if 
building not for osx.


-- 
Arkadiusz MiƛkiewiczPLD/Linux Team
arekm / maven.plhttp://ftp.pld-linux.org/
___
xorg mailing list
xorg@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/xorg

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

2009-07-19 Thread Justin P. Mattock
Arkadiusz Miskiewicz wrote:
 On Saturday 18 of July 2009, Justin Mattock wrote:

 Not sure if this is relevant but when compiling
 libAppleWM on a linux machine I receive this error:
  

 Look at
 http://lists.freedesktop.org/archives/xorg/2009-March/044248.html

 Someone should patch these two packages to fail build with some message if
 building not for osx.



Thanks for the info,
I'm guessing libWindowsWM
falls into the same category as well.

Justin P. Mattock
___
xorg mailing list
xorg@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/xorg


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

2009-07-17 Thread Justin Mattock
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
___
xorg mailing list
xorg@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/xorg