mittinatten / freesasa

C-library for calculating Solvent Accessible Surface Areas
http://freesasa.github.io/
MIT License
105 stars 37 forks source link

I failed to make it #38

Closed ProzacR closed 6 years ago

ProzacR commented 6 years ago

Here output:

/usr/lib64/gcc/x86_64-slackware-linux/5.5.0/../../../../x86_64-slackware-linux/bin/ld: ../../src/libfreesasa.a(classifier.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC ../../src/libfreesasa.a: error adding symbols: Bad value collect2: error: ld returned 1 exit status error: command 'gcc' failed with exit status 1 Makefile:793: recipe for target 'pylib' failed make[2]: [pylib] Error 1 make[2]: Leaving directory '/home/vytautas/bin/freesasa/bindings' Makefile:369: recipe for target 'all-recursive' failed make[1]: [all-recursive] Error 1 make[1]: Leaving directory '/home/vytautas/bin/freesasa' Makefile:308: recipe for target 'all' failed make: *** [all] Error 2

mittinatten commented 6 years ago

Hi, have you tried configuring with ’./configure CFLAGS=”-fPIC -g -O2”’? On Mon, 6 Aug 2018 at 15:02, ProzacR notifications@github.com wrote:

Here output:

/usr/lib64/gcc/x86_64-slackware-linux/5.5.0/../../../../x86_64-slackware-linux/bin/ld: ../../src/libfreesasa.a(classifier.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC ../../src/libfreesasa.a: error adding symbols: Bad value collect2: error: ld returned 1 exit status error: command 'gcc' failed with exit status 1 Makefile:793: recipe for target 'pylib' failed make[2]: [pylib] Error 1 make[2]: Leaving directory '/home/vytautas/bin/freesasa/bindings' Makefile:369: recipe for target 'all-recursive' failed make[1]: [all-recursive] Error 1 make[1]: Leaving directory '/home/vytautas/bin/freesasa' Makefile:308: recipe for target 'all' failed make: *** [all] Error 2

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/mittinatten/freesasa/issues/38, or mute the thread https://github.com/notifications/unsubscribe-auth/ACteHD9hjfKnTuGZwNdyDt503asUcwEFks5uOD5xgaJpZM4VwWQO .

mittinatten commented 6 years ago

Closing due to inactivity, feel free to reopen if you have more problems.