Skip to Content.
Sympa Menu

illinois-ml-nlp-users - Re: [Illinois-ml-nlp-users] SNoW compile errors

illinois-ml-nlp-users AT lists.cs.illinois.edu

Subject: Support for users of CCG software closed 7-27-20

List archive

Re: [Illinois-ml-nlp-users] SNoW compile errors


Chronological Thread 
  • From: Lars Buitinck <larsmans AT gmail.com>
  • To: Steven Corman <steve.corman AT asu.edu>
  • Cc: "illinois-ml-nlp-users AT cs.uiuc.edu" <illinois-ml-nlp-users AT cs.uiuc.edu>
  • Subject: Re: [Illinois-ml-nlp-users] SNoW compile errors
  • Date: Tue, 10 May 2011 22:30:44 +0200
  • List-archive: <http://lists.cs.uiuc.edu/pipermail/illinois-ml-nlp-users>
  • List-id: Support for users of CCG software <illinois-ml-nlp-users.cs.uiuc.edu>

2011/5/10 Steven Corman
<steve.corman AT asu.edu>:
> g++ -c -pg -gstabs   -fPIC   -DSERVER_MODE_ -DLINUX -DHASH_MAP Network.cpp
>
> In file included from
> /usr/lib/gcc/i686-redhat-linux/4.5.1/../../../../include/c++/4.5.1/ext/hash_map:60:0,
>                  from Target.h:29,
>                  from Network.h:20,
>                  from Network.cpp:24:
> /usr/lib/gcc/i686-redhat-linux/4.5.1/../../../../include/c++/4.5.1/backward/backward_warning.h:28:2:
> 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.

I'll leave this one to the SNoW authors :p

> In file included from Network.cpp:23:0:
>
> GlobalParams.h: In constructor ‘GlobalParams::GlobalParams()’:
> GlobalParams.h:136:27: error: ‘ULONG_MAX’ was not declared in this scope

ULONG_MAX is in <limits.h>...

> Network.cpp: In member function ‘bool Network::CreateStructure()’:
> Network.cpp:43:68: error: ‘strcpy’ was not declared in this scope
> Network.cpp:47:51: error: ‘strtok’ was not declared in this scope
> Network.cpp:71:37: error: ‘strlen’ was not declared in this scope
> Network.cpp:79:52: error: ‘strspn’ was not declared in this scope

... and all of this is in <string.h>, so try again after you #include
both of these, at the top of the file.





Archive powered by MHonArc 2.6.16.

Top of Page