[DVDnav-discuss] whoops, mplayer configure doesn't like dvdnav r897 right now ; )

sci-fi at hush.ai sci-fi at hush.ai
Sun Apr 22 17:34:46 CEST 2007


-----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/





More information about the DVDnav-discuss mailing list