[vlc-devel] [PATCH] [Fwd: Cannot build anymore (on cygwin)]

Kaloyan Kovachev kkovachev at varna.net
Mon Jun 9 20:10:30 CEST 2008


The attached patch should fix the error about CloseDemux, but probably:
 "int OpenDemux( vlc_object_t *p_this )" should be added too (not sure)

On Mon, 09 Jun 2008 00:07:04 +0200, Matthias Bauer wrote
> Kaloyan Kovachev schrieb:
> > try ./bootstrap-ing again it will create 'modules/misc/stats/Makefile.in' ...
> > at least it worked for me
> >   
> Thank you for help. After git update, boostrap, configure and make 
> again, I get now the following new error:
> 
> (So for the moment I go back to my linux-in-windows-virtual-machine 
> instead of cygwin to compile)
> 
> In file included from /usr/win32/include/libavutil/common.h:104,
>                  from /usr/win32/include/libavutil/avutil.h:52,
>                  from /usr/win32/include/libavcodec/avcodec.h:30,
>                  from /usr/win32/include/libavformat/avformat.h:40,
>                  from demux.c:40:
> /usr/win32/include/libavutil/mem.h:45:27: warning: "__GNU__" is not defined
> /usr/win32/include/libavutil/mem.h:45:42: warning: "__GNU__" is not defined
> /usr/win32/include/libavutil/mem.h:51:27: warning: "__GNU__" is not defined
> /usr/win32/include/libavutil/mem.h:51:42: warning: "__GNU__" is not defined
> demux.c:88: warning: no previous prototype for 'OpenDemux'
> demux.c: In function `OpenDemux':
> demux.c:98: warning: passing arg 2 of `stream_Peek' from incompatible 
> pointer ty
> pe
> demux.c:183: warning: implicit declaration of function `CloseDemux'
> demux.c:256: warning: int format, different type arg (arg 5)
> demux.c:259: warning: int format, different type arg (arg 5)
> demux.c: At top level:
> demux.c:270: warning: no previous prototype for 'CloseDemux'
> demux.c:270: error: conflicting types for 'CloseDemux'
> $
> demux.c: In function `Control':
> demux.c:363: warning: cast does not match function type
> demux.c:382: warning: int format, different type arg (arg 5)
> demux.c:392: warning: int format, different type arg (arg 5)
> demux.c:420: warning: int format, different type arg (arg 5)
> demux.c: At top level:
> fourcc.h:1018: warning: 'GetFfmpegCodec' defined but not used
> chroma.h:78: warning: 'GetFfmpegChroma' defined but not used
> make[6]: *** [libavformat_plugin_la-demux.lo] Error 1
> make[6]: Leaving directory `/cygdrive/c/VLC/vlc/modules/codec/ffmpeg'
> make[5]: *** [all] Error 2
> make[5]: Leaving directory `/cygdrive/c/VLC/vlc/modules/codec/ffmpeg'
> make[4]: *** [all-recursive] Error 1
> make[4]: Leaving directory `/cygdrive/c/VLC/vlc/modules/codec'
> make[3]: *** [all] Error 2
> make[3]: Leaving directory `/cygdrive/c/VLC/vlc/modules/codec'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory `/cygdrive/c/VLC/vlc/modules'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/cygdrive/c/VLC/vlc'
> make: *** [all] Error 2
> 
> > On Fri, 06 Jun 2008 22:50:28 +0200, Matthias Bauer wrote
> >   
> >> After updating to the newest source from git today I cannot compile anymore.
> >>
> >> Can anyone help?
> >>
> >> This is the console output:
> >>
> >> $ make
> >> cd . && /bin/sh /cygdrive/c/VLC/vlc/autotools/missing --run 
> >> automake-1.10 --gnu
> >>
> >> modules/codec/ffmpeg/Makefile.am:13: variable `libffmpeg_plugin_la_SOURCES'
> >>     
> > is defined but no program or
> >   
> >> modules/codec/ffmpeg/Makefile.am:13: library has `libffmpeg_plugin_la' as
> >>     
> > canonic name (possible typo)
> >   
> >> modules/codec/ffmpeg/Makefile.am:14: variable
> >>     
> > `nodist_libffmpeg_plugin_la_SOURCES' is defined but no program or
> >   
> >> modules/codec/ffmpeg/Makefile.am:14: library has `libffmpeg_plugin_la'as
> >>     
> > canonic name (possible typo)
> >   
> >> modules/codec/ffmpeg/Makefile.am:20: variable `libffmpeg_plugin_la_LIBADD'
> >>     
> > is defined but no program or
> >   
> >> modules/codec/ffmpeg/Makefile.am:20: library has `libffmpeg_plugin_la' as
> >>     
> > canonic name (possible typo)
> >   
> >> modules/codec/ffmpeg/Makefile.am:21: variable
> >>     
> > `libffmpeg_plugin_la_DEPENDENCIES' is defined but no program or
> >   
> >> modules/codec/ffmpeg/Makefile.am:21: library has `libffmpeg_plugin_la' as
> >>     
> > canonic name (possible typo)
> >   
> >> configure.ac:5862: required file `modules/misc/stats/Makefile.in' not found
> >> make: *** [Makefile.in] Error 1
> >>
> >> _______________________________________________
> >> vlc-devel mailing list
> >> To unsubscribe or modify your subscription options:
> >> http://mailman.videolan.org/listinfo/vlc-devel
> >>     
> >
> > _______________________________________________
> > vlc-devel mailing list
> > To unsubscribe or modify your subscription options:
> > http://mailman.videolan.org/listinfo/vlc-devel
> >
> >
> 
> _______________________________________________
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
> http://mailman.videolan.org/listinfo/vlc-devel

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Add-CloseDemux-prototype.patch
Type: application/octet-stream
Size: 850 bytes
Desc: not available
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20080609/4357a56e/attachment.obj>


More information about the vlc-devel mailing list