[linux-audio-dev] swh-plugin errors with gcc4 - RedHat FC4

Michael Stein mstein at funkyplanet.ca
Wed Sep 7 03:49:51 UTC 2005


I am having issues getting my FC4 - x86-64 - GCC4.0 box to compile 
swh-plugins cleanly.  I have applyed the patches that I have seen on 
this list but I still get errors ranging from not determining the proper 
-march value to simply failing with the following error:

/bin/sh ./libtool --tag=CC --mode=link gcc  -march=k8 -O3 -module 
-avoid-version -Wc,-nostartfiles  -o hermes_filter_1200.la -rpath 
/usr/local/lib/ladspa  hermes_filter_1200.lo util/libblo.a -lrt -lm -lm  -lm

*** Warning: Linking the shared library hermes_filter_1200.la against the
*** static library util/libblo.a is not portable!
gcc -shared  .libs/hermes_filter_1200.o  util/libblo.a -lrt -lm  
-march=k8 -nostartfiles -Wl,-soname -Wl,hermes_filter_1200.so -o 
.libs/hermes_filter_1200.so
/usr/bin/ld: util/libblo.a(libblo_a-blo.o): relocation R_X86_64_32 
against `a local symbol' can not be used when making a shared object; 
recompile with -fPIC
util/libblo.a: could not read symbols: Bad value
collect2: ld returned 1 exit status
make[2]: *** [hermes_filter_1200.la] Error 1
make[2]: Leaving directory `/usr/local/src/audio_apps/swh-plugins-0.4.13'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/src/audio_apps/swh-plugins-0.4.13'
make: *** [all] Error 2


Any help would be appreciated.



More information about the Linux-audio-dev mailing list