Mrbudbeezy / iphone-dev

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

odcctools not building on Windows XP...allocate.o Error 1 #38

Closed GoogleCodeExporter closed 8 years ago

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

What is the expected output? What do you see instead?
expect build of odcctools. Instead get the following:
$ make
cd libstuff && make
make[1]: Entering directory `/home/ahmiller/iphone-dev/odcctools/libstuff'
gcc -Wall -Wno-import  -DHAVE_CONFIG_H -D__LITTLE_ENDIAN__=1   -I../include
-I..
/include -include ../include/extern.h -I../include/foreign -g -O2
-fno-builtin-r
ound -fno-builtin-trunc   -c -o allocate.o allocate.c
In file included from ../include/foreign/machine/endian.h:32,
                 from ../include/mach/mach_traps.h:72,
                 from ../include/mach/mach_init.h:75,
                 from ../include/mach/mach.h:64,
                 from allocate.c:26:
../include/i386/endian.h:92:25: sys/_endian.h: No such file or directory
allocate.c: In function `allocate':
allocate.c:46: warning: visibility attribute not supported in this
configuration
; ignored
allocate.c: In function `reallocate':
allocate.c:63: warning: visibility attribute not supported in this
configuration; ignored
allocate.c: In function `savestr':
allocate.c:81: warning: visibility attribute not supported in this
configuration; ignored
allocate.c: In function `makestr':
allocate.c:123: warning: visibility attribute not supported in this
configuration; ignored
make[1]: *** [allocate.o] Error 1
make[1]: Leaving directory `/home/ahmiller/iphone-dev/odcctools/libstuff'
make: *** [libstuff] Error 2
$

What version of the product are you using? On what operating system?
checked out revision 165 on Windows XP SP2/Cygwin 1.5.24

Please provide any additional information below.
Hoping this is just a compiler flags issue. I'm a newbie, so it's very
possible it's something obviously wrong. Many thanks in advance.

Original issue reported on code.google.com by aaronmiller@gmail.com on 14 Sep 2007 at 8:24

GoogleCodeExporter commented 8 years ago
Yup, this is a legitimate bug. sys/_endian.h isn't on everyone's systems. I put 
a quick fix into SVN, let me know if 
it still gives you trouble.

Original comment by nightwat...@gmail.com on 15 Sep 2007 at 2:24

GoogleCodeExporter commented 8 years ago
OK, ran another checkout and your fix worked! now have an allocate.o...however, 
next
file barfs. I'll log a new issue since the endian.h fix is valid.

Original comment by aaronmiller@gmail.com on 15 Sep 2007 at 6:01