View Single Post
Old 23rd September 2009, 14:43   #19  |  Link
TomZ
Registered User
 
Join Date: Oct 2007
Posts: 31
It doesn't compile. I think (but am not sure) it's because my distro is x86_64.

Code:
root@vdrbox:/usr/local/src/mplayer# uname -a
Linux vdrbox 2.6.24-22-generic #1 SMP Mon Nov 24 19:35:06 UTC 2008 x86_64 GNU/Linux


root@vdrbox:/usr/local/src/mplayer# grep bluray configure.log
...
/usr/bin/ld: skipping incompatible /usr/local/lib/libbluray.so when searching
/usr/bin/ld: skipping incompatible /usr/local/lib/libbluray.so when searching
/usr/bin/ld: cannot find -lbluray
...

root@vdrbox:/usr/local/src/mplayer# make
...
cc -Wundef -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Wall -Wno-switch -Wpointer-arith 
-Wredundant-decls -O4 -march=native -mtune=native -pipe -ffast-math -fomit-frame-pointer -D_LARGEFILE_SOURCE 
-D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -Ilibdvdread4 -I.  -D_REENTRANT -I/usr/include/  -I/usr/include/freetype2 -I/usr/local/include 
  -c -o stream/stream_bluray.o stream/stream_bluray.c
stream/stream_bluray.c: In function 'open_f':
stream/stream_bluray.c:92: warning: implicit declaration of function 'isdigit'
stream/stream_bluray.c:93: warning: implicit declaration of function 'atoi'
stream/stream_bluray.c: At top level:
stream/stream_bluray.c:178: error: redefinition of 'struct stream_priv_s'
stream/stream_bluray.c:180: error: redefinition of 'stream_priv_dflts'
stream/stream_bluray.c:24: error: previous definition of 'stream_priv_dflts' was here
stream/stream_bluray.c:186: error: redefinition of 'stream_opts_fields'
stream/stream_bluray.c:30: error: previous definition of 'stream_opts_fields' was here
stream/stream_bluray.c:190: error: redefinition of 'stream_opts'
stream/stream_bluray.c:34: error: previous definition of 'stream_opts' was here
stream/stream_bluray.c:197: error: redefinition of 'fill_buffer'
stream/stream_bluray.c:41: error: previous definition of 'fill_buffer' was here
stream/stream_bluray.c:202: error: redefinition of 'seek'
stream/stream_bluray.c:46: error: previous definition of 'seek' was here
stream/stream_bluray.c:209: error: redefinition of 'control'
stream/stream_bluray.c:53: error: previous definition of 'control' was here
stream/stream_bluray.c:218: error: redefinition of 'open_f'
stream/stream_bluray.c:62: error: previous definition of 'open_f' was here
stream/stream_bluray.c:302: error: redefinition of 'stream_info_bluray'
stream/stream_bluray.c:146: error: previous definition of 'stream_info_bluray' was here
stream/stream_bluray.c:334: error: redefinition of 'struct stream_priv_s'
stream/stream_bluray.c:336: error: redefinition of 'stream_priv_dflts'
stream/stream_bluray.c:180: error: previous definition of 'stream_priv_dflts' was here
stream/stream_bluray.c:342: error: redefinition of 'stream_opts_fields'
stream/stream_bluray.c:186: error: previous definition of 'stream_opts_fields' was here
stream/stream_bluray.c:346: error: redefinition of 'stream_opts'
stream/stream_bluray.c:190: error: previous definition of 'stream_opts' was here
stream/stream_bluray.c:353: error: redefinition of 'fill_buffer'
stream/stream_bluray.c:197: error: previous definition of 'fill_buffer' was here
stream/stream_bluray.c:358: error: redefinition of 'seek'
stream/stream_bluray.c:202: error: previous definition of 'seek' was here
stream/stream_bluray.c:365: error: redefinition of 'control'
stream/stream_bluray.c:209: error: previous definition of 'control' was here
stream/stream_bluray.c:374: error: redefinition of 'open_f'
stream/stream_bluray.c:218: error: previous definition of 'open_f' was here
stream/stream_bluray.c:458: error: redefinition of 'stream_info_bluray'
stream/stream_bluray.c:146: error: previous definition of 'stream_info_bluray' was here
stream/stream_bluray.c:490: error: redefinition of 'struct stream_priv_s'
stream/stream_bluray.c:492: error: redefinition of 'stream_priv_dflts'
stream/stream_bluray.c:336: error: previous definition of 'stream_priv_dflts' was here
stream/stream_bluray.c:498: error: redefinition of 'stream_opts_fields'
stream/stream_bluray.c:342: error: previous definition of 'stream_opts_fields' was here
stream/stream_bluray.c:502: error: redefinition of 'stream_opts'
stream/stream_bluray.c:346: error: previous definition of 'stream_opts' was here
stream/stream_bluray.c:509: error: redefinition of 'fill_buffer'
stream/stream_bluray.c:353: error: previous definition of 'fill_buffer' was here
stream/stream_bluray.c:514: error: redefinition of 'seek'
stream/stream_bluray.c:358: error: previous definition of 'seek' was here
stream/stream_bluray.c:521: error: redefinition of 'control'
stream/stream_bluray.c:365: error: previous definition of 'control' was here
stream/stream_bluray.c:530: error: redefinition of 'open_f'
stream/stream_bluray.c:374: error: previous definition of 'open_f' was here
stream/stream_bluray.c:614: error: redefinition of 'stream_info_bluray'
stream/stream_bluray.c:146: error: previous definition of 'stream_info_bluray' was here
make: *** [stream/stream_bluray.o] Erreur 1
make: *** Attente des tâches non terminées....

Last edited by TomZ; 24th September 2009 at 10:43.
TomZ is offline   Reply With Quote