whoops, mplayer configure doesn't like dvdnav r897 right now ; )
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi again, Ah-oh, we're missing something in your new dvdnav's headers at svn r897. I ran its original configure script since configure2 still has problems as we're discussing in another thread here. My ffmpeg/mplayer copies are at r8781/r23064. After installing dvdnav r897, I let mplayer configure auto-detect which dvd support to decide to use on its own, and now at r897 it is having a problem here in its config.log: ########################################## ============ Checking for DVD support (libdvdnav) ============ 0.2.0 #include <dvdnav.h> int main(void) { dvdnav_t *dvd=0; return 0; } cc -Os -mpowerpc64 -mcpu=970 -mtune=970 -mpowerpc-gpopt - mpowerpc-gfxopt -mmultiple -mstring -mfused-madd -mpim-altivec - faltivec -maltivec -mabi=altivec -floop-optimize2 -fbranch-target- load-optimize2 -Wall -ftree-vectorize -ftree-vectorizer-verbose=1 - -falign-loops-max-skip=15 -falign-jumps-max-skip=15 -falign- loops=16 -falign-jumps=16 -falign-functions=16 -fsched-interblock - Wstrict-aliasing=2 -fexpensive-optimizations -foptimize-register- move -fno-enforce-eh-specs -fgcse -fgcse-lm -fgcse-sm -fgcse-las - fgcse-after-reload -ftree-loop-linear -ftree-loop-im -ftree-loop- ivcanon -fivopts -ftracer -fvariable-expansion-in-unroller - fprefetch-loop-arrays -freorder-blocks -funit-at-a-time -fweb -fno- math-errno -frename-registers --param max-gcse-passes=3 --param max- inline-insns-single=1000 --param max-inline-insns-auto=1000 --param large-function-insns=6500 --param inline-unit-growth=100 --param max-inline-insns-recursive=1000 --param max-inline-insns-recursive- auto=1000 --param max-inline-recursive-depth=1000 --param max- inline-recursive-depth-auto=1000 -ffast-math -fomit-frame-pointer - -faltivec -D__APPLE_ALTIVEC__ -I/usr/local/include -Os - mpowerpc64 -mcpu=970 -mtune=970 -mpowerpc-gpopt -mpowerpc-gfxopt - mmultiple -mstring -mfused-madd -mpim-altivec -faltivec -maltivec - mabi=altivec -floop-optimize2 -fbranch-target-load-optimize2 -Wall - -ftree-vectorize -ftree-vectorizer-verbose=1 -falign-loops-max- skip=15 -falign-jumps-max-skip=15 -falign-loops=16 -falign-jumps=16 - -falign-functions=16 -fsched-interblock -Wstrict-aliasing=2 - fexpensive-optimizations -foptimize-register-move -fno-enforce-eh- specs -fgcse -fgcse-lm -fgcse-sm -fgcse-las -fgcse-after-reload - ftree-loop-linear -ftree-loop-im -ftree-loop-ivcanon -fivopts - ftracer -fvariable-expansion-in-unroller -fprefetch-loop-arrays - freorder-blocks -funit-at-a-time -fweb -fno-math-errno -frename- registers --param max-gcse-passes=3 --param max-inline-insns- single=1000 --param max-inline-insns-auto=1000 --param large- function-insns=6500 --param inline-unit-growth=100 --param max- inline-insns-recursive=1000 --param max-inline-insns-recursive- auto=1000 --param max-inline-recursive-depth=1000 --param max- inline-recursive-depth-auto=1000 -ffast-math -fomit-frame-pointer - -I/usr/X11R6/include -I/usr/local/include/ -I/usr/local/include/SDL -D_THREAD_SAFE -I/usr/local/include -I/usr/local/include - L/usr/local/lib -Wl,-read_only_relocs,warning -Wl,- framework,CoreServices,-framework,ApplicationServices - L/usr/local/lib -L/usr/X11R6/lib -lgtk-x11-2.0 -lgdk-x11-2.0 - lXrandr -lXrender -lXinerama -lXext -lX11 -latk-1.0 -lgdk_pixbuf- 2.0 -lpangocairo-1.0 -lXcursor -lcairo -lpangoft2-1.0 -lfontconfig - lfreetype -lz -lpango-1.0 -lm -lgobject-2.0 -lgmodule-2.0 -lgthread- 2.0 -lglib-2.0 -lintl -liconv -lncurses -ltinfo -framework Carbon -framework QuickTime -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework Cocoa -framework QuartzCore -framework OpenGL -lpng -lz -ljpeg -lgif -lXext -lX11 - -lXv -lXinerama -lXxf86vm -lGL -L/usr/local/lib -lcaca -lcucul - L/usr/local/lib -lSDLmain -lSDL -Wl,-framework,Cocoa - L/usr/local/lib -lesd -laudiofile -lm -framework CoreAudio - framework CoreServices -framework AudioUnit -L/usr/local/lib -ljack -framework OpenAL -o /Volumes/RamDisk/tmp/mplayer-conf-28871- 12160.o /Volumes/RamDisk/tmp/mplayer-conf-24-12160.c - I/usr/local/include -I/usr/local/include/dvdnav -L/usr/local/lib - ldvdnav -lpthread cc1: warning: command line option "-fno-enforce-eh-specs" is valid for C++/ObjC++ but not for C cc1: warning: command line option "-fno-enforce-eh-specs" is valid for C++/ObjC++ but not for C In file included from /usr/local/include/dvdnav/dvdnav.h:39, from /Volumes/RamDisk/tmp/mplayer-conf-24- 12160.c:1: /usr/local/include/dvdnav/dvd_types.h:54: error: parse error before 'uint32_t' /usr/local/include/dvdnav/dvd_types.h:57: error: parse error before 'pts' /usr/local/include/dvdnav/dvd_types.h:60: error: parse error before 'buttonN' In file included from /Volumes/RamDisk/tmp/mplayer-conf-24- 12160.c:1: /usr/local/include/dvdnav/dvdnav.h:436: error: parse error before '*' token /usr/local/include/dvdnav/dvdnav.h:436: warning: type defaults to 'int' in declaration of 'dvdnav_get_current_nav_pci' /usr/local/include/dvdnav/dvdnav.h:436: warning: data definition has no type or storage class /usr/local/include/dvdnav/dvdnav.h:445: error: parse error before '*' token /usr/local/include/dvdnav/dvdnav.h:445: warning: type defaults to 'int' in declaration of 'dvdnav_get_current_nav_dsi' /usr/local/include/dvdnav/dvdnav.h:445: warning: data definition has no type or storage class /usr/local/include/dvdnav/dvdnav.h:450: error: parse error before '*' token /usr/local/include/dvdnav/dvdnav.h:456: error: parse error before 'pci_t' /usr/local/include/dvdnav/dvdnav.h:457: error: parse error before 'pci_t' /usr/local/include/dvdnav/dvdnav.h:458: error: parse error before 'pci_t' /usr/local/include/dvdnav/dvdnav.h:459: error: parse error before 'pci_t' /usr/local/include/dvdnav/dvdnav.h:464: error: parse error before 'pci_t' /usr/local/include/dvdnav/dvdnav.h:469: error: parse error before 'pci_t' /usr/local/include/dvdnav/dvdnav.h:474: error: parse error before 'pci_t' /usr/local/include/dvdnav/dvdnav.h:484: error: parse error before 'pci_t' /usr/local/include/dvdnav/dvdnav.h:489: error: parse error before 'pci_t' /Volumes/RamDisk/tmp/mplayer-conf-24-12160.c: In function 'main': /Volumes/RamDisk/tmp/mplayer-conf-24-12160.c:2: warning: unused variable 'dvd' Result is: no ########################################## Before you moved the #includes around, mplayer configure was working properly in this area. ATPT directly underneath this part of config.log, it will decide to use external dvdread (built myself from that project). Mplayer then has further build problems from that point on, but that's o.t. for this list. Please realise the massive gcc options are to get around Apple's - -fast switch, the ones shown above are the equivalents without the buggy ones that we're able to determine ATPT. I actually have successfully built your new dvdnav this way at a previous svn rev _before_ you moved the #includes around. ;) (we'll get to whether dvdnav really works on osx later when everything's settled...) I know you might not be thru with re-adjusting everything. No biggee, just trying to help before it gets worse. ;) Thanks for looking into this. -----BEGIN PGP SIGNATURE----- Note: This signature can be verified at https://www.hushtools.com/verify Version: Hush 2.5 wkYEARECAAYFAkYrgJMACgkQZbt5KOxKrtTPaACdGZLO1v8dp3d32WPsdqSh56L6SpwA nRC85DxvPea35nMlxCSbeZZI+kU4 =REqX -----END PGP SIGNATURE----- -- Click to get 150,000 in student loans and find the lowest rates http://tagline.hushmail.com/fc/CAaCXv1QJjWkSvu7iEhHCdIupMiHbpdD/
sci-fi@hush.ai wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Hi again,
Ah-oh, we're missing something in your new dvdnav's headers at svn r897.
I ran its original configure script since configure2 still has problems as we're discussing in another thread here.
My ffmpeg/mplayer copies are at r8781/r23064.
After installing dvdnav r897, I let mplayer configure auto-detect which dvd support to decide to use on its own, and now at r897 it is having a problem here in its config.log:
##########################################
Result is: no ##########################################
should be fixed. svn update mplayer and dvdnav
Before you moved the #includes around, mplayer configure was working properly in this area.
ATPT directly underneath this part of config.log, it will decide to use external dvdread (built myself from that project). Mplayer then has further build problems from that point on, but that's o.t. for this list.
Please realise the massive gcc options are to get around Apple's - -fast switch, the ones shown above are the equivalents without the buggy ones that we're able to determine ATPT. I actually have successfully built your new dvdnav this way at a previous svn rev _before_ you moved the #includes around. ;) (we'll get to whether dvdnav really works on osx later when everything's settled...)
I know you might not be thru with re-adjusting everything. No biggee, just trying to help before it gets worse. ;)
the old inclusion system was a disaster, worth destroying. There's still a massive set of includes in dvdnav.h and especially dvdnav_internal.h that sooner or later I'll clean. Headers should never include other headers, or you will get a huge mess
On Tue, 24 Apr 2007 22:59:16 +0200, Nico Sabbi wrote:
Nico Sabbi wrote:
sci-fi@hush.ai wrote:
Hi again,
Ah-oh, we're missing something in your new dvdnav's headers at svn r897.
should be fixed. svn update mplayer and dvdnav
sci-fi, can you confirm that now libdvdnav builds and works as expected, please?
Hi, I svn-up'd to dvdnav-r900, and ffmpeg/mplayer is at r8807/r23112. MPlayer's ./configure script is auto-detecting things properly w/r/t this version of libdvdnav, and the build finishes fine in this regard. (I'm trying to submit bug-reports for workarounds on other unrelated issues...)
[...] Enabled optional drivers: Input: ftp tv live555 cddb cdda dvdread(from dvdnav) dvdnav vcd network Codecs: qtx x264 libdv amr_wb amr_nb libavcodec real xanim faad2 faac musepack libmpeg2 libdts liba52 mp3lib libtheora speex libvorbis twolame libmad liblzo gif Audio output: openal jack esd sdl mpegpes(file) macosx Video output: md5sum sdl gif89a pnm jpeg png mpegpes(file) caca opengl xv x11 xover tga macosx quartz Audio filters: Disabled optional drivers: Input: vstream pvr radio tv-v4l2 tv-v4l1 libdvdcss(internal) dvb smb Codecs: xvid win32 toolame Audio output: sun alsa polyp arts oss ivtv dxr2 nas Video output: xvidix winvidix cvidix bl zr zr2 ivtv dxr3 dxr2 vesa fbdev svga aa ggi xmga mga dga xvmc dfbmga directfb tdfx_vid s3fb tdfxfb 3dfx Audio filters: ladspa [...] <<<<
I do have external libdvdcss-1.2.9 installed, so hope dvdread will use it. I'll need to test some store-bought DVDs but ISTR we won't have mouse-clicks (menus) support for native darwin/osx ATPT, got lots of work to do there. However maybe running mplayer with SDL or under X11 i.e. with the related -vo's will let DVD mouse/menus work. (I do have current XFree86-cvs aka 4.6.99.22+ actually working here together with Apple's closed-source components, even the -vo's for gl* are working albeit slowly since they don't seem to care about Apple's proprietary hardware acceleration but complain about the missing stock drivers we can't use in this environment.) As far as libdvdnav r900 itself, I must build with its original ./configure, since ./configure2 with both --enable-shared --enable-static specified still isn't building the .dylib here. Thanks. :)
participants (3)
-
Nico Sabbi -
sci-fi@hush.ai -
SciFi