pereraa / iphone-dev

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

error building llvm #219

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Follow wiki instructions for building llvm
2. on step $make ENABLE_OPTIMIZED=1
3.

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

What version of the product are you using? On what operating system?
$uname -r
3.2.0-25-generic
Its Ubuntu server

Please provide any additional information below.

Original issue reported on code.google.com by jmkok...@gmail.com on 15 Jun 2012 at 8:16

GoogleCodeExporter commented 8 years ago
user@acomputer:~/iphonedev/llvm-svn$ make ENABLE_OPTIMIZED=1
make[1]: Entering directory `/home/jonny/iphonedev/llvm-svn/lib/System'
llvm[1]: Compiling DynamicLibrary.cpp for Release build
DynamicLibrary.cpp: In static member function ‘static void* 
llvm::sys::DynamicLibrary::SearchForAddressOfSymbol(const char*)’:
DynamicLibrary.cpp:178:5: error: ‘strcmp’ was not declared in this scope
DynamicLibrary.cpp:178:5: error: ‘stderr’ was not declared in this scope
DynamicLibrary.cpp:179:5: error: ‘strcmp’ was not declared in this scope
DynamicLibrary.cpp:179:5: error: ‘stdout’ was not declared in this scope
DynamicLibrary.cpp:180:5: error: ‘strcmp’ was not declared in this scope
DynamicLibrary.cpp:180:5: error: ‘stdin’ was not declared in this scope
make[1]: *** 
[/home/jonny/iphonedev/llvm-svn/lib/System/Release/DynamicLibrary.o] Error 1
make[1]: Leaving directory `/home/jonny/iphonedev/llvm-svn/lib/System'
make: *** [all] Error 1

Original comment by jmkok...@gmail.com on 15 Jun 2012 at 8:20