[MPlayer-users] failed to compile mplayer(cvs) with xvid
Corey Hickey
bugfood-ml at fatooh.org
Mon Mar 20 05:29:42 CET 2006
On Sat, March 18, 2006 12:36, yong wrote:
> im using the mingw gcc 3.4.5 to compile mplayer, with xvid 1.2.0
> version.
> but failed with following error:
>
> libavcodec/libavcodec.a(xvid_rc.o):xvid_rc.c:(.text+0x25):
> undefined reference to `mkstemp'
> libavcodec/libavcodec.a(xvid_rc.o):xvid_rc.c:(.text+0x21c):
> undefined reference to `mkstemp'
> collect2: ld returned 1 exit status
> make: *** [mplayer.exe] Error
>
> Any idea?
Can you please try out the attached patch? It seems to work right for
me on Linux, but I can't test on mingw. If you report success, I'll
submit my patch for inclusion and hopefully apply it or a revision to
CVS.
Something like:
cd /usr/local/src/mplayer/main/libavcodec
patch -p0 < ~/av_tempfile.diff
Thanks,
Corey
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: av_tempfile.diff
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-users/attachments/20060319/9d728929/attachment.asc>
More information about the MPlayer-users
mailing list