You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
I'd like to use CB as a reasoner within Protege.
When trying to make all in the src I got an error about missing jni_md.h. Which I fixed by setting the env var:
export JNI_INCLUDE="/usr/lib/jvm/java-8-oracle/include/linux;/usr/lib/jvm/java-8-oracle/include"
But now I receive the following error:
make all
ocamlbuild -build-dir _build main/cb.native jni cwrap/libcb.a
Finished, 1 target (0 cached) in 00:00:00.
Building for host: linux, target: linux, arch: amd64
/usr/lib/jvm/java-8-oracle/bin/javac -source 5 -d java/. java/org/semanticweb/cb/reasoner/CbObjectInverseOf.java java/org/semanticweb/cb/reasoner/CbClassExpressionVisitor.java java/org/semanticweb/cb/reasoner/Loader.java java/org/semanticweb/cb/reasoner/CbAxiom.java java/org/semanticweb/cb/reasoner/CbException.java java/org/semanticweb/cb/reasoner/CbSubClassOfAxiom.java java/org/semanticweb/cb/reasoner/CbClassAxiomIterator.java java/org/semanticweb/cb/reasoner/CbSubObjectPropertyOfAxiom.java java/org/semanticweb/cb/reasoner/CbObjectPropertyDeclarationAxiom.java java/org/semanticweb/cb/reasoner/CbDeclarationAxiom.java java/org/semanticweb/cb/reasoner/CObject.java java/org/semanticweb/cb/reasoner/CbClassAxiom.java java/org/semanticweb/cb/reasoner/CbInverseObjectPropertiesAxiom.java java/org/semanticweb/cb/reasoner/CbDeclarationAxiomVisitor.java java/org/semanticweb/cb/reasoner/CbInverseFunctionalObjectPropertyAxiom.java java/org/semanticweb/cb/reasoner/CbObjectPropertyAxiom.java java/org/semanticweb/cb/reasoner/CbClassExpression.java java/org/semanticweb/cb/reasoner/CbAxiomVisitor.java java/org/semanticweb/cb/reasoner/CbObjectSomeValuesFrom.java java/org/semanticweb/cb/reasoner/CbClassTaxonomyNode.java java/org/semanticweb/cb/reasoner/CbEquivalentClassesAxiom.java java/org/semanticweb/cb/reasoner/CbObjectProperty.java java/org/semanticweb/cb/reasoner/CbObjectPropertyAxiomVisitor.java java/org/semanticweb/cb/reasoner/ProgressMonitor.java java/org/semanticweb/cb/reasoner/CbObjectPropertyExpression.java java/org/semanticweb/cb/reasoner/CbClassNode.java java/org/semanticweb/cb/reasoner/CbObjectPropertyExpressionVisitor.java java/org/semanticweb/cb/reasoner/CbObjectVisitor.java java/org/semanticweb/cb/reasoner/DummyProgressMonitor.java java/org/semanticweb/cb/reasoner/CbObjectIntersectionOf.java java/org/semanticweb/cb/reasoner/CbClassDeclarationAxiom.java java/org/semanticweb/cb/reasoner/CbProgressMonitorStdErr.java java/org/semanticweb/cb/reasoner/CbFunctionalObjectPropertyAxiom.java java/org/semanticweb/cb/reasoner/CbProgressMonitor.java java/org/semanticweb/cb/reasoner/CbClassAxiomVisitor.java java/org/semanticweb/cb/reasoner/CbTransitiveObjectPropertyAxiom.java java/org/semanticweb/cb/reasoner/CbObject.java java/org/semanticweb/cb/reasoner/CbClassAxiomIteratable.java java/org/semanticweb/cb/reasoner/CbOntology.java java/org/semanticweb/cb/reasoner/CbClass.java
warning: [options] bootstrap class path not set in conjunction with -source 1.5
warning: [options] source value 1.5 is obsolete and will be removed in a future release
warning: [options] To suppress warnings about obsolete options, use -Xlint:-options.
3 warnings
/usr/bin/ocamlopt unix.cmxa -ccopt -shared cwrap/cb.o java/jni/cbce.o java/jni/cbdax.o java/jni/cbont.o java/jni/cbcax.o java/jni/cbcn.o java/jni/cbopax.o java/jni/cbcaxi.o java/jni/cbope.o java/jni/config.o java/jni/cbpm.o libs/consed.cmx libs/chashsetlp.cmx libs/chashtbllp.cmx libs/cset.cmx libs/cmap.cmx libs/hashsetlp.cmx libs/hashtbllp.cmx libs/intset.cmx main/chashset.cmx main/chashmap.cmx main/owl.cmx main/brole.cmx main/polarity.cmx main/ontology.cmx main/index_op.cmx main/saturation_op.cmx main/index.cmx main/progress_monitor.cmx main/progress_tracker.cmx main/saturation.cmx main/class_taxonomy.cmx main/owl_fs_parser.cmx main/owl_fs_lexer.cmx main/owl_io.cmx cwrap/cbclib.cmx -o java/nativelib/linux/amd64/libjcb.so
/usr/bin/ld: cwrap/cb.o: relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC
cwrap/cb.o: error adding symbols: Bad value
collect2: error: ld returned 1 exit status
File "caml_startup", line 1:
Error: Error during linking
Command exited with code 2.
Compilation unsuccessful after building 153 targets (0 cached) in 00:00:19.
make: *** [all] Error 10
As I do not necessarily require a binary -in principle I would only need a working jar I can copy into my plugin folder... How can I generate that?
Any help would be greatly appreciated.
Thanks,
Daniel
The text was updated successfully, but these errors were encountered:
Hi,
I'd like to use CB as a reasoner within Protege.
When trying to make all in the src I got an error about missing jni_md.h. Which I fixed by setting the env var:
export JNI_INCLUDE="/usr/lib/jvm/java-8-oracle/include/linux;/usr/lib/jvm/java-8-oracle/include"
But now I receive the following error:
make all
ocamlbuild -build-dir _build main/cb.native jni cwrap/libcb.a
Finished, 1 target (0 cached) in 00:00:00.
Building for host: linux, target: linux, arch: amd64
warning: [options] bootstrap class path not set in conjunction with -source 1.5
warning: [options] source value 1.5 is obsolete and will be removed in a future release
warning: [options] To suppress warnings about obsolete options, use -Xlint:-options.
3 warnings
/usr/bin/ld: cwrap/cb.o: relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC
cwrap/cb.o: error adding symbols: Bad value
collect2: error: ld returned 1 exit status
File "caml_startup", line 1:
Error: Error during linking
Command exited with code 2.
Compilation unsuccessful after building 153 targets (0 cached) in 00:00:19.
make: *** [all] Error 10
As I do not necessarily require a binary -in principle I would only need a working jar I can copy into my plugin folder... How can I generate that?
Any help would be greatly appreciated.
Thanks,
Daniel
The text was updated successfully, but these errors were encountered: