[MPlayer-users] Problem compiling mPlayer from svn.
Carl Eugen Hoyos
cehoyos at ag.or.at
Mon Oct 8 13:03:58 CEST 2012
Giorgio Vazzana <mywing81 <at> gmail.com> writes:
> holden <at> rye:~/tmp$ cat v.c
> #include <vorbis/vorbisenc.h>
> int main(void) { vorbis_encode_ctl(0, 0, 0); return 0; }
> holden <at> rye:~/tmp$ gcc -Wall v.c -lvorbis
This is not what configure tests iirc.
> /tmp/ccxLWwPN.o: In function `main':
> v.c:(.text+0x14): undefined reference to `vorbis_encode_ctl'
> collect2: ld returned 1 exit status
> holden <at> rye:~/tmp$ gcc -Wall v.c -lvorbis -lpulse
> holden <at> rye:~/tmp$ gcc -Wall v.c -lvorbis -lSDL
> holden <at> rye:~/tmp$ gcc -Wall v.c -lvorbis -lvorbisenc
But configure only adds those libraries if they are also
added for config.mak which means they are also used
at build time afaict.
Carl Eugen
More information about the MPlayer-users
mailing list