Hello, I've searched the archives and no one else seems to have this problem: When I attempt to compile the 4th of the tarballs, madplay-0.15.0b it finds errors in the 'libid3' links. Libid3 already compiled successfully. This occurs even when I use the syntax "./configure --libdir=/usr/local/lib", (the configure completes). Is this error somehow related to all the info in the archives about MAD not handling ID3 tagging properly? Is there a workaround? Unlike most I don't really care if the ID info shows up; I'm looking for better playback. I use Red Hat 9 on a dual athlon 1900+ with an m-Audio delta 1010 (run by ALSA). Can anyone advise?
error out put: make all-recursive make[1]: Entering directory `/home/morpha/MAD/madplay-0.15.0b' Making all in intl make[2]: Entering directory `/home/morpha/MAD/madplay-0.15.0b/intl' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/home/morpha/MAD/madplay-0.15.0b/intl' Making all in po make[2]: Entering directory `/home/morpha/MAD/madplay-0.15.0b/po' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/home/morpha/MAD/madplay-0.15.0b/po' make[2]: Entering directory `/home/morpha/MAD/madplay-0.15.0b' /bin/sh ./libtool --mode=link gcc -Wall -march=i486 -g -O2 -o madplay madplay.o getopt.o getopt1.o version.o resample.o filter.o xing.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_esd.o audio_oss.o -lesd -lmad -lid3tag -lm gcc -Wall -march=i486 -g -O2 -o madplay madplay.o getopt.o getopt1.o version.o resample.o filter.o xing.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_esd.o audio_oss.o -lesd /usr/local/lib/libmad.a /usr/local/lib/libid3tag.a -lm resample.o(.text+0x29): In function `resample_init': /home/morpha/MAD/madplay-0.15.0b/resample.c:46: undefined reference to `mad_f_div' player.o(.text+0xb56): In function `show_id3': /home/morpha/MAD/madplay-0.15.0b/player.c:630: undefined reference to `id3_frame_field' player.o(.text+0xc11):/home/morpha/MAD/madplay-0.15.0b/player.c:674: undefined reference to `id3_frame_field' player.o(.text+0xc36):/home/morpha/MAD/madplay-0.15.0b/player.c:680: undefined reference to `id3_frame_field' player.o(.text+0x10dd): In function `process_id3': /home/morpha/MAD/madplay-0.15.0b/player.c:801: undefined reference to `id3_frame_field' player.o(.text+0x112e):/home/morpha/MAD/madplay-0.15.0b/player.c:846: undefined reference to `id3_frame_field' player.o(.text+0x1137):/home/morpha/MAD/madplay-0.15.0b/player.c:846: undefined reference to `id3_field_getlatin1' player.o(.text+0x114a):/home/morpha/MAD/madplay-0.15.0b/player.c:847: undefined reference to `id3_frame_field' /usr/local/lib/libid3tag.a(util.o)(.text+0x105): In function `id3_util_compress': /home/morpha/MAD/mad-0.14.2b/libid3tag/util.c:116: undefined reference to `compress2' /usr/local/lib/libid3tag.a(util.o)(.text+0x160): In function `id3_util_decompress': /home/morpha/MAD/mad-0.14.2b/libid3tag/util.c:142: undefined reference to `uncompress' collect2: ld returned 1 exit status make[2]: *** [madplay] Error 1 make[2]: Leaving directory `/home/morpha/MAD/madplay-0.15.0b' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/morpha/MAD/madplay-0.15.0b' make: *** [all] Error 2
On Wednesday, July 9, 2003, at 10:51 PM, dj nano wrote:
Hello, I've searched the archives and no one else seems to have this problem: When I attempt to compile the 4th of the tarballs, madplay-0.15.0b it finds errors in the 'libid3' links. Libid3 already compiled successfully. This occurs even when I use the syntax "./configure --libdir=/usr/local/lib", (the configure completes). Is this error somehow related to all the info in the archives about MAD not handling ID3 tagging properly? Is there a workaround? Unlike most I don't really care if the ID info shows up; I'm looking for better playback. I use Red Hat 9 on a dual athlon 1900+ with an m-Audio delta 1010 (run by ALSA). Can anyone advise?
The problem seems to be you are linking against older versions of libmad and libid3tag. Make sure you run 'make install' on both of those after you build them, before you build madplay.
FYI, --libdir only affects the installation directory for libraries, not where to look for them for building/linking. If you've installed the libraries in an unusual place, you'll need to tell the 'configure' for madplay where they are like this:
./configure ... CPPFLAGS="-I/some/include/dir" LDFLAGS="-L/some/lib/dir"