[antlr-interest] compiling 2.7 on suse 11

Martin Jacobson jacobson.martin at gmail.com
Tue Jul 27 07:24:45 PDT 2010


It's not the runtime library that's missing - the compiler can't find
the declaration of strcasecmp - this is is in <strings.h> .  Is it
#included ? Or is <strings.h> missing?

Martin

On 27 July 2010 15:08, Mikesell, Darin B. <Darin.Mikesell at gd-ais.com> wrote:
> I would say it seems to be the operating system install... there seem to be some missing libraries, one of which includes the function strcasecmp.  Do you have the ability to add/remove modules, perhaps you just need to add some extended libraries or such.
>
>
>
> -----Original Message-----
> From: antlr-interest-bounces at antlr.org [mailto:antlr-interest-bounces at antlr.org] On Behalf Of Hoot Thompson
> Sent: Tuesday, July 27, 2010 4:37 AM
> To: 'Jim Idle'; antlr-interest at antlr.org
> Subject: Re: [antlr-interest] compiling 2.7 on suse 11
>
> Suse 11, 64-bit.  Tried it with both gcc (4.3.2) and Intel (11.1)
>
> -----Original Message-----
> From: antlr-interest-bounces at antlr.org
> [mailto:antlr-interest-bounces at antlr.org] On Behalf Of Jim Idle
> Sent: Monday, July 26, 2010 4:19 PM
> To: antlr-interest at antlr.org
> Subject: Re: [antlr-interest] compiling 2.7 on suse 11
>
> 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
>
>
>
>
> List: http://www.antlr.org/mailman/listinfo/antlr-interest
> Unsubscribe:
> http://www.antlr.org/mailman/options/antlr-interest/your-email-address
>
>
>
> List: http://www.antlr.org/mailman/listinfo/antlr-interest
> Unsubscribe: http://www.antlr.org/mailman/options/antlr-interest/your-email-address
>
> List: http://www.antlr.org/mailman/listinfo/antlr-interest
> Unsubscribe: http://www.antlr.org/mailman/options/antlr-interest/your-email-address
>



-- 
>From my MacBook Pro


More information about the antlr-interest mailing list