cwalls251 / iphone-dev

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

libstuff error 2 - compiling with cygwin using victzh's patch #113

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. cd iphone-dev/build/odctools
2. ../../odcctools/configure --target=arm-apple-darwin --disable-ld64
3. make
as instructed at http://iphone.fiveforty.net/wiki/index.php/
Toolchain_installation_-_Windows

What is the expected output? What do you see instead?
a correct make

What version of the product are you using? On what operating system?
Checked out a copy of LLVM SVN, revision 42498.

Please provide any additional information below.

I got to step 6 and I ran into an error. I am using WindowsXP, and cygwin.

                 from /usr/include/sys/types.h:373,
                 from /usr/include/stdio.h:46,
                 from ../../../odcctools/libstuff/errors.c:26:
/usr/include/endian.h:30:1: warning: this is the location of the previous 
defini
tion
In file included from ../../../odcctools/include/foreign/machine/
endian.h:32,
                 from ../../../odcctools/include/mach/mach_traps.h:72,
                 from ../../../odcctools/include/mach/mach_init.h:75,
                 from ../../../odcctools/include/mach/mach.h:64,
                 from ../../../odcctools/libstuff/errors.c:29:
../../../odcctools/include/i386/endian.h:90:1: warning: "BYTE_ORDER" 
redefined
In file included from /usr/include/cygwin/types.h:22,
                 from /usr/include/sys/types.h:373,
                 from /usr/include/stdio.h:46,
                 from ../../../odcctools/libstuff/errors.c:26:
/usr/include/endian.h:31:1: warning: this is the location of the previous 
defini
tion
../../../odcctools/libstuff/errors.c:135: warning: visibility attribute 
not supp
orted in this configuration; ignored
make[1]: *** [errors.o] Error 1
make[1]: Leaving directory `/home/iphone/iphone-dev/build/odctools/
libstuff'
make: *** [libstuff] Error 2

david@asi-david /home/iphone/iphone-dev/build/odctools

Original issue reported on code.google.com by starboar...@gmail.com on 16 Jan 2008 at 4:39

GoogleCodeExporter commented 8 years ago
sorry, I failed to mv include/foreign/machine include/foreign/_machine.

I have been trying to figure this out for hours, 5 sec after I post the 
problem...I 
solve it.

Thanks,
David

Original comment by starboar...@gmail.com on 16 Jan 2008 at 4:45