Opened 12 years ago
Closed 12 years ago
#781 closed defect (fixed)
libavformat/sbgdec.c:1334:20: error: 'EOVERFLOW' undeclared (first use in this function)
Reported by: | Kyle | Owned by: | |
---|---|---|---|
Priority: | critical | Component: | avformat |
Version: | git-master | Keywords: | |
Cc: | Blocked By: | ||
Blocking: | Reproduced by developer: | no | |
Analyzed by developer: | no |
Description
I'm getting this bug when building for Win32.
make V=1:
i686-w64-mingw32-gcc -I. -I/home/kyle/software/ffmpeg/source/ffmpeg-git/ -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -U__STRICT_ANSI__ -DHAVE_AV_CONFIG_H -std=c99 -fno-common -fomit-frame-pointer -g -Wdeclaration-after-statement -Wall -Wno-parentheses -Wno-switch -Wno-format-zero-length -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -Wno-pointer-sign -Wcast-qual -Wwrite-strings -Wtype-limits -Wundef -Wmissing-prototypes -Wno-pointer-to-int-cast -Wstrict-prototypes -O3 -fno-math-errno -fno-signed-zeros -fno-tree-vectorize -Werror=implicit-function-declaration -Werror=missing-prototypes -MMD -MF libavformat/sbgdec.d -MT libavformat/sbgdec.o -c -o libavformat/sbgdec.o /home/kyle/software/ffmpeg/source/ffmpeg-git/libavformat/sbgdec.c /home/kyle/software/ffmpeg/source/ffmpeg-git/libavformat/sbgdec.c: In function 'encode_intervals': /home/kyle/software/ffmpeg/source/ffmpeg-git/libavformat/sbgdec.c:1334:20: error: 'EOVERFLOW' undeclared (first use in this function) /home/kyle/software/ffmpeg/source/ffmpeg-git/libavformat/sbgdec.c:1334:20: note: each undeclared identifier is reported only once for each function it appears in make: *** [libavformat/sbgdec.o] Error 1
Using version FFmpeg 6d8e6fe9dbc365f50521cf0c4a5ffee97c970cb5 (2011-12-16)
Change History (5)
comment:1 by , 12 years ago
follow-up: 3 comment:2 by , 12 years ago
Does it work better if you add "-D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600" to the compile command? You can just copy-paste the command, run it with the extra options and then restart make to check that.
comment:3 by , 12 years ago
--disable-demuxer=sbg Seems to work, -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 does not. This bug is still open.
comment:4 by , 12 years ago
I pushed a change removing EOVERFLOW: please test it and, if it works for you, mark this issue as fixed.
But please also consider filing a bug report against your compiler/build environment: EOVERFLOW has been around for more than ten years now.
comment:5 by , 12 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Please reopen if compilation still fails, thank you for the report!
Please use --disable-demuxer=sbg until this gets fixed.