[MPlayer-users] Re: CVS Mplayer compiling problem

Torinthiel torinthiel at megapolis.pl
Fri Jan 28 23:57:06 CET 2005

On Fri, Jan 28, 2005 at 01:10:01PM +0100, Bartosz Sokołowski wrote:
> Hello!!
> > Replace that uio/sys.h step by step by the ones mentioned here:
> > > In file included from /usr/include/sys/socket.h:27,
> > >                  from /usr/include/netinet/in.h:24,
> > >                  from /usr/include/netdb.h:28,
> > >                  from ../libmpdemux/network.h:16,
> > >                  from ../libmpdemux/stream.h:51,
> > >                  from ../Gui/interface.h:12,
> > 
> > And see if it still works (i.e. sys/socket.h netinet/in.h netdb.h).
> I can try this but I don't understand what GUI option has to do with
> netinet/in.h and so on. Remember that if I compile MPlayer without GUI
> option it compiles fine!

Yes. The situaion is like this: compilation fails on
But this file is included by  /usr/include/sys/socket.h which is
included by /usr/include/netinet/in.h and so on. The whole chain is
started by including MPlayer/Gui/interface.h which is included by
libvo/vo_x11.c but ONLY if you compile with GUI. That's why it goes well
without GUI.
Now, replace <sys/uio.h> with <sys/socket.h> and everything else form
the list of includes in the test file I've sent to you. And if it works
up to <netdb.h> then we have to look more carefully. If it doesn't than
it's the distribution's fault.

 Waclaw "Torinthiel" Schiller       GG#: 542916, 3073512
   gpg: B06901F1 fpr: FAA3 559F CAE9 34DE CDC8  7346 2B6E 39F2 B069 01F1
 "No classmates may be used during this examination"
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-users/attachments/20050128/30594719/attachment.pgp>

More information about the MPlayer-users mailing list