From: SourceForge.net <no...@so...> - 2008-03-19 01:35:46
|
Bugs item #1913986, was opened at 2008-03-14 01:21 Message generated for change (Comment added) made by janx2 You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=110706&aid=1913986&group_id=10706 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: Jan (janx2) Assigned to: Nobody/Anonymous (nobody) Summary: Error during make of static sox Initial Comment: Today I tried building a static version of sox on Mac OS X 10.4.11. After building all of the necessary libraries as static I moved on building sox using ./configure --disable-shared --enable-static and make This resulted in an error that I could limit to libao (The fix I used is from here: http://www.advogato.org/person/MichaelCrawford/diary.html?start=219). Trying again with the fixed libao resulted in this: /bin/sh ../libtool --silent --tag=CC --silent --mode=link gcc -g -O2 -Wall -W -Wmissing-prototypes -Wstrict-prototypes -pedantic -L/usr/local/lib -o libsfx.la -rpath /usr/local/lib libsfx_la-biquad.lo libsfx_la-biquads.lo libsfx_la-chorus.lo libsfx_la-compand.lo libsfx_la-compandt.lo libsfx_la-dcshift.lo libsfx_la-dither.lo libsfx_la-earwax.lo libsfx_la-echo.lo libsfx_la-echos.lo libsfx_la-effects.lo libsfx_la-fade.lo libsfx_la-FFT.lo libsfx_la-filter.lo libsfx_la-flanger.lo libsfx_la-key.lo libsfx_la-ladspa.lo libsfx_la-mcompand.lo libsfx_la-mixer.lo libsfx_la-noiseprof.lo libsfx_la-noisered.lo libsfx_la-pad.lo libsfx_la-pan.lo libsfx_la-phaser.lo libsfx_la-pitch.lo libsfx_la-polyphas.lo libsfx_la-rabbit.lo libsfx_la-rate.lo libsfx_la-repeat.lo libsfx_la-resample.lo libsfx_la-reverb.lo libsfx_la-reverse.lo libsfx_la-silence.lo libsfx_la-skeleff.lo libsfx_la-speed.lo libsfx_la-stat.lo libsfx_la-stretch.lo libsfx_la-swap.lo libsfx_la-synth.lo libsfx_la-tempo.lo libsfx_la-tremolo.lo libsfx_la-trim.lo libsfx_la-vibro.lo libsfx_la-vol.lo libsox.la /bin/sh ../libtool --silent --tag=CC --silent --mode=link gcc -g -O2 -Wall -W -Wmissing-prototypes -Wstrict-prototypes -pedantic -L/usr/local/lib -o sox sox.o libsox.la libsfx.la ../libgsm/libgsm.la ../lpc10/liblpc10.la -L/usr/local/lib -lsndfile -lid3tag -lmp3lame -lao /usr/libexec/gcc/powerpc-apple-darwin8/4.0.1/ld: multiple definitions of symbol _gsm_create ./.libs/libsox.a(gsm_create.o) definition of _gsm_create in section (__TEXT,__text) /usr/local/lib/libsndfile.a(gsm_create.o) definition of _gsm_create in section (__TEXT,__text) /usr/libexec/gcc/powerpc-apple-darwin8/4.0.1/ld: multiple definitions of symbol _predictor_pole ./.libs/libsox.a(libsox_la-g72x.o) definition of _predictor_pole in section (__TEXT,__text) /usr/local/lib/libsndfile.a(lt1-g72x.o) definition of _predictor_pole in section (__TEXT,__text) /usr/libexec/gcc/powerpc-apple-darwin8/4.0.1/ld: multiple definitions of symbol _predictor_zero ./.libs/libsox.a(libsox_la-g72x.o) definition of _predictor_zero in section (__TEXT,__text) /usr/local/lib/libsndfile.a(lt1-g72x.o) definition of _predictor_zero in section (__TEXT,__text) /usr/libexec/gcc/powerpc-apple-darwin8/4.0.1/ld: multiple definitions of symbol _quantize ./.libs/libsox.a(libsox_la-g72x.o) definition of _quantize in section (__TEXT,__text) /usr/local/lib/libsndfile.a(lt1-g72x.o) definition of _quantize in section (__TEXT,__text) /usr/libexec/gcc/powerpc-apple-darwin8/4.0.1/ld: multiple definitions of symbol _reconstruct ./.libs/libsox.a(libsox_la-g72x.o) definition of _reconstruct in section (__TEXT,__text) /usr/local/lib/libsndfile.a(lt1-g72x.o) definition of _reconstruct in section (__TEXT,__text) /usr/libexec/gcc/powerpc-apple-darwin8/4.0.1/ld: multiple definitions of symbol _step_size ./.libs/libsox.a(libsox_la-g72x.o) definition of _step_size in section (__TEXT,__text) /usr/local/lib/libsndfile.a(lt1-g72x.o) definition of _step_size in section (__TEXT,__text) /usr/libexec/gcc/powerpc-apple-darwin8/4.0.1/ld: multiple definitions of symbol _update ./.libs/libsox.a(libsox_la-g72x.o) definition of _update in section (__TEXT,__text) /usr/local/lib/libsndfile.a(lt1-g72x.o) definition of _update in section (__TEXT,__text) collect2: ld returned 1 exit status make[1]: *** [sox] Error 1 make: *** [all-recursive] Error 1 After not understanding a word I tried limiting the cause down to a specific library. I finally managed to do so using ./configure --disable-shared --enable-static --without-sndfile make As I wanted to have libsndfile included I tried to use the latest dev version of it I could find: libsndfile-1.0.18pre20 instead of the libsndfile-1.0.17 I was using before. The result is the same. It's possible that this is libsndfile's fault, but I don't think so as it's a very widely used lib that has been stable for quite some time. I could be wrong ;) ---------------------------------------------------------------------- >Comment By: Jan (janx2) Date: 2008-03-19 01:35 Message: Logged In: YES user_id=1389764 Originator: YES To clear things up a bit: The problem here is that there is a collision between the in-tree libgsm and the one compiled into libsndfile. After reading through the configure files I tried various ways to resolve this. I could not find a way to disable libgsm in any of the two which is sort of deadlock situation. Any help is most welcome. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=110706&aid=1913986&group_id=10706 |