What steps will reproduce the problem?
1. checkout the odcctools-9.2-ld
2. CFLAGS=-m32 LDFLAGS=-m32 "${cctools}"/configure \
--target=arm-apple-darwin10 \
--prefix="${prefix}" \
--disable-ld64
3. make
What is the expected output? What do you see instead?
The build process failed with the error message:
bash-3.2# make
cd libstuff && make
gcc -Wall -Wno-import -DHAVE_CONFIG_H -I../include
-I/var/toolchain/src/cctools/include -m32 -fno-builtin-round
-fno-builtin-trunc -no-cpp-precomp -mdynamic-no-pic -c -o allocate.o
/var/toolchain/src/cctools/libstuff/allocate.c
In file included from /usr/include/machine/_structs.h:29,
from /usr/include/sys/_structs.h:57,
from /usr/include/sys/signal.h:148,
from /usr/include/sys/wait.h:116,
from /usr/include/stdlib.h:65,
from /var/toolchain/src/cctools/libstuff/allocate.c:23:
/usr/include/i386/_structs.h:60: error: expected specifier-qualifier-list
before ‘_STRUCT_X86_AVX_STATE32’
/usr/include/i386/_structs.h:98: error: expected specifier-qualifier-list
before ‘_STRUCT_X86_AVX_STATE64’
make[1]: *** [allocate.o] Error 1
make: *** [libstuff] Error 2
What version of the product are you using? On what operating system?
I am using MacOS Lion
Please provide any additional information below.
I just follow this article
http://oreilly.com/iphone/excerpts/iphone-open-dev/getting-started-applications.
html to build iPhone cross compile toolchain then met the problem.
Original issue reported on code.google.com by Eric.Le...@gmail.com on 12 Nov 2011 at 3:55
Original issue reported on code.google.com by
Eric.Le...@gmail.com
on 12 Nov 2011 at 3:55