Closed frankier closed 7 years ago
It appears this error is specific to Ubuntu 16. The program works fine on Ubuntu 14 and 15. Maybe related to the version of the compiler. Needs further investigation.
I have installed enju into Ubuntu 16.04 and 16.10. It works on 16.04 (g++ version 5.4.0). A compile error occurred on 16.10 (g++ version 6.2.0)
depbase=`echo DataConv.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
g++ -DHAVE_CONFIG_H -I. -I../ll/include -fstrict-aliasing -W -Wall -g -O2 -DHAVE_HASH_MAP -DHAVE_EXT_HASH_MAP -MT DataConv.o -MD -MP -MF $depbase.Tpo -c -o DataConv.o DataConv.cc &&\
mv -f $depbase.Tpo $depbase.Po
DataConv.cc: In function ‘lilfes::type* up::conv::convParseStatus(up::ParseStatus)’:
DataConv.cc:10:117: error: cannot convert ‘bool’ to ‘lilfes::type*’ in return
parse_status/1: parser module \"mayz:parser\" not loaded yet"); return false; }
^~~~~
Makefile:748: ターゲット 'DataConv.o' のレシピで失敗しました
make[2]: *** [DataConv.o] エラー 1
make[2]: ディレクトリ '/home/kosako/work/enju/mayz-src' から出ます
Makefile:550: ターゲット 'all' のレシピで失敗しました
The branch Issue2
also fixed the additional problem of DataConv.cc mentioned above.
Now the master branch would work on ubuntu 16.10
Hi,
On Ubuntu 16.10, after following the instructions to compile and then running enju, I get a Segmentation Fault. If I reconfigure with
CFLAGS="-g -O0 -DDEBUG" CPPFLAGS="-DDEBUG" ./configure
and compile, and run through gdb, I can get the following stack trace:As far as I can see, I think the problem could be that coerceHash is not being initialised correctly (or perhaps not linked correctly)?
Please let me know if you need any more information.
Thanks for your work on enju, Frankie