Try including "string.h", probably in ASTs.h
On Sat, Jan 29, 2011 at 3:49 PM, Matthew T. Zoufaly
<mzoufaly@xxxxxxxxxxxxxxxx> wrote:
> Hello,
>
> I am a new GEMS user, and I am attempting to install GEMS on Ubuntu 10.10 (64-bit). I have gcc 4.5 installed on my computer. I have been following the setup on:
> http://www.cs.wisc.edu/gems/doc/gems-wiki/moin.cgi/QuickStart
>
> When I do:
> make PROTOCOL=MOSI_SMP_bcast DESTINATION=MOSI_SMP_bcast
> I get:
>
> In file included from /usr/include/c++/4.4/ext/hash_map:60,
> from ../common/std-includes.h:74,
> from ./slicc_global.h:64,
> from ast/ASTs.h:64,
> from parser/lexer.l:63:
> /usr/include/c++/4.4/backward/backward_warning.h:28: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated.
> parser/lexer.l: In function ‘int yylex()’:
> parser/lexer.l:143: error: ‘strlen’ was not declared in this scope
> parser/lexer.l:144: error: ‘strlen’ was not declared in this scope
>
>
> Does anyone know a solution to this problem? I attempted to use an older version of gcc, but I cannot even compile gcc-3.x with gcc-4.5 without issues.
>
> Thanks!
>
> -Matt
> _______________________________________________
> Gems-users mailing list
> Gems-users@xxxxxxxxxxx
> https://lists.cs.wisc.edu/mailman/listinfo/gems-users
> Use Google to search the GEMS Users mailing list by adding "site:https://lists.cs.wisc.edu/archive/gems-users/" to your search.
>
>
|