iniyarajan-Mst / iphone-dev

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

make LLVM_VERSION_INFO=2.0-svn-iphone-dev-0.3-svn error [configure-fixincludes] Error 1 #132

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. ./../llvm-gcc-4.0-iphone/configure --enable-llvm=`llvm-config --obj-root` 
--enable-
languages=c,c++,objc,obj-c++ --target=arm-apple-darwin --enable-sjlj-exceptions 
--with-
heavenly=$HEAVENLY --with-as=/usr/local/bin/arm-apple-darwin-as --with-
ld=/usr/local/bin/arm-apple-darwin-ld
2. make LLVM_VERSION_INFO=2.0-svn-iphone-dev-0.3-svn
3.

What is the expected output? What do you see instead?
Expected make to create object files for install.
I get this error:

$:llvm-gcc-4.0-iphone Neo$ make LLVM_VERSION_INFO=2.0-svn-iphone-dev-0.3-svn
Configuring in fixincludes
configure: loading cache ./config.cache
checking build system type... i686-apple-darwin9.2.2
checking host system type... i686-apple-darwin9.2.2
checking target system type... arm-apple-darwin
checking for gcc... gcc -isysroot -mmacosx-version-min=10.4
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc -isysroot -mmacosx-version-min=10.4 accepts -g... yes
checking for gcc -isysroot -mmacosx-version-min=10.4 option to accept ANSI C... 
none 
needed
checking how to run the C preprocessor... /lib/cpp
configure: error: C preprocessor "/lib/cpp" fails sanity check
See `config.log' for more details.
make: *** [configure-fixincludes] Error 1

http://pastebin.com/m46873873

What version of the product are you using? On what operating system?
svn co http://llvm.org/svn/llvm-project/llvm/trunk llvm-svn -r 42498
Mac OSX 10.5.2

Please provide any additional information below.
 config.log
http://pastebin.com/m4124298

Original issue reported on code.google.com by grgrsoft...@gmail.com on 15 Apr 2008 at 3:27

Attachments:

GoogleCodeExporter commented 9 years ago
IGNORE - Missed step in installation. Re-Installed. No Problems. Thanks 
Used this:

http://iphone-dev.googlecode.com/issues/attachment?aid=-
3853386915202979740&name=iphone_leopard_toolchain_howto_ja_JP.rtf

export all variables AND use mmacosx-version-min=10.5 instead of 
mmacosx-version-min=10.1

Cheers

Original comment by grgrsoft...@gmail.com on 15 Apr 2008 at 5:31

GoogleCodeExporter commented 9 years ago
Any chance you can provide more details on your fix, or what you missed ?? I 
have followed the doc to the letter 
three times and have exactly the same error every time at this point.

Pulling my hair out,,
Rich

Original comment by richardw...@gmail.com on 30 May 2008 at 12:00

GoogleCodeExporter commented 9 years ago
Gee, I can't remember now. Your best bet is to follow the instructions in the 
.rtf
file exactly. as my comment states. I wiped everything and started over and
everything went fine!

Original comment by grgrsoft...@gmail.com on 30 May 2008 at 3:27

GoogleCodeExporter commented 9 years ago
i got the same problem, then I found out that I didn't create&goto the 
directory that
I was suppose. Double check the steps, make sure you followed them correctly

Original comment by realhao...@gmail.com on 21 Jan 2009 at 9:42