[OpenAFS-port-darwin] com_err + Xcode issues

Ilan Volow listboy@clarux.com
Thu, 5 Jan 2006 17:32:33 -0500


I'm trying to build aklog using XCode, OpenAFS 1.4.1 rc2,  and the  
Kerberos that ships with 10.4, and I'm running into the conflicting  
com_err conflicting types issue. I'm getting error messages such as:

error: conflicting types for 'com_err'
error: conflicting types for 'com_err_va'
error: conflicting types for 'error_message'
error: conflicting types for 'set_com_err_hook'
error: conflicting types for 'reset_com_err_hook'

I looked through the mailing list archives for solutions, but I  
didn't seem to find anything that was a definite answer. However, if  
I go into the directory created by decompressing the tarball, and  
type "make aklog", it builds just fine.

Is there some sort of compiler flag that I need to be passing to  
Xcode to avoid the conflicting types?

--Ilan