[MPlayer-users] Error compiling with JACK support.

Mark Williams (MWP) mwp at internode.on.net
Tue Jul 6 16:44:52 CEST 2004


Hi all,

Compiling from todays CVSs of JACK, BIO2JACK, MPlayer & libavcodec.


gcc -I../libvo -I../../libvo  -O3 -mtune=athlon-xp -msse -mfpmath=sse
-ffast-math -funit-at-a-time -fomit-frame-pointer -ftracer -frename-registers
-D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
-I/usr/local/mad-decoder/include/ -I/usr/local/ogg-vorbis/include/  -Ilibmpdemux
-Iloader -Ilibvo  -I/usr/local/mad-decoder/include/
-I/usr/local/ogg-vorbis/include/           -o mplayer mplayer.o mp_msg.o
cpudetect.o codec-cfg.o spudec.o playtree.o playtreeparser.o asxparser.o
vobsub.o subreader.o sub_cc.o find_sub.o m_config.o m_option.o parser-cfg.o
m_struct.o unrarlib.o mixer.o parser-mpcmd.o libvo/libvo.a libao2/libao2.a
vidix/libvidix.a  libmpcodecs/libmpcodecs.a mp3lib/libMP3.a liba52/liba52.a
libmpeg2/libmpeg2.a   libaf/libaf.a libmpdemux/libmpdemux.a input/libinput.a
postproc/libswscale.a osdep/libosdep.a -Llibmpdvdkit2 -lmpdvdkit
libavcodec/libavcodec.a   -lmad -lvorbis -logg       -lpng -lz -lz -ljpeg
-lasound -ldl -lpthread               libfaad2/libfaad2.a    -lnsl
-lbio2jack  -ljack     -L/usr/local/mad-decoder/lib -L/usr/local/ogg-vorbis/lib
-lpthread -ldl    -lm

libao2/libao2.a(ao_jack.o)(.text+0x35): In function `control':
: undefined reference to `JACK_SetVolume'
libao2/libao2.a(ao_jack.o)(.text+0x69): In function `control':
: undefined reference to `JACK_GetVolume'
collect2: ld returned 1 exit status
make: *** [mplayer] Error 1

Any ideas?

Thanks.




More information about the MPlayer-users mailing list