Discussion:
[mad-user] madplay: build problems
Axel Böhm
2005-05-18 20:05:13 UTC
Permalink
hi there,

i tried to build libid3tag, mad and madplay. libid3tag and mad worked
fine, madplay doesn't seem to work. i did the usual ./configure, make,
make check and make install for all of them, except madplay. see below
for the output of the make command for madplay. my build environment is
a common ubuntu installation.

used versions:
libid3tag_0.15.1b
mad_0.14.2b
madplay_0.15.2b

output (until here everything worked fine):
gcc -Wall -march=i486 -g -O2 -o madplay madplay.o getopt.o getopt1.o
version.o resample.o filter.o tag.o crc.o rgain.o player.o audio.o
audio_aiff.o audio_cdda.o audio_hex.o audio_null.o audio_raw.o
audio_snd.o audio_wave.o audio_oss.o -lmad -lid3tag -lm
resample.o(.text+0x1d): In function `resample_init':
/home/axel/mydocs/src/madplay_0.15.2b/resample.c:46: undefined reference
to `mad_f_div'
collect2: ld returned 1 exit status
make[2]: *** [madplay] Error 1
make[2]: Leaving directory `/home/axel/mydocs/src/madplay_0.15.2b'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/axel/mydocs/src/madplay_0.15.2b'
make: *** [all] Error 2

any help is welcome. thanks in advance.

axel
Rob Leslie
2005-05-18 20:20:55 UTC
Permalink
Post by Axel Böhm
i tried to build libid3tag, mad and madplay. libid3tag and mad worked
fine, madplay doesn't seem to work. i did the usual ./configure, make,
make check and make install for all of them, except madplay. see below
for the output of the make command for madplay. my build environment
is a common ubuntu installation.
libid3tag_0.15.1b
mad_0.14.2b
madplay_0.15.2b
You should install libmad-0.15.1b rather than mad-0.14.2b. The latter
is an earlier combination package of libmad and madplay.
--
Rob Leslie
***@mars.org
Loading...