illinois-ml-nlp-users AT lists.siebelschool.illinois.edu
Subject: Support for users of CCG software closed 7-27-20
List archive
- From: Steven Corman <steve.corman AT asu.edu>
- To: Lars Buitinck <larsmans AT gmail.com>, "illinois-ml-nlp-users AT cs.uiuc.edu\"" <illinois-ml-nlp-users AT cs.uiuc.edu>
- Subject: Re: [Illinois-ml-nlp-users] Fwd: FEX compile errors
- Date: Tue, 10 May 2011 13:47:50 -0700
- Accept-language: en-US
- Acceptlanguage: en-US
- 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>
That helped, thanks. Also had to add string.h to lexicon.cpp and parser.cpp.
Now everything seems to be working OK except:
/usr/bin/g++ -O2 -c -DLINUX -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE=1
-D_LARGEFILE_SOURCE=1 -o RGF.o RGF.cpp
In file included from RGF.h:32:0,
from RGF.cpp:22:
Sensor.h: In constructor ‘SensorBase::SensorBase()’:
Sensor.h:180:23: error: ‘exit’ was not declared in this scope
Sensor.h: In constructor ‘SensorTabA::SensorTabA()’:
Sensor.h:283:23: error: ‘exit’ was not declared in this scope
Sensor.h: In constructor ‘SensorTabB::SensorTabB()’:
Sensor.h:317:23: error: ‘exit’ was not declared in this scope
Sensor.h: In constructor ‘SensorTabC::SensorTabC()’:
Sensor.h:351:23: error: ‘exit’ was not declared in this scope
Sensor.h: In constructor ‘SensorTabD::SensorTabD()’:
Sensor.h:384:23: error: ‘exit’ was not declared in this scope
Sensor.h: In constructor ‘SensorTabE::SensorTabE()’:
Sensor.h:417:23: error: ‘exit’ was not declared in this scope
According to what I could find, exit is part of stdlib.h and that is already
included in RGF.cpp
-----Original Message-----
From:
illinois-ml-nlp-users-bounces AT cs.uiuc.edu
[mailto:illinois-ml-nlp-users-bounces AT cs.uiuc.edu]
On Behalf Of Lars Buitinck
Sent: Tuesday, May 10, 2011 1:27 PM
To:
illinois-ml-nlp-users AT cs.uiuc.edu"
Subject: [Illinois-ml-nlp-users] Fwd: FEX compile errors
I hit reply instead of reply-all and this got sent to mr. Corman only, so
Fwd: to the list.
---------- Forwarded message ----------
From: Lars Buitinck
<larsmans AT gmail.com>
Date: 2011/5/10
Subject: Re: [Illinois-ml-nlp-users] FEX compile errors
To: Steven Corman
<steve.corman AT asu.edu>
Hi Steven,
2011/5/10 Steven Corman
<steve.corman AT asu.edu>:
> [root@stats
> fex]# gmake
Side remark: please don't do regular work as root, use sudo if you must.
> FexParams.cpp: In function ‘bool ProcessParam(int, const char*,
> FexGlobalParams&)’:
>
> FexParams.cpp:113:47: error: ‘atoi’ was not declared in this scope
> FexParams.cpp:128:37: error: ‘strcmp’ was not declared in this scope
> FexParams.cpp:149:47: error: ‘atof’ was not declared in this scope
> FexParams.cpp:183:34: error: ‘strcmp’ was not declared in this scope
> FexParams.cpp:209:30: error: ‘strcmp’ was not declared in this scope
No experience with this particular package, but it looks some headers weren't
included. Try adding
#include <stdlib.h>
#include <string.h>
near the top of FexParams.cpp. If that doesn't work, add
using namespace std;
below the #include lines.
Regards,
Lars
_______________________________________________
illinois-ml-nlp-users mailing list
illinois-ml-nlp-users AT cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/illinois-ml-nlp-users
- [Illinois-ml-nlp-users] FEX compile errors, Steven Corman, 05/10/2011
- Message not available
- [Illinois-ml-nlp-users] Fwd: FEX compile errors, Lars Buitinck, 05/10/2011
- Re: [Illinois-ml-nlp-users] Fwd: FEX compile errors, Steven Corman, 05/10/2011
- Message not available
- Message not available
- Re: [Illinois-ml-nlp-users] Fwd: FEX compile errors, Lars Buitinck, 05/10/2011
- Message not available
- Re: [Illinois-ml-nlp-users] Fwd: FEX compile errors, Lars Buitinck, 05/11/2011
- Re: [Illinois-ml-nlp-users] Fwd: FEX compile errors, Lars Buitinck, 05/10/2011
- Message not available
- Message not available
- Re: [Illinois-ml-nlp-users] Fwd: FEX compile errors, Steven Corman, 05/10/2011
- [Illinois-ml-nlp-users] Fwd: FEX compile errors, Lars Buitinck, 05/10/2011
- Message not available
Archive powered by MHonArc 2.6.16.