Mans Rullgard <[EMAIL PROTECTED]> added the comment: Aurelien Jacobs <[EMAIL PROTECTED]> writes:
> Aurelien Jacobs <[EMAIL PROTECTED]> added the comment: > > On Sat, 12 Jul 2008 14:11:34 +0000 > Mans Rullgard <[EMAIL PROTECTED]> wrote: > >> >> Mans Rullgard <[EMAIL PROTECTED]> added the comment: >> >> ProgrammingKid <[EMAIL PROTECTED]> writes: >> >> > ProgrammingKid <[EMAIL PROTECTED]> added the comment: >> > >> > Here is the complete error message: >> > >> > In file included from ffmpeg.c:34: >> > libavformat/framehook.h:25:2: warning: #warning VHOOK is >> > deprecated. Please help finishing libavfilter instead of wasting >> > your time writing new filters for this crappy filter system. >> > In file included from ffmpeg.c:41: >> > /usr/include/sys/resource.h:81: error: field `ru_utime' has >> > incomplete type >> > /usr/include/sys/resource.h:82: error: field `ru_stime' has >> > incomplete type >> > make: *** [ffmpeg.o] Error 1 >> >> Your system is broken. > > That's true. On the other hand, I would expect configure to > detect such a broken header (it's only used under > HAVE_SYS_RESOURCE_H). Should it not be safe to assume that system headers which are present also are functional? In the extreme, too rigorous checks would turn configure into a libc test suite. I'm sure you agree that is not what we're aiming for. > The following patch may fix this. > (Moreover, it would allow to drop the check_cpp function) I'd still leave the check_cpp function. You never know when it might come in handy. ______________________________________________________ FFmpeg issue tracker <[EMAIL PROTECTED]> <https://roundup.mplayerhq.hu/roundup/ffmpeg/issue521> ______________________________________________________
