New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open Babel on fedora 30 #1984
Comments
Are you using the gcc that came with the OS? What is the output of gcc -v?
It looks like a position independent code problem but I've never seen it
happen with a system compiler. Maybe @rathann can comment.
…On Sat, 11 May 2019, 09:22 Vcald, ***@***.***> wrote:
I have a failure when trying to compile Open Babel 2.4.1 on fedora 30 x64.
I configure with this command from the created build directory:
cmake -DRUN_SWIG=yes -DPYTHON_BINDINGS=yes -DBUILD_GUI=yes ..
Then run make -j4
Then it fails like this:
[ 20%] Building CXX object
src/CMakeFiles/plugin_forcefields.dir/forcefields/forcefieldgaff.o
[ 21%] Building CXX object
src/CMakeFiles/plugin_forcefields.dir/forcefields/forcefieldghemical.o
[ 21%] Building CXX object
src/CMakeFiles/plugin_forcefields.dir/forcefields/forcefieldmmff94.o
[ 21%] Building CXX object
src/CMakeFiles/plugin_forcefields.dir/forcefields/forcefielduff.o
[ 21%] Linking CXX shared module ../lib/plugin_forcefields.so
/usr/bin/ld:
CMakeFiles/plugin_forcefields.dir/forcefields/forcefieldmmff94.o(.debug_loc+0x800000001262df):
reloc against `.text._ZN9OpenBabel12OBForceFieldD0Ev': error 4
/usr/bin/ld: final link failed: nonrepresentable section on output
collect2: error: ld returned 1 exit status
make[2]: *** [src/CMakeFiles/plugin_forcefields.dir/build.make:134:
lib/plugin_forcefields.so] Error 1
make[1]: *** [CMakeFiles/Makefile2:1159:
src/CMakeFiles/plugin_forcefields.dir/all] Error 2
make: *** [Makefile:141: all] Error 2
Any hint?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#1984>, or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAALCGMPDRDIXKAEFF5CJNDPUZ65ZANCNFSM4HMHTVIA>
.
|
Yes...I am using the native gcc...the version is 9.1.1 |
I have also tried with the github version...this is what I get using the very same approach: |
I'm closing - this seems like a duplicate of #1996 |
I have a failure when trying to compile Open Babel 2.4.1 on fedora 30 x64.
I configure with this command from the created build directory:
cmake -DRUN_SWIG=yes -DPYTHON_BINDINGS=yes -DBUILD_GUI=yes ..
Then run make -j4
Then it fails like this:
[ 20%] Building CXX object src/CMakeFiles/plugin_forcefields.dir/forcefields/forcefieldgaff.o
[ 21%] Building CXX object src/CMakeFiles/plugin_forcefields.dir/forcefields/forcefieldghemical.o
[ 21%] Building CXX object src/CMakeFiles/plugin_forcefields.dir/forcefields/forcefieldmmff94.o
[ 21%] Building CXX object src/CMakeFiles/plugin_forcefields.dir/forcefields/forcefielduff.o
[ 21%] Linking CXX shared module ../lib/plugin_forcefields.so
/usr/bin/ld: CMakeFiles/plugin_forcefields.dir/forcefields/forcefieldmmff94.o(.debug_loc+0x800000001262df): reloc against `.text._ZN9OpenBabel12OBForceFieldD0Ev': error 4
/usr/bin/ld: final link failed: nonrepresentable section on output
collect2: error: ld returned 1 exit status
make[2]: *** [src/CMakeFiles/plugin_forcefields.dir/build.make:134: lib/plugin_forcefields.so] Error 1
make[1]: *** [CMakeFiles/Makefile2:1159: src/CMakeFiles/plugin_forcefields.dir/all] Error 2
make: *** [Makefile:141: all] Error 2
Any hint?
The text was updated successfully, but these errors were encountered: