|
From: Chris B. <ch...@cn...> - 2005-11-11 17:08:49
|
It is some sort of libmad problem that I don't understand. Probably there is a compiler bug in your version of cygwin. A work around may be to edit the libmad timer.c and layer3.c and add the following to the top but after #includes: #undef assert #define assert(x) Also, you can rerun SoX's configure with an --disable-mad option. Then you won't be able to read mp3 files but you can write them. At least you can then do some of your processing. Chris On Fri, Nov 11, 2005 at 11:47:03AM -0500, Rak Smitj wrote: > I now get the following error when running make on sox > > =============================== > gcc -g -O2 -mno-cygwin -Wall -I. -I. -I/usr/local/include -mno-cygwin -c sox.c > gcc -L. -L/usr/local/lib -mno-cygwin -o sox sox.o -lst -lmad -lmp3lame > /usr/local/lib/libmad.a(timer.o): In function `reduce_rational': > /home/speedy/dev/sox/libmad-0.15.1b/timer.c:127: undefined reference to `__ > _assert' > /usr/local/lib/libmad.a(timer.o): In function `scale_rational': > /home/speedy/dev/sox/libmad-0.15.1b/timer.c:144: undefined reference to `__ > _assert' > /usr/local/lib/libmad.a(layer3.o): In function `III_huffdecode': > /home/speedy/dev/sox/libmad-0.15.1b/layer3.c:1253: undefined reference to ` > ___assert' > /usr/local/lib/libmad.a(layer3.o): In function `mad_layer_III': > /home/speedy/dev/sox/libmad-0.15.1b/layer3.c:2632: undefined reference to ` > ___assert' > collect2: ld returned 1 exit status > make[1]: *** [sox] Error 1 > make[1]: Leaving directory `/home/speedy/dev/sox/temp/sox-12.17.8/src' > make: *** [all] Error 2 > =============================== |