[antlr-interest] compiling 2.7 on suse 11

Jim Idle jimi at temporal-wave.com
Mon Jul 26 13:19:15 PDT 2010


Operating system? Version of the compiler? Your runtime library isn't supplying this function as it stands basically.

Jim

> -----Original Message-----
> From: antlr-interest-bounces at antlr.org [mailto:antlr-interest-
> bounces at antlr.org] On Behalf Of Hoot Thompson
> Sent: Monday, July 26, 2010 6:08 AM
> To: antlr-interest at antlr.org
> Subject: [antlr-interest] compiling 2.7 on suse 11
> 
> Anybody seen/having this problem...
> 
> >> /usr/bin/make -C lib/cpp/src all
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> make[3]: Entering directory `/root/antlr-2.7.7/lib/cpp/src'
> ***
> compiling /root/antlr-
> 2.7.7/lib/cpp/src/../../../lib/cpp/src/ANTLRUtil.cpp
> ***
> compiling /root/antlr-
> 2.7.7/lib/cpp/src/../../../lib/cpp/src/ASTFactory.cpp
> ***
> compiling /root/antlr-
> 2.7.7/lib/cpp/src/../../../lib/cpp/src/ASTNULLType.cpp
> ***
> compiling /root/antlr-
> 2.7.7/lib/cpp/src/../../../lib/cpp/src/ASTRefCount.cpp
> ***
> compiling /root/antlr-
> 2.7.7/lib/cpp/src/../../../lib/cpp/src/BaseAST.cpp
> ***
> compiling /root/antlr-2.7.7/lib/cpp/src/../../../lib/cpp/src/BitSet.cpp
> ***
> compiling /root/antlr-
> 2.7.7/lib/cpp/src/../../../lib/cpp/src/CharBuffer.cpp
> ***
> compiling /root/antlr-
> 2.7.7/lib/cpp/src/../../../lib/cpp/src/CharScanner.cpp
> /root/antlr-2.7.7/scripts/../lib/cpp/antlr/CharScanner.hpp(565): error:
> identifier "strcasecmp" is undefined
>   		return (strcasecmp(x.c_str(),y.c_str())<0);
>   		        ^
> 
> compilation aborted
> for /root/antlr-2.7.7/lib/cpp/src/../../../lib/cpp/src/CharScanner.cpp
> (code 2)
> 
> xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
>                       >> E R R O R <<
> ============================================================
> 
> icpc -O3 -xT -ip -no-prec-div -static -c  -I .
> -I /root/antlr-2.7.7/scripts/../lib/cpp /root/antlr-
> 2.7.7/lib/cpp/src/../../../lib/cpp/src/CharScanner.cpp
> 
> 
> 
> List: http://www.antlr.org/mailman/listinfo/antlr-interest
> Unsubscribe: http://www.antlr.org/mailman/options/antlr-interest/your-
> email-address





More information about the antlr-interest mailing list