wpadami-forks / iphone-dev

Automatically exported from code.google.com/p/iphone-dev
0 stars 0 forks source link

previous definition "_OSSwapInt16" was here #147

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. ../../odcctools/configure --target=arm-apple-darwin --disable-ld64
2. make 

What is the expected output? What do you see instead?

/usr/include/libkern/i386/_OSByteOrder.h:49: error: redefinition of
'_OSSwapInt16'
../../../odcctools/include/libkern/machine/OSByteOrder.h:45: error:
previous definition of '_OSSwapInt16' was here
/usr/include/libkern/i386/_OSByteOrder.h:58: error: redefinition of
'_OSSwapInt32'
../../../odcctools/include/libkern/machine/OSByteOrder.h:54: error:
previous definition of '_OSSwapInt32' was here
/usr/include/libkern/i386/_OSByteOrder.h:69: error: redefinition of
'_OSSwapInt64'
../../../odcctools/include/libkern/machine/OSByteOrder.h:63: error:
previous definition of '_OSSwapInt64' was here

What version of the product are you using? On what operating system?

Latest svn update of product. Under Leo4All 10.5.3 

Original issue reported on code.google.com by tiama...@gmail.com on 24 Jul 2008 at 3:01

GoogleCodeExporter commented 8 years ago
On Snow Leopard I'm having the same problem.

llvm -svn -r 42498 

chosen due to the instructions here:

http://code.google.com/p/iphone-dev/wiki/Building

Original comment by saikenT...@gmail.com on 15 Feb 2010 at 2:51