prismplp / prism Goto Github PK
View Code? Open in Web Editor NEWprobabilistic logic programming language for statistical modeling
Home Page: https://rjida.meijo-u.ac.jp/prism/
License: Other
probabilistic logic programming language for statistical modeling
Home Page: https://rjida.meijo-u.ac.jp/prism/
License: Other
/src/c/makefiles/Makefile_lapack.files の UP_OBJS と /src/c/up/Makefile_lapack.files の OBJS に差異が有る。
/src/c/up/Makefile_lapack.files の OBJS で、 /src/c/up 内に存在していないファイルが指定されている。(feature.$(O))
/src/c/up/Makefile_lapack.files の OBJS で、ファイル名の誤字と思われるものが有る。(crfviterbi.$(O))
/src/c/up/Makefile_lapack.files の OBJS で指定されているが、/src/c/up/Makefile_lapack.files の下端で make rule が指定されていないファイルが複数有る。
Hi,
I've been trying to compile Prism on my mac M1 but there are many problems.
I can run all test suite you need.
Best,
Djamé
[100%] Linking CXX executable prism_up_cygwin.exe
/usr/lib/gcc/x86_64-pc-cygwin/7.4.0/../../../../x86_64-pc-cygwin/bin/ld: CMakeFiles/prism_up_cygwin.dir/core/glue.c.o:glue.c:(.text+0x48): undefined reference to `insert_cpred'
CMakeFiles/prism_up_cygwin.dir/core/glue.c.o:glue.c:(.text+0x48): relocation truncated to fit: R_X86_64_PC32 against undefined symbol `insert_cpred'
/usr/lib/gcc/x86_64-pc-cygwin/7.4.0/../../../../x86_64-pc-cygwin/bin/ld: CMakeFiles/prism_up_cygwin.dir/core/glue.c.o:glue.c:(.text+0x60): undefined reference to `insert_cpred'
CMakeFiles/prism_up_cygwin.dir/core/glue.c.o:glue.c:(.text+0x60): relocation truncated to fit: R_X86_64_PC32 against undefined symbol `insert_cpred'
/usr/lib/gcc/x86_64-pc-cygwin/7.4.0/../../../../x86_64-pc-cygwin/bin/ld: CMakeFiles/prism_up_cygwin.dir/core/glue.c.o:glue.c:(.text+0x78): undefined reference to `insert_cpred'
CMakeFiles/prism_up_cygwin.dir/core/glue.c.o:glue.c:(.text+0x78): relocation truncated to fit: R_X86_64_PC32 against undefined symbol `insert_cpred'
/usr/lib/gcc/x86_64-pc-cygwin/7.4.0/../../../../x86_64-pc-cygwin/bin/ld: CMakeFiles/prism_up_cygwin.dir/core/glue.c.o:glue.c:(.text+0x90): undefined reference to `insert_cpred'
CMakeFiles/prism_up_cygwin.dir/core/glue.c.o:glue.c:(.text+0x90): relocation truncated to fit: R_X86_64_PC32 against undefined symbol `insert_cpred'
/usr/lib/gcc/x86_64-pc-cygwin/7.4.0/../../../../x86_64-pc-cygwin/bin/ld: CMakeFiles/prism_up_cygwin.dir/core/glue.c.o:glue.c:(.text+0xa8): undefined reference to `insert_cpred'
CMakeFiles/prism_up_cygwin.dir/core/glue.c.o:glue.c:(.text+0xa8): relocation truncated to fit: R_X86_64_PC32 against undefined symbol `insert_cpred'
/usr/lib/gcc/x86_64-pc-cygwin/7.4.0/../../../../x86_64-pc-cygwin/bin/ld: CMakeFiles/prism_up_cygwin.dir/core/glue.c.o:glue.c:(.text+0xc0): more undefined references to `insert_cpred' follow
CMakeFiles/prism_up_cygwin.dir/core/glue.c.o:glue.c:(.text+0xc0): relocation truncated to fit: R_X86_64_PC32 against undefined symbol `insert_cpred'
CMakeFiles/prism_up_cygwin.dir/core/glue.c.o:glue.c:(.text+0xd8): relocation truncated to fit: R_X86_64_PC32 against undefined symbol `insert_cpred'
CMakeFiles/prism_up_cygwin.dir/core/glue.c.o:glue.c:(.text+0xf0): relocation truncated to fit: R_X86_64_PC32 against undefined symbol `insert_cpred'
CMakeFiles/prism_up_cygwin.dir/core/glue.c.o:glue.c:(.text+0x108): relocation truncated to fit: R_X86_64_PC32 against undefined symbol `insert_cpred'
CMakeFiles/prism_up_cygwin.dir/core/glue.c.o:glue.c:(.text+0x120): relocation truncated to fit: R_X86_64_PC32 against undefined symbol `insert_cpred'
CMakeFiles/prism_up_cygwin.dir/core/glue.c.o:glue.c:(.text+0x138): 追加の再配置オーバーフローは出力から除かれます
/usr/lib/gcc/x86_64-pc-cygwin/7.4.0/../../../../x86_64-pc-cygwin/bin/ld: CMakeFiles/prism_up_cygwin.dir/core/bpx.c.o:bpx.c:(.text+0x3b7): undefined reference to `is_UNIFIABLE'
/usr/lib/gcc/x86_64-pc-cygwin/7.4.0/../../../../x86_64-pc-cygwin/bin/ld: CMakeFiles/prism_up_cygwin.dir/core/bpx.c.o:bpx.c:(.text+0x432): undefined reference to `is_IDENTICAL'
/usr/lib/gcc/x86_64-pc-cygwin/7.4.0/../../../../x86_64-pc-cygwin/bin/ld: CMakeFiles/prism_up_cygwin.dir/core/bpx.c.o:bpx.c:(.text+0x5a5): undefined reference to `floatval'
/usr/lib/gcc/x86_64-pc-cygwin/7.4.0/../../../../x86_64-pc-cygwin/bin/ld: CMakeFiles/prism_up_cygwin.dir/core/bpx.c.o:bpx.c:(.text+0x94a): undefined reference to `myquit'
/usr/lib/gcc/x86_64-pc-cygwin/7.4.0/../../../../x86_64-pc-cygwin/bin/ld: CMakeFiles/prism_up_cygwin.dir/core/bpx.c.o:bpx.c:(.text+0x9e5): undefined reference to `myquit'
/usr/lib/gcc/x86_64-pc-cygwin/7.4.0/../../../../x86_64-pc-cygwin/bin/ld: CMakeFiles/prism_up_cygwin.dir/core/bpx.c.o:bpx.c:(.text+0x9f0): undefined reference to `encodefloat1'
/usr/lib/gcc/x86_64-pc-cygwin/7.4.0/../../../../x86_64-pc-cygwin/bin/ld: CMakeFiles/prism_up_cygwin.dir/core/bpx.c.o:bpx.c:(.text+0xa1b): undefined reference to `insert'
/usr/lib/gcc/x86_64-pc-cygwin/7.4.0/../../../../x86_64-pc-cygwin/bin/ld: CMakeFiles/prism_up_cygwin.dir/core/bpx.c.o:bpx.c:(.text+0xa6d): undefined reference to `myquit'
/usr/lib/gcc/x86_64-pc-cygwin/7.4.0/../../../../x86_64-pc-cygwin/bin/ld: CMakeFiles/prism_up_cygwin.dir/core/bpx.c.o:bpx.c:(.text+0xb4b): undefined reference to `myquit'
/usr/lib/gcc/x86_64-pc-cygwin/7.4.0/../../../../x86_64-pc-cygwin/bin/ld: CMakeFiles/prism_up_cygwin.dir/core/bpx.c.o:bpx.c:(.text+0xb8d): undefined reference to `insert'
/usr/lib/gcc/x86_64-pc-cygwin/7.4.0/../../../../x86_64-pc-cygwin/bin/ld: CMakeFiles/prism_up_cygwin.dir/core/bpx.c.o:bpx.c:(.text+0xc1b): undefined reference to `unify'
/usr/lib/gcc/x86_64-pc-cygwin/7.4.0/../../../../x86_64-pc-cygwin/bin/ld: CMakeFiles/prism_up_cygwin.dir/core/bpx.c.o:bpx.c:(.text+0xc40): undefined reference to `bp_compare'
/usr/lib/gcc/x86_64-pc-cygwin/7.4.0/../../../../x86_64-pc-cygwin/bin/ld: CMakeFiles/prism_up_cygwin.dir/core/bpx.c.o:bpx.c:(.text+0xc7c): undefined reference to `myquit'
/usr/lib/gcc/x86_64-pc-cygwin/7.4.0/../../../../x86_64-pc-cygwin/bin/ld: CMakeFiles/prism_up_cygwin.dir/core/bpx.c.o:bpx.c:(.text+0xd12): undefined reference to `bp_string_2_term'
/usr/lib/gcc/x86_64-pc-cygwin/7.4.0/../../../../x86_64-pc-cygwin/bin/ld: CMakeFiles/prism_up_cygwin.dir/core/bpx.c.o:bpx.c:(.text+0xd76): undefined reference to `bp_term_2_string'
/usr/lib/gcc/x86_64-pc-cygwin/7.4.0/../../../../x86_64-pc-cygwin/bin/ld: CMakeFiles/prism_up_cygwin.dir/core/bpx.c.o:bpx.c:(.text+0xdb9): undefined reference to `bp_call_term'
/usr/lib/gcc/x86_64-pc-cygwin/7.4.0/../../../../x86_64-pc-cygwin/bin/ld: CMakeFiles/prism_up_cygwin.dir/core/bpx.c.o:bpx.c:(.text+0xdd9): undefined reference to `bp_call_term'
/usr/lib/gcc/x86_64-pc-cygwin/7.4.0/../../../../x86_64-pc-cygwin/bin/ld: CMakeFiles/prism_up_cygwin.dir/core/bpx.c.o:bpx.c:(.text+0xe1c): undefined reference to `bp_mount_query_term'
/usr/lib/gcc/x86_64-pc-cygwin/7.4.0/../../../../x86_64-pc-cygwin/bin/ld: CMakeFiles/prism_up_cygwin.dir/core/bpx.c.o:bpx.c:(.text+0xe3c): undefined reference to `bp_mount_query_term'
/usr/lib/gcc/x86_64-pc-cygwin/7.4.0/../../../../x86_64-pc-cygwin/bin/ld: CMakeFiles/prism_up_cygwin.dir/core/bpx.c.o:bpx.c:(.text+0xe63): undefined reference to `bp_next_solution'
/usr/lib/gcc/x86_64-pc-cygwin/7.4.0/../../../../x86_64-pc-cygwin/bin/ld: CMakeFiles/prism_up_cygwin.dir/core/bpx.c.o:bpx.c:(.text+0xea6): undefined reference to `write_term'
/usr/lib/gcc/x86_64-pc-cygwin/7.4.0/../../../../x86_64-pc-cygwin/bin/ld: CMakeFiles/prism_up_cygwin.dir/core/bpx.c.o:bpx.c:(.rdata$.refptr.curr_toam_status[.refptr.curr_toam_status]+0x0): undefined reference to `curr_toam_status'
/usr/lib/gcc/x86_64-pc-cygwin/7.4.0/../../../../x86_64-pc-cygwin/bin/ld: CMakeFiles/prism_up_cygwin.dir/core/bpx.c.o:bpx.c:(.rdata$.refptr.local_top[.refptr.local_top]+0x0): undefined reference to `local_top'
/usr/lib/gcc/x86_64-pc-cygwin/7.4.0/../../../../x86_64-pc-cygwin/bin/ld: CMakeFiles/prism_up_cygwin.dir/core/bpx.c.o:bpx.c:(.rdata$.refptr.heap_top[.refptr.heap_top]+0x0): undefined reference to `heap_top'
/usr/lib/gcc/x86_64-pc-cygwin/7.4.0/../../../../x86_64-pc-cygwin/bin/ld: CMakeFiles/prism_up_cygwin.dir/core/bpx.c.o:bpx.c:(.rdata$.refptr.arreg[.refptr.arreg]+0x0): undefined reference to `arreg'
/usr/lib/gcc/x86_64-pc-cygwin/7.4.0/../../../../x86_64-pc-cygwin/bin/ld: CMakeFiles/prism_up_cygwin.dir/core/bpx.c.o:bpx.c:(.rdata$.refptr.nil_sym[.refptr.nil_sym]+0x0): undefined reference to `nil_sym'
/usr/lib/gcc/x86_64-pc-cygwin/7.4.0/../../../../x86_64-pc-cygwin/bin/ld: CMakeFiles/prism_up_cygwin.dir/core/bpx.c.o:bpx.c:(.rdata$.refptr.bigint_psc[.refptr.bigint_psc]+0x0): undefined reference to `bigint_psc'
/usr/lib/gcc/x86_64-pc-cygwin/7.4.0/../../../../x86_64-pc-cygwin/bin/ld: CMakeFiles/prism_up_cygwin.dir/core/bpx.c.o:bpx.c:(.rdata$.refptr.float_psc[.refptr.float_psc]+0x0): undefined reference to `float_psc'
/usr/lib/gcc/x86_64-pc-cygwin/7.4.0/../../../../x86_64-pc-cygwin/bin/ld: CMakeFiles/prism_up_cygwin.dir/core/bpx.c.o:bpx.c:(.rdata$.refptr.addr_top_bit[.refptr.addr_top_bit]+0x0): undefined reference to `addr_top_bit'
/usr/lib/gcc/x86_64-pc-cygwin/7.4.0/../../../../x86_64-pc-cygwin/bin/ld: CMakeFiles/prism_up_cygwin.dir/core/bpx.c.o:bpx.c:(.rdata$.refptr.curr_out[.refptr.curr_out]+0x0): undefined reference to `curr_out'
/usr/lib/gcc/x86_64-pc-cygwin/7.4.0/../../../../x86_64-pc-cygwin/bin/ld: CMakeFiles/prism_up_cygwin.dir/core/idtable.c.o:idtable.c:(.text+0x574): undefined reference to `unnumberVarTerm'
/usr/lib/gcc/x86_64-pc-cygwin/7.4.0/../../../../x86_64-pc-cygwin/bin/ld: CMakeFiles/prism_up_cygwin.dir/core/termpool.c.o:termpool.c:(.text+0x70): undefined reference to `numberVarTermOpt'
/usr/lib/gcc/x86_64-pc-cygwin/7.4.0/../../../../x86_64-pc-cygwin/bin/ld: CMakeFiles/prism_up_cygwin.dir/core/termpool.c.o:termpool.c:(.text+0x89): undefined reference to `quit'
/usr/lib/gcc/x86_64-pc-cygwin/7.4.0/../../../../x86_64-pc-cygwin/bin/ld: CMakeFiles/prism_up_cygwin.dir/core/termpool.c.o:termpool.c:(.text+0xc9c): undefined reference to `unifyNumberedTerms'
/usr/lib/gcc/x86_64-pc-cygwin/7.4.0/../../../../x86_64-pc-cygwin/bin/ld: CMakeFiles/prism_up_cygwin.dir/core/termpool.c.o:termpool.c:(.text+0xec1): undefined reference to `quit'
/usr/lib/gcc/x86_64-pc-cygwin/7.4.0/../../../../x86_64-pc-cygwin/bin/ld: CMakeFiles/prism_up_cygwin.dir/core/termpool.c.o:termpool.c:(.rdata$.refptr.number_var_exception[.refptr.number_var_exception]+0x0): undefined reference to `number_var_exception'
/usr/lib/gcc/x86_64-pc-cygwin/7.4.0/../../../../x86_64-pc-cygwin/bin/ld: CMakeFiles/prism_up_cygwin.dir/core/termpool.c.o:termpool.c:(.rdata$.refptr.global_var_num[.refptr.global_var_num]+0x0): undefined reference to `global_var_num'
/usr/lib/gcc/x86_64-pc-cygwin/7.4.0/../../../../x86_64-pc-cygwin/bin/ld: CMakeFiles/prism_up_cygwin.dir/core/termpool.c.o:termpool.c:(.rdata$.refptr.trail_top[.refptr.trail_top]+0x0): undefined reference to `trail_top'
/usr/lib/gcc/x86_64-pc-cygwin/7.4.0/../../../../x86_64-pc-cygwin/bin/ld: CMakeFiles/prism_up_cygwin.dir/core/termpool.c.o:termpool.c:(.rdata$.refptr.trail_up_addr[.refptr.trail_up_addr]+0x0): undefined reference to `trail_up_addr'
/usr/lib/gcc/x86_64-pc-cygwin/7.4.0/../../../../x86_64-pc-cygwin/bin/ld: CMakeFiles/prism_up_cygwin.dir/up/graph.c.o:graph.c:(.text+0xace): undefined reference to `list_length'
/usr/lib/gcc/x86_64-pc-cygwin/7.4.0/../../../../x86_64-pc-cygwin/bin/ld: CMakeFiles/prism_up_cygwin.dir/up/graph.c.o:graph.c:(.text+0xc15): undefined reference to `list_length'
/usr/lib/gcc/x86_64-pc-cygwin/7.4.0/../../../../x86_64-pc-cygwin/bin/ld: CMakeFiles/prism_up_cygwin.dir/up/graph.c.o:graph.c:(.rdata$.refptr.illegal_arguments[.refptr.illegal_arguments]+0x0): undefined reference to `illegal_arguments'
/usr/lib/gcc/x86_64-pc-cygwin/7.4.0/../../../../x86_64-pc-cygwin/bin/ld: CMakeFiles/prism_up_cygwin.dir/up/graph.c.o:graph.c:(.rdata$.refptr.exception[.refptr.exception]+0x0): undefined reference to `exception'
/usr/lib/gcc/x86_64-pc-cygwin/7.4.0/../../../../x86_64-pc-cygwin/bin/ld: CMakeFiles/prism_up_cygwin.dir/up/em_preds.c.o:em_preds.c:(.rdata$.refptr.failure_atom[.refptr.failure_atom]+0x0): undefined reference to `failure_atom'
/usr/lib/gcc/x86_64-pc-cygwin/7.4.0/../../../../x86_64-pc-cygwin/bin/ld: CMakeFiles/prism_up_cygwin.dir/up/em_ml.c.o:em_ml.c:(.rdata$.refptr.toam_signal_vec[.refptr.toam_signal_vec]+0x0): undefined reference to `toam_signal_vec'
/usr/lib/gcc/x86_64-pc-cygwin/7.4.0/../../../../x86_64-pc-cygwin/bin/ld: CMakeFiles/prism_up_cygwin.dir/up/viterbi.c.o:viterbi.c:(.text+0x1610): undefined reference to `quit'
/usr/lib/gcc/x86_64-pc-cygwin/7.4.0/../../../../x86_64-pc-cygwin/bin/ld: CMakeFiles/prism_up_cygwin.dir/up/viterbi.c.o:viterbi.c:(.text+0x1647): undefined reference to `quit'
/usr/lib/gcc/x86_64-pc-cygwin/7.4.0/../../../../x86_64-pc-cygwin/bin/ld: CMakeFiles/prism_up_cygwin.dir/up/viterbi.c.o:viterbi.c:(.text+0x1cad): undefined reference to `quit'
/usr/lib/gcc/x86_64-pc-cygwin/7.4.0/../../../../x86_64-pc-cygwin/bin/ld: CMakeFiles/prism_up_cygwin.dir/up/util.c.o:util.c:(.rdata$.refptr.top[.refptr.top]+0x0): undefined reference to `top'
/usr/lib/gcc/x86_64-pc-cygwin/7.4.0/../../../../x86_64-pc-cygwin/bin/ld: /usr/lib/gcc/x86_64-pc-cygwin/7.4.0/../../../../lib/libcygwin.a(libcmain.o): in function `main':
/usr/src/debug/cygwin-3.1.4-1/winsup/cygwin/lib/libcmain.c:37: undefined reference to `WinMain'
collect2: エラー: ld はステータス 1 で終了しました
make[2]: *** [CMakeFiles/prism_up_cygwin.dir/build.make:794: prism_up_cygwin.exe] エラー 1
make[2]: ディレクトリ '/home/Seky1/prism_git/src/c/cmake' から出ます
make[1]: *** [CMakeFiles/Makefile2:73: CMakeFiles/prism_up_cygwin.dir/all] エラー 2
make[1]: ディレクトリ '/home/Seky1/prism_git/src/c/cmake' から出ます
make: *** [Makefile:130: all] エラー 2
ubuntuでprism_mp_linux.bin、macOSでprism_mp_darwin.binをビルドした後、mpprismを実行した時、ほぼ同様のテキストがターミナルに出力されるが、macOSでは加えて
*** Error: getline(): not interactive, use stdio.
というエラーが出力される。
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.