Delete lexer.cpp and try again,
-Chris
http://nondot.org/sabre
http://llvm.org
On Dec 23, 2007, at 2:42 PM, Boris Tschirschwitz <borist at mac.com>
wrote:
> Hi.
>
> For weeks now I have problems compiling llvm from svn, compilation
> ends with
>
> llvm[2]: Compiling Lexer.cpp for Release build
> /home/borist/builds/llvm/lib/AsmParser/Lexer.l: In function 'int
> llvmAsmlex()':
> /home/borist/builds/llvm/lib/AsmParser/Lexer.l:278: error: 'PURE'
was
> not declared in this scope
> /home/borist/builds/llvm/lib/AsmParser/Lexer.l:279: error: 'CONST'
was
> not declared in this scope
> Lexer.cpp: In function 'int yy_get_next_buffer()':
> Lexer.cpp:2543: warning: comparison between signed and unsigned
> integer
> expressions
> make[2]: *** [/home/borist/builds/llvm/lib/AsmParser/Release/Lexer.o]
> Error 1
> make[2]: Leaving directory `/home/borist/builds/llvm/lib/AsmParser'
> make[1]: *** [AsmParser/.makeall] Error 2
> make[1]: Leaving directory `/home/borist/builds/llvm/lib'
> make: *** [all] Error 1
>
> Could it be a problem with my version of gcc (V4.2.2) on Linux x86_64?
>
> Cheers
> Boris
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev