[MPlayer-cygwin] Can't compile NUT (nut-SVN-r517.diff fails)

Eugene Kovgar ken20001 at ukr.net
Fri Apr 10 01:15:42 CEST 2009


Milen Manev <mmanev <at> gmail.com> writes:

> 
> > diff -NpuBr -Xexclude.txt main/configure sherpya/configure
> > --- main/configure      2009-04-08 12:14:59.375000000 +0200
> > +++ sherpya/configure   2009-04-08 13:16:36.890625000 +0200
> > @@ -3291,7 +3291,16 @@ if test "$_pthreads" = auto ; then
> >
> > --- main/configure - is original file, it understood. But +++ sherpya/
configure
> > - what does it mean ? There are no sherpya directory in Mplayer directory.
> > Create it?
> 
> NO.
> When you execute patch you put parameter -p1 which means ignore first
> directory in path.
> So, your original file is configure and your patched file is the same 
configure.
> 
> > Next. As I understood 3291 is the line at which is text: "if test 
"$_pthreads"
> > = auto ; then", Yes, is it right?
> > And what is number after coma - seven and sixteen: 3291,7 +3291,16 ?
> 
> Do not care about them.
> 
> I think you have to read
> http://www.gnu.org/software/diffutils/manual/html_mono/diff.html#Unified
%20Format
> 

All patches is done manually and it works. Thanks. BUT another problem 
appeared: Now I can not compile libtheora-1.0 (not beta but release):

png2theora.c: In function `main':
png2theora.c:510: warning: implicit declaration of function `scandir'
png2theora.c:510: error: `alphasort' undeclared (first use in this function)
png2theora.c:510: error: (Each undeclared identifier is reported only once
png2theora.c:510: error: for each function it appears in.)
make[2]: *** [png2theora] Error 1
make[2]: Leaving directory `/home/Eugene/libtheora-1.0/examples'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/Eugene/libtheora-1.0'
make: *** [all] Error 2

Erlier it seems to be compiled well but now I tried to recompile and get this 
error.



More information about the MPlayer-cygwin mailing list