sully68 / iphone-dev

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

DynamicLibrary.cpp 178,179,180 strcmp was not declared in this scope? #187

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. sudo make ENABLE_OPTIMIZED=1
2. watch 
3. cry a bit on the inside

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

what i see:

charlie@oPENtop:~/llvm-svn$ sudo make ENABLE_OPTIMIZED=1
make[1]: Entering directory `/home/charlie/llvm-svn/lib/System'
llvm[1]: Compiling Alarm.cpp for Release build
llvm[1]: Compiling Disassembler.cpp for Release build
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: error: ‘strcmp’ was not declared in this scope
DynamicLibrary.cpp:179: error: ‘strcmp’ was not declared in this scope
DynamicLibrary.cpp:180: error: ‘strcmp’ was not declared in this scope
make[1]: *** [/home/charlie/llvm-svn/lib/System/Release/DynamicLibrary.o]
Error 1
make[1]: Leaving directory `/home/charlie/llvm-svn/lib/System'
make: *** [all] Error 1

dont know what expected output is... hasnt worked yet...

What version of the product are you using? On what operating system?

42498, Ubuntu 9.04 64 bit

Please provide any additional information below.

used yakuake as the terminal

installed bison before but forgot flex till afterwards then made clean, and
couldn't find the file that was in issue fifteen about making clean so
assumed it wasn't there. closest thing to it was a .h.cvs
tried the last command again. didn't work that error now exists
started from square one, exited terminal then re went in, and repeated the
first to that last command. same error. I'm using the latest versions of
flex and bison. help?

Original issue reported on code.google.com by ackdrumm...@aol.com on 13 Aug 2009 at 11:13

GoogleCodeExporter commented 8 years ago
is this not a duplicate of issue 149?

Original comment by gabrioba...@gmail.com on 27 Aug 2009 at 10:46

GoogleCodeExporter commented 8 years ago
comment out the lines... save then make

Original comment by stber...@gmail.com on 22 Nov 2010 at 10:02

GoogleCodeExporter commented 8 years ago
comment out the lines... save then make

Original comment by stber...@gmail.com on 22 Nov 2010 at 10:02

GoogleCodeExporter commented 8 years ago
+1 I got this on Linux Mint 9 64-bit (an Ubuntu).

Original comment by dko...@gmail.com on 15 Apr 2011 at 2:34