[MPlayer-users] Building MPlayer Fails
Ivan Kowalenko
ivan.kowalenko at gmail.com
Tue Jun 20 17:53:36 CEST 2006
On Jun 17, 2006, at 19.15, Klaus Müller wrote:
> Ivan Kowalenko schrieb:
>
>> Done. NEW error (again)
>
> You really should follow Guillaumes suggestion:
>
>>> I'd say that before experienting with exotic setups, you'd be better
>>> off trying with the defaults of your platform to confirm that it
>>> works.
>>> Once it works, your can do some experiments.
>
>
> This means:
> Get rid of all those silly configure - options and do a plain:
>
> ./configure
> make
Part of the problem is that if I don't include those "silly configure
- options" then I lose a substantial amount of the libraries I wish
to compile in. If I'm compiling SVN, but I'm losing x264, then I
really could care less. I might as well just download a binary.
The other thing is the use of GCC 4.0. I'm still working on,
separately from MPlayer, getting my distcc system working. Because of
this, GCC 4.0.1 isn't my default compiler, and I have to manually
specify it. I doubt enabling debugging is going to cause a crash like
this, but I could be wrong.
Anyway, just for the hell of it, I did configure it blankly. It
decided to use GCC-3.3 (Apple Build), found the OS X APIs (but not
Bundle or Finder support, not that it's that important to me). I lost
FAAC, x264, XviD, TooLame, DV, and LAME, all of which were libraries
I wanted compiled in. Attached is the new configure.log.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: configure.log.gz
Type: application/x-gzip
Size: 9897 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-users/attachments/20060620/b1dbef27/attachment.bin>
-------------- next part --------------
Again, I had a build failure.
$ make
make -C libmpdemux
cc -c -I../libvo -I../../libvo -I/usr/X11R6/include -O3 -mcpu=7450 -
mtune=7450 -pipe -ffast-math -fomit-frame-pointer -faltivec -
D__APPLE_ALTIVEC__ -mdynamic-no-pic -falign-loops=16 -DSYS_DARWIN -
DCONFIG_DARWIN -DCONFIG_DARWIN -D_LARGEFILE_SOURCE -
D_FILE_OFFSET_BITS=64 -I.. -I../loader -I../libavutil -I../
libavcodec -I../libavformat -o demux_ogg.o demux_ogg.c
In file included from bswap.h:2,
from aviheader.h:5,
from stheader.h:4,
from demux_ogg.c:33:
../bswap.h:134: warning: use of `long double' type; its size may
change in a future release
../bswap.h:134: warning: (Long double usage is reported only once for
each file.
../bswap.h:134: warning: To disable this warning, use -Wno-long-double.)
demux_ogg.c:48:27: theora/theora.h: No such file or directory
demux_ogg.c:74: error: parse error before "theora_state"
demux_ogg.c:74: warning: no semicolon at end of struct or union
demux_ogg.c:75: warning: data definition has no type or storage class
demux_ogg.c:76: error: parse error before "inf"
demux_ogg.c:76: warning: data definition has no type or storage class
demux_ogg.c:77: warning: data definition has no type or storage class
demux_ogg.c: In function `demux_ogg_read_packet':
demux_ogg.c:395: error: `theora_info' undeclared (first use in this
function)
demux_ogg.c:395: error: (Each undeclared identifier is reported only
once
demux_ogg.c:395: error: for each function it appears in.)
demux_ogg.c:395: error: `thi' undeclared (first use in this function)
demux_ogg.c:395: error: parse error before ')' token
demux_ogg.c: In function `demux_ogg_open':
demux_ogg.c:974: error: `theora_info' undeclared (first use in this
function)
demux_ogg.c:974: error: parse error before "inf"
demux_ogg.c:975: error: `theora_comment' undeclared (first use in
this function)
demux_ogg.c:992: error: request for member `fps_numerator' in
something not a structure or union
demux_ogg.c:993: error: request for member `fps_denominator' in
something not a structure or union
demux_ogg.c:994: error: request for member `fps_denominator' in
something not a structure or union
demux_ogg.c:995: error: request for member `fps_numerator' in
something not a structure or union
demux_ogg.c:996: error: request for member `frame_width' in something
not a structure or union
demux_ogg.c:997: error: request for member `frame_height' in
something not a structure or union
demux_ogg.c:1010: error: request for member `version_major' in
something not a structure or union
demux_ogg.c:1011: error: request for member `version_minor' in
something not a structure or union
demux_ogg.c:1012: error: request for member `version_subminor' in
something not a structure or union
make[1]: *** [demux_ogg.o] Error 1
make: *** [libmpdemux/libmpdemux.a] Error 2
> If that works (for me it does), you can add your options one by one
> and try to sort out the offending one.
Problem is that I'm not specifying one or two libraries, I'm
specifying whole directories full of them. Also, with exception to
mentioning the /Developer headers, I've used these libraries before.
I've updated some of them (like x264), but for the most part, they've
never given me any problems.
I have to say, though, I'm glad to get some feedback from someone who
knows something about a Mac OS X system. Don't get me wrong,
Guillaume's help has been invaluable, but it's useful to have the
experience of someone who knows some of the OS X specific problems.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 186 bytes
Desc: This is a digitally signed message part
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-users/attachments/20060620/b1dbef27/attachment.pgp>
More information about the MPlayer-users
mailing list