linux - 让 columbia esterel 编译器运行

标签 linux

我正在尝试在我的 Linux Mint 16 64 位系统上设置 columbia esterel 编译器。 cec .但是,我不是一个非常有经验的 Linux 用户,我无法完成任务。安装手册说,转到 esterel 目录并键入 ./configure。但终端回复“不允许”。如果我输入 make 会出现一些错误。

Making all in libantlr
make[1]: Betrete Verzeichnis '/home/thomas/Dokumente/cec-0.4/libantlr'
if g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"cec\" -DVERSION=\"0.4\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LIBEXPAT=1  -I. -I.     -g -O2 -MT CharScanner.o -MD -MP -MF ".deps/CharScanner.Tpo" -c -o CharScanner.o `test -f 'src/CharScanner.cpp' || echo './'`src/CharScanner.cpp; \
then mv -f ".deps/CharScanner.Tpo" ".deps/CharScanner.Po"; else rm -f ".deps/CharScanner.Tpo"; exit 1; fi
In file included from src/CharScanner.cpp:18:0:
./antlr/CharScanner.hpp:416:30: error: ‘EOF’ was not declared in this scope
static const int EOF_CHAR = EOF;
                          ^
src/CharScanner.cpp: In member function ‘void antlr::CharScanner::panic()’:
src/CharScanner.cpp:93:8: error: ‘exit’ was not declared in this scope
exit(1);
     ^
src/CharScanner.cpp: In member function ‘void antlr::CharScanner::panic(const string&)’:
src/CharScanner.cpp:99:8: error: ‘exit’ was not declared in this scope
exit(1);
     ^
make[1]: *** [CharScanner.o] Fehler 1
make[1]: Verlasse Verzeichnis '/home/thomas/Dokumente/cec-0.4/libantlr'
make: *** [all-recursive] Fehler 1

我希望你能帮助我完成这件事。提前致谢。

最佳答案

感谢您的回答。我在获得许可的情况下解决了这个问题。配置文件不可执行。之后配置工作没有错误,但是当我尝试制作编译器时仍然收到错误消息。有人对这个问题有什么建议吗? 谢谢

关于linux - 让 columbia esterel 编译器运行,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/24228523/

相关文章:

linux - Linux 上使用 Curl 的 Azure 存储表 API REST

c++ - 在 VS、UNIX/Linux 中删除 STL 迭代器后会发生什么情况?

linux - Bash 按关键字排序列表

c++ - 为什么 free() 函数不将内存返回给操作系统?

linux - 风河-eth0 : error fetching interface information: Device not found

linux - bash 中的别名问题

linux - 在 Dockerfile 中使用来自 docker-compose build --build-arg 的参数

c# - 在 Linux 中使用 GSMComm

linux - 在 Linux 上的脚本中使用 azcopy 时如何避免出现提示?

python - 在 SuSE 11.1 64 位上安装 yum