Closed GoogleCodeExporter closed 8 years ago
This issue is the same for a G4 running tiger (the error is identical). There
apparently is some difference between the libraries in tiger vs. leopard. I
figured
that if I could build the file on tiger then we could use that for tiger
machines and
the problem would be solved (XCode 2.5). My current status is that Kernel and
Bdd
build fine but I am having trouble with FaCT++.JNI. The command
CPATH=/System/Library/Frameworks/JavaVM.framework/Headers make
dies when trying the step
g++ -shared -Wl,-h,libFaCTPlusPlusJNI.so -o obj/libFaCTPlusPlusJNI.so
obj/FaCTPlusPlus.o -L../Kernel -L../Bdd -static-libgcc -lKernel -lBdd
and the error is
powerpc-apple-darwin8-g++-4.0.1: unrecognized option '-shared'
/usr/libexec/gcc/powerpc-apple-darwin8/4.0.1/ld: unknown flag: -h
collect2: ld returned 1 exit status
make: *** [obj/libFaCTPlusPlusJNI.so] Error 1
Timothy
tredmond@stanford.edu
Original comment by tredmon...@gmail.com
on 18 Apr 2008 at 7:54
According to the release notes of Protégé 4, build 58: "The only change in
this build is a recompiled version of a
FaCT++ JNI library. The library in the previous build was causing problems with
FaCT++ on older versions of
the Mac OS." I can only surmise that the problem might have been the same in
build 57. Perhaps there's an
indication in the preparation of build 58 how to circumvent the problem you're
experiencing building
FACT++.JNI for Tiger.
Regards,
Richard
Original comment by richard....@gmail.com
on 18 Apr 2008 at 8:20
Fixed in 1.2.0; it is necessary to pass -mmacosx-version-min=10.4 to GCC in
order to
make binaries compatible with OS X 10.4
Original comment by dmitry.t...@gmail.com
on 7 Oct 2008 at 9:11
Original issue reported on code.google.com by
richard....@gmail.com
on 16 Apr 2008 at 11:29