Discussion:
[MPlayer-users] MPlayer won't build.
batguano999
2016-05-13 16:15:15 UTC
Permalink
Hi
MPlayer r37866 won't build for me.

When compiling the FFmpeg libraries there's an error:-

CC libavformat/pmpdec.o
CC libavformat/protocols.o
libavformat/protocols.c:72:39: fatal error: libavformat/protocol_list.c: No such file or directory
#include "libavformat/protocol_list.c"
^
compilation terminated.
make[1]: *** [libavformat/protocols.o] Error 1
make[1]: Leaving directory `/home/user/mplayer_build/mplayer/ffmpeg'
make: *** [ffmpeg/libavformat/libavformat.a] Error 2
--------------------------------------------------------



The last successful MPlayer build I had was SVN-r37864 compiled on May 11 2016.
I'm using 32-bit Ubuntu-14.04.
--------------------------------------------------------
$ mkdir mplayer_build
$ cd mplayer_build
$ svn co svn://svn.mplayerhq.hu/mplayer/trunk mplayer; cd mplayer
$ git clone --depth 1 git://git.videolan.org/ffmpeg.git
$ ./configure
$ make
--------------------------------------------------------
Roberto Togni
2016-05-13 20:39:29 UTC
Permalink
On Fri, 13 May 2016 16:15:15 +0000
Post by batguano999
Hi
MPlayer r37866 won't build for me.
When compiling the FFmpeg libraries there's an error:-
CC libavformat/pmpdec.o
CC libavformat/protocols.o
libavformat/protocols.c:72:39: fatal error: libavformat/protocol_list.c: No such file or directory
#include "libavformat/protocol_list.c"
^
compilation terminated.
make[1]: *** [libavformat/protocols.o] Error 1
make[1]: Leaving directory `/home/user/mplayer_build/mplayer/ffmpeg'
make: *** [ffmpeg/libavformat/libavformat.a] Error 2
--------------------------------------------------------
The last successful MPlayer build I had was SVN-r37864 compiled on May 11 2016.
I'm using 32-bit Ubuntu-14.04.
--------------------------------------------------------
$ mkdir mplayer_build
$ cd mplayer_build
$ svn co svn://svn.mplayerhq.hu/mplayer/trunk mplayer; cd mplayer
$ git clone --depth 1 git://git.videolan.org/ffmpeg.git
$ ./configure
$ make
--------------------------------------------------------
Should be fixed now.

Ciao,
Roberto
batguano999
2016-05-13 21:53:50 UTC
Permalink
Post by Roberto Togni
Should be fixed now.
With r37867 it throws up different error messages...

/usr/bin/ld: warning: libgnutls.so.26, needed by //usr/lib/i386-linux-gnu/libldap_r-2.4.so.2, may conflict with libgnutls.so.28
ffmpeg/libavformat/libavformat.a(protocols.o):(.data+0x60): undefined reference to `ff_sctp_protocol'
collect2: error: ld returned 1 exit status
make: *** [mplayer] Error 1

I think the 'libgnutls.so.28' message is only a warning, but maybe the 'ff_sctp_protocol' message is a problem.
Josh
2016-05-14 14:57:04 UTC
Permalink
Post by batguano999
Post by Roberto Togni
Should be fixed now.
With r37867 it throws up different error messages...
/usr/bin/ld: warning: libgnutls.so.26, needed by //usr/lib/i386-linux-gnu/libldap_r-2.4.so.2, may conflict with libgnutls.so.28
ffmpeg/libavformat/libavformat.a(protocols.o):(.data+0x60): undefined reference to `ff_sctp_protocol'
collect2: error: ld returned 1 exit status
make: *** [mplayer] Error 1
I think the 'libgnutls.so.28' message is only a warning, but maybe the 'ff_sctp_protocol' message is a problem.
_______________________________________________
MPlayer-users mailing list
https://lists.mplayerhq.hu/mailman/listinfo/mplayer-users
Similar in Mingw.

ffmpeg/libavformat/libavformat.a(protocols.o):protocols.c:(.data+0x60):
undefined reference to `ff_sctp_protocol'
ffmpeg/libavformat/libavformat.a(protocols.o):protocols.c:(.data+0x78):
undefined reference to `ff_unix_protocol'
collect2.exe: error: ld returned 1 exit status
Christian Ebert
2016-05-14 17:16:58 UTC
Permalink
* Josh on Saturday, May 14, 2016 at 10:57:04 -0400
Post by Josh
Post by batguano999
Post by Roberto Togni
Should be fixed now.
With r37867 it throws up different error messages...
/usr/bin/ld: warning: libgnutls.so.26, needed by //usr/lib/i386-linux-gnu/libldap_r-2.4.so.2, may conflict with libgnutls.so.28
ffmpeg/libavformat/libavformat.a(protocols.o):(.data+0x60): undefined reference to `ff_sctp_protocol'
collect2: error: ld returned 1 exit status
make: *** [mplayer] Error 1
I think the 'libgnutls.so.28' message is only a warning, but maybe the 'ff_sctp_protocol' message is a problem.
_______________________________________________
MPlayer-users mailing list
https://lists.mplayerhq.hu/mailman/listinfo/mplayer-users
Similar in Mingw.
undefined reference to `ff_sctp_protocol'
undefined reference to `ff_unix_protocol'
collect2.exe: error: ld returned 1 exit status
Undefined symbols for architecture x86_64:
"_ff_sctp_protocol", referenced from:
Undefined symbols for architecture x86_64:
"_ff_sctp_protocol", referenced from:
_url_protocols in libavformat.a(protocols.o)
_url_protocols in libavformat.a(protocols.o)
ld: symbol(s) not found for architecture x86_64
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Makefile:747: recipe for target 'mencoder' failed
make: *** [mencoder] Error 1
make: *** Waiting for unfinished jobs....
Makefile:747: recipe for target 'mplayer' failed
make: *** [mplayer] Error 1
--
theatre - books - texts - movies
Black Trash Productions at home: http://www.blacktrash.org
Black Trash Productions on Facebook:
http://www.facebook.com/blacktrashproductions
Roberto Togni
2016-05-14 19:09:44 UTC
Permalink
On Sat, 14 May 2016 19:16:58 +0200
Post by Christian Ebert
* Josh on Saturday, May 14, 2016 at 10:57:04 -0400
Post by Josh
Post by batguano999
Post by Roberto Togni
Should be fixed now.
With r37867 it throws up different error messages...
/usr/bin/ld: warning: libgnutls.so.26, needed by //usr/lib/i386-linux-gnu/libldap_r-2.4.so.2, may conflict with libgnutls.so.28
ffmpeg/libavformat/libavformat.a(protocols.o):(.data+0x60): undefined reference to `ff_sctp_protocol'
collect2: error: ld returned 1 exit status
make: *** [mplayer] Error 1
I think the 'libgnutls.so.28' message is only a warning, but maybe the 'ff_sctp_protocol' message is a problem.
_______________________________________________
MPlayer-users mailing list
https://lists.mplayerhq.hu/mailman/listinfo/mplayer-users
Similar in Mingw.
undefined reference to `ff_sctp_protocol'
undefined reference to `ff_unix_protocol'
collect2.exe: error: ld returned 1 exit status
_url_protocols in libavformat.a(protocols.o)
_url_protocols in libavformat.a(protocols.o)
ld: symbol(s) not found for architecture x86_64
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Makefile:747: recipe for target 'mencoder' failed
make: *** [mencoder] Error 1
make: *** Waiting for unfinished jobs....
Makefile:747: recipe for target 'mplayer' failed
make: *** [mplayer] Error 1
Please try again with latest version.
Now it should not try anymore to use protocols with unmet dependencies.

Ciao,
Roberto
Christian Ebert
2016-05-14 20:26:59 UTC
Permalink
* Roberto Togni on Saturday, May 14, 2016 at 21:09:44 +0200
Post by Roberto Togni
Please try again with latest version.
Now it should not try anymore to use protocols with unmet dependencies.
Builds fine now on OS X, thank you.
--
Was heißt hier Dogma, ich bin Underdogma!
[ What the hell do you mean dogma, I am underdogma. ]
free movies --->>> http://www.blacktrash.org/underdogma
http://itunes.apple.com/podcast/underdogma-movies/id363423596
batguano999
2016-05-14 21:31:44 UTC
Permalink
Post by Roberto Togni
Please try again with latest version.
Yes, it's built OK now.
Thanks
:-)
MPlayer SVN-r37869-4.8

Loading...