[MPlayer-users] HAVE_WINSOCK2_H? HAVE_CLOSESOCKET? Is this a bug?

Xuebin Wu bangbangbear at gmail.com
Wed Aug 27 18:39:06 CEST 2008


I don't think this is a bug, this is an error.
On Tue, Aug 26, 2008 at 9:19 PM, Changjin Liu <lcj.liu at gmail.com> wrote:

> >Date: Tue, 26 Aug 2008 03:34:08 -0400
> >From: "Xuebin Wu" <bangbangbear at gmail.com>
> >Subject: Re: [MPlayer-users] HAVE_WINSOCK2_H? HAVE_CLOSESOCKET? Is
> >       this a  bug?
> >To: "MPlayer usage questions, feature requests,        bug reports"
> >       <mplayer-users at mplayerhq.hu>
> >Message-ID:
> >       <f25f5d150808260034g67b51e6cj30396a132de8bddf at mail.gmail.com>
> >Content-Type: text/plain; charset=ISO-8859-1
>
> >I met with the same problem with you. I think your email went into a wrong
> >mail list. Maybe you should post your patch to mplayer-develop or
> ffmpeg-dev
> >maillist.
>
> As pointed by this link,  bug should be reported to MPlayer-users maillist.
> http://www.mplayerhq.hu/design7/mailing_lists.html
>
> But it seems developers don't care this maillist
>
> >>On Tue, Aug 12, 2008 at 8:29 AM, Changjin Liu <lcj.liu at gmail.com> wrote:
>
> >> Hi,
> >>
> > >I checkout the svn today and build it using mingw. Build process stopped
> > >with libavformat/os_support.c,
> >>
> >> complaining that the compiler can't find sys/socket.h.
> >>
> >>
> >
> > >I viewed the source and found that libavformat/ os_support.c and
> > >libavformat/network.h have used such macro HAVE_WINSOCK2_H, but the
> > >configure script and the generated config.h use HAVE_WINSOCK2.
> >>
> >>
> >>
> > >I changed the HAVE_WINSOCK2_H in libavformat/ os_support.c and
> > >libavformat/network.h into HAVE_WINSOCK2 and build ok.
> >
> >
> >
> > >Another problem is about HAVE_CLOSESOCKET. The configure script doesn't
> > >check whether closesocket exists. So the HAVE_CLOSESOCKET is always
> > >undefined. In libavformat/os_support.h:
> >
> > >#ifndef HAVE_CLOSESOCKET
> >
> > >#define closesocket close
> >
> >> #endif
> >
> >> While mingw have closesocket  in winsock2.h, so build will failed.
> Should
> > >check for closesocket be added?
> >
> > >Thanks.
> >
> >
> >
> > _______________________________________________
> > MPlayer-users mailing list
> > MPlayer-users at mplayerhq.hu
> > https://lists.mplayerhq.hu/mailman/listinfo/mplayer-users
> >
>
>
> ------------------------------
>
> _______________________________________________
> MPlayer-users mailing list
> MPlayer-users at mplayerhq.hu
> https://lists.mplayerhq.hu/mailman/listinfo/mplayer-users
>
> End of MPlayer-users Digest, Vol 56, Issue 41
> *********************************************
>
> _______________________________________________
> MPlayer-users mailing list
> MPlayer-users at mplayerhq.hu
> https://lists.mplayerhq.hu/mailman/listinfo/mplayer-users
>



More information about the MPlayer-users mailing list