swh / ladspa

The SWH Plugins package for the LADSPA plugin system
http://plugin.org.uk/
GNU General Public License v2.0
228 stars 52 forks source link

Bad collect2 compilation error #38

Closed binarykitchen closed 7 years ago

binarykitchen commented 7 years ago
/ldgsm/: util/libblo.alibgsm.a(libblo_a: -blo.o): errorrelocation R_X86_64_32  against `.rodata.str1.1adding'  symbolscan not :be used  when making Bada  valueshared object;
 recompile with -fPIC
util/libblo.a: error adding symbols: Bad collect2: error: ld returned 1 exit status
value
collect2: error: ld returned 1 exit status
Makefile:1050: recipe for target 'gsm_1215.la' failed
make[2]: *** [gsm_1215.la] Error 1
make[2]: *** Waiting for unfinished jobs....
Makefile:1062: recipe for target 'hermes_filter_1200.la' failed
make[2]: *** [hermes_filter_1200.la] Error 1
libtool: link: /usr/bin/gcc-5 -shared  -fPIC -DPIC  .libs/split_1406.o   -L/home/michael-heuberger/.linuxbrew/lib -lrt -lm  -Os -march=native -Wl,--dynamic-linker=/home/michael-heuberger/.linuxbrew/lib/ld.so -Wl,-rpath -Wl,/home/michael-heuberger/.linuxbrew/lib   -Wl,-soname -Wl,split_1406.so -o .libs/split_1406.so
libtool: link: ( cd ".libs" && rm -f "valve_rect_1405.la" && ln -s "../valve_rect_1405.la" "valve_rect_1405.la" )
libtool: link: ( cd ".libs" && rm -f "satan_maximiser_1408.la" && ln -s "../satan_maximiser_1408.la" "satan_maximiser_1408.la" )
libtool: link: ( cd ".libs" && rm -f "karaoke_1409.la" && ln -s "../karaoke_1409.la" "karaoke_1409.la" )
libtool: link: ( cd ".libs" && rm -f "alias_1407.la" && ln -s "../alias_1407.la" "alias_1407.la" )
/usr/bin/ld: gverb/libgverb.a(gverb.o): relocation R_X86_64_PC32 against undefined symbol `malloc@@GLIBC_2.2.5' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: final link failed: Bad value
collect2: error: ld returned 1 exit status
Makefile:1053: recipe for target 'gverb_1216.la' failed
make[2]: *** [gverb_1216.la] Error 1
libtool: link: ( cd ".libs" && rm -f "split_1406.la" && ln -s "../split_1406.la" "split_1406.la" )
make[2]: Leaving directory '/tmp/ladspa-20161015-12611-a9y6wi/ladspa-0.4.16'
Makefile:1391: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/tmp/ladspa-20161015-12611-a9y6wi/ladspa-0.4.16'
Makefile:871: recipe for target 'all' failed
make: *** [all] Error 2

Version used: https://github.com/swh/ladspa/archive/v0.4.16.tar.gz

Command was just make according to your Readme