On Oct 21, 2009, at 5:26 PM, Mark Rowe wrote:
On 2009-10-21, at 14:19, Alexander Cohen wrote:
I've got another small build problem here. Here's the output:
-- In file included from /usr/local/include/mach-o/fat.h:46,
from /Users/alex/Documents/Dev/Code/WebKit/WebKit/
mac/Plugins/WebBasePluginPackage.mm:46:
/usr/include/architecture/byte_order.h:146: error: multiple
definition of 'enum NXByteOrder'
/usr/local/include/mach-o/arch.h:35: error: previous definition here
/usr/include/architecture/byte_order.h:147: error: conflicting
declaration 'NX_UnknownByteOrder'
/usr/local/include/mach-o/arch.h:36: error: 'NX_UnknownByteOrder'
has a previous declaration as 'NXByteOrder NX_UnknownByteOrder'
/usr/include/architecture/byte_order.h:148: error: conflicting
declaration 'NX_LittleEndian'
/usr/local/include/mach-o/arch.h:37: error: 'NX_LittleEndian' has a
previous declaration as 'NXByteOrder NX_LittleEndian'
/usr/include/architecture/byte_order.h:149: error: conflicting
declaration 'NX_BigEndian'
/usr/local/include/mach-o/arch.h:38: error: 'NX_BigEndian' has a
previous declaration as 'NXByteOrder NX_BigEndian'
** BUILD FAILED **
--
I'm not really sure how this type of error could happen. Are there
any other hidden gems that i need to know about in order to build
WebKit?
The presence of /usr/local/include/mach-o/arch.h is your problem.
I'm not sure what you have installed to add that file there but it's
contents are not consistent with the system header files. Moving it
aside will allow your build to progress.
That did it. Once again, thank you.
thx
AC
_______________________________________________
webkit-dev mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev