#3703 closed defect (invalid)
make: *** [libavdevice/alldevices.o] Error 1
Reported by: | paryasomayajulu | Owned by: | |
---|---|---|---|
Priority: | normal | Component: | undetermined |
Version: | unspecified | Keywords: | |
Cc: | Blocked By: | ||
Blocking: | Reproduced by developer: | no | |
Analyzed by developer: | no |
Description
Hi i am getting following error when trying to use command "make" for building ffmpeg source
Note: ./Configure command is successful
Pavan@Pavan-PC /C/FFmpeg-master/FFmpeg-master
$ make
CC libavdevice/alldevices.o
gcc: unrecognized option `-pthread'
In file included from ./libavutil/avutil.h:283,
from ./libavutil/log.h:25,
from libavdevice/avdevice.h:46,
from libavdevice/alldevices.c:22:
./libavutil/common.h:34:22: inttypes.h: No such file or directory
./libavutil/common.h:37:20: stdint.h: No such file or directory
In file included from ./libavutil/avutil.h:283,
from ./libavutil/log.h:25,
from libavdevice/avdevice.h:46,
from libavdevice/alldevices.c:22:
./libavutil/common.h:79: error: parse error before "av_reverse"
./libavutil/common.h:79: warning: type defaults to int' in declaration of
av_r
everse'
./libavutil/common.h:79: warning: data definition has no type or storage class
In file included from ./libavutil/common.h:84,
from ./libavutil/avutil.h:283,
from ./libavutil/log.h:25,
from libavdevice/avdevice.h:46,
from libavdevice/alldevices.c:22:
./libavutil/intmath.h:53: error: parse error before "ff_log2_tab"
./libavutil/intmath.h:53: warning: type defaults to int' in declaration of
ff_
log2_tab'
./libavutil/intmath.h:53: warning: data definition has no type or storage class
In file included from ./libavutil/avutil.h:283,
from ./libavutil/log.h:25,
from libavdevice/avdevice.h:46,
from libavdevice/alldevices.c:22:
./libavutil/common.h:122: error: parse error before "av_clip64_c"
./libavutil/common.h:122: error: parse error before "a"
./libavutil/common.h:123: warning: return type defaults to `int'
./libavutil/common.h:123: warning: function declaration isn't a prototype
./libavutil/common.h: In function `av_clip64_c':
./libavutil/common.h:127: error: `a' undeclared (first use in this function)
./libavutil/common.h:127: error: (Each undeclared identifier is reported only on
ce
./libavutil/common.h:127: error: for each function it appears in.)
./libavutil/common.h:127: error: `amin' undeclared (first use in this function)
./libavutil/common.h:128: error: `amax' undeclared (first use in this function)
./libavutil/common.h: At top level:
./libavutil/common.h:137: error: parse error before "av_clip_uint8_c"
./libavutil/common.h:138: warning: return type defaults to `int'
./libavutil/common.h:138: warning: no previous prototype for 'av_clip_uint8_c'
./libavutil/common.h:148: error: parse error before "av_clip_int8_c"
./libavutil/common.h:149: warning: return type defaults to `int'
./libavutil/common.h:149: warning: no previous prototype for 'av_clip_int8_c'
./libavutil/common.h:159: error: parse error before "av_clip_uint16_c"
./libavutil/common.h:160: warning: return type defaults to `int'
./libavutil/common.h:160: warning: no previous prototype for 'av_clip_uint16_c'
./libavutil/common.h:170: error: parse error before "av_clip_int16_c"
./libavutil/common.h:171: warning: return type defaults to `int'
./libavutil/common.h:171: warning: no previous prototype for 'av_clip_int16_c'
./libavutil/common.h:181: error: parse error before "av_clipl_int32_c"
./libavutil/common.h:181: error: parse error before "a"
./libavutil/common.h:182: warning: return type defaults to `int'
./libavutil/common.h:182: warning: function declaration isn't a prototype
./libavutil/common.h: In function `av_clipl_int32_c':
./libavutil/common.h:183: error: `a' undeclared (first use in this function)
./libavutil/common.h:183: warning: implicit declaration of function `UINT64_C'
./libavutil/common.h:183: error: `int32_t' undeclared (first use in this functio
n)
./libavutil/common.h:184: error: parse error before "a"
./libavutil/common.h: In function `av_sat_add32_c':
./libavutil/common.h:208: error: `int64_t' undeclared (first use in this functio
n)
./libavutil/common.h:208: error: parse error before "a"
./libavutil/common.h:209: warning: no return statement in function returning non
-void
./libavutil/common.h: At top level:
./libavutil/common.h:271: error: parse error before "x"
./libavutil/common.h:272: warning: function declaration isn't a prototype
./libavutil/common.h: In function `av_popcount_c':
./libavutil/common.h:273: error: `x' undeclared (first use in this function)
./libavutil/common.h: At top level:
./libavutil/common.h:285: error: parse error before "x"
./libavutil/common.h:286: warning: function declaration isn't a prototype
./libavutil/common.h: In function `av_popcount64_c':
./libavutil/common.h:287: error: `uint32_t' undeclared (first use in this functi
on)
./libavutil/common.h:287: error: parse error before "x"
./libavutil/common.h:288: warning: no return statement in function returning non
-void
In file included from ./libavutil/common.h:412,
from ./libavutil/avutil.h:283,
from ./libavutil/log.h:25,
from libavdevice/avdevice.h:46,
from libavdevice/alldevices.c:22:
./libavutil/mem.h: At top level:
./libavutil/mem.h:320: warning: type defaults to int' in declaration of
uint8_
t'
./libavutil/mem.h:320: error: parse error before '*' token
./libavutil/mem.h:320: warning: function declaration isn't a prototype
./libavutil/mem.h:351: error: parse error before '*' token
./libavutil/mem.h:351: warning: function declaration isn't a prototype
In file included from ./libavutil/libm.h:30,
from ./libavutil/internal.h:167,
from ./libavutil/common.h:415,
from ./libavutil/avutil.h:283,
from ./libavutil/log.h:25,
from libavdevice/avdevice.h:46,
from libavdevice/alldevices.c:22:
./libavutil/intfloat.h:28: error: parse error before "uint32_t"
./libavutil/intfloat.h:28: warning: no semicolon at end of struct or union
./libavutil/intfloat.h:29: confused by earlier errors, bailing out
make: * [libavdevice/alldevices.o] Error 1
Pavan@Pavan-PC /C/FFmpeg-master/FFmpeg-master
$
Change History (4)
comment:1 by , 11 years ago
follow-up: 3 comment:2 by , 11 years ago
Version of Mysys and minGw
Pavan@Pavan-PC /C/FFmpeg-master/FFmpeg-master
$ gcc -v
Reading specs from /usr/lib/gcc/i686-pc-msys/3.4.4/specs
Configured with: /home/cstrauss/build/gcc3/gcc-3.4.4/configure --prefix=/usr --s
ysconfdir=/etc --localstatedir=/var --infodir=/share/info --mandir=/share/man --
libexecdir=/lib --enable-languages=c,c++ --disable-nls --enable-threads=posix --
enable-sjlj-exceptions --enable-hash-synchronization --enable-libstdcxx-debug --
with-newlib
Thread model: posix
gcc version 3.4.4 (msys special)
First command i am running ==
$ ./configure --disable-yasm
License: LGPL version 2.1 or later
Creating config.mak, config.h, and doc/config.texi...
WARNING: pkg-config not found, library detection may fail.
=========================================================
2nd command i am using
Pavan@Pavan-PC /C/FFmpeg-master/FFmpeg-master
$ make v=1
CC libavdevice/alldevices.o
gcc: unrecognized option `-pthread'
In file included from ./libavutil/avutil.h:283,
from ./libavutil/log.h:25,
from libavdevice/avdevice.h:46,
from libavdevice/alldevices.c:22:
./libavutil/common.h:34:22: inttypes.h: No such file or directory
./libavutil/common.h:37:20: stdint.h: No such file or directory
In file included from ./libavutil/avutil.h:283,
from ./libavutil/log.h:25,
from libavdevice/avdevice.h:46,
from libavdevice/alldevices.c:22:
./libavutil/common.h:79: error: parse error before "av_reverse"
./libavutil/common.h:79: warning: type defaults to int' in declaration of
av_r
everse'
./libavutil/common.h:79: warning: data definition has no type or storage class
In file included from ./libavutil/common.h:84,
from ./libavutil/avutil.h:283,
from ./libavutil/log.h:25,
from libavdevice/avdevice.h:46,
from libavdevice/alldevices.c:22:
./libavutil/intmath.h:53: error: parse error before "ff_log2_tab"
./libavutil/intmath.h:53: warning: type defaults to int' in declaration of
ff_
log2_tab'
./libavutil/intmath.h:53: warning: data definition has no type or storage class
In file included from ./libavutil/avutil.h:283,
from ./libavutil/log.h:25,
from libavdevice/avdevice.h:46,
from libavdevice/alldevices.c:22:
./libavutil/common.h:122: error: parse error before "av_clip64_c"
./libavutil/common.h:122: error: parse error before "a"
./libavutil/common.h:123: warning: return type defaults to `int'
./libavutil/common.h:123: warning: function declaration isn't a prototype
./libavutil/common.h: In function `av_clip64_c':
./libavutil/common.h:127: error: `a' undeclared (first use in this function)
./libavutil/common.h:127: error: (Each undeclared identifier is reported only on
ce
./libavutil/common.h:127: error: for each function it appears in.)
./libavutil/common.h:127: error: `amin' undeclared (first use in this function)
./libavutil/common.h:128: error: `amax' undeclared (first use in this function)
./libavutil/common.h: At top level:
./libavutil/common.h:137: error: parse error before "av_clip_uint8_c"
./libavutil/common.h:138: warning: return type defaults to `int'
./libavutil/common.h:138: warning: no previous prototype for 'av_clip_uint8_c'
./libavutil/common.h:148: error: parse error before "av_clip_int8_c"
./libavutil/common.h:149: warning: return type defaults to `int'
./libavutil/common.h:149: warning: no previous prototype for 'av_clip_int8_c'
./libavutil/common.h:159: error: parse error before "av_clip_uint16_c"
./libavutil/common.h:160: warning: return type defaults to `int'
./libavutil/common.h:160: warning: no previous prototype for 'av_clip_uint16_c'
./libavutil/common.h:170: error: parse error before "av_clip_int16_c"
./libavutil/common.h:171: warning: return type defaults to `int'
./libavutil/common.h:171: warning: no previous prototype for 'av_clip_int16_c'
./libavutil/common.h:181: error: parse error before "av_clipl_int32_c"
./libavutil/common.h:181: error: parse error before "a"
./libavutil/common.h:182: warning: return type defaults to `int'
./libavutil/common.h:182: warning: function declaration isn't a prototype
./libavutil/common.h: In function `av_clipl_int32_c':
./libavutil/common.h:183: error: `a' undeclared (first use in this function)
./libavutil/common.h:183: warning: implicit declaration of function `UINT64_C'
./libavutil/common.h:183: error: `int32_t' undeclared (first use in this functio
n)
./libavutil/common.h:184: error: parse error before "a"
./libavutil/common.h: In function `av_sat_add32_c':
./libavutil/common.h:208: error: `int64_t' undeclared (first use in this functio
n)
./libavutil/common.h:208: error: parse error before "a"
./libavutil/common.h:209: warning: no return statement in function returning non
-void
./libavutil/common.h: At top level:
./libavutil/common.h:271: error: parse error before "x"
./libavutil/common.h:272: warning: function declaration isn't a prototype
./libavutil/common.h: In function `av_popcount_c':
./libavutil/common.h:273: error: `x' undeclared (first use in this function)
./libavutil/common.h: At top level:
./libavutil/common.h:285: error: parse error before "x"
./libavutil/common.h:286: warning: function declaration isn't a prototype
./libavutil/common.h: In function `av_popcount64_c':
./libavutil/common.h:287: error: `uint32_t' undeclared (first use in this functi
on)
./libavutil/common.h:287: error: parse error before "x"
./libavutil/common.h:288: warning: no return statement in function returning non
-void
In file included from ./libavutil/common.h:412,
from ./libavutil/avutil.h:283,
from ./libavutil/log.h:25,
from libavdevice/avdevice.h:46,
from libavdevice/alldevices.c:22:
./libavutil/mem.h: At top level:
./libavutil/mem.h:320: warning: type defaults to int' in declaration of
uint8_
t'
./libavutil/mem.h:320: error: parse error before '*' token
./libavutil/mem.h:320: warning: function declaration isn't a prototype
./libavutil/mem.h:351: error: parse error before '*' token
./libavutil/mem.h:351: warning: function declaration isn't a prototype
In file included from ./libavutil/timer.h:48,
from ./libavutil/internal.h:39,
from ./libavutil/common.h:415,
from ./libavutil/avutil.h:283,
from ./libavutil/log.h:25,
from libavdevice/avdevice.h:46,
from libavdevice/alldevices.c:22:
./libavutil/x86/timer.h:31: error: parse error before "read_time"
./libavutil/x86/timer.h:32: warning: return type defaults to `int'
./libavutil/x86/timer.h:32: warning: no previous prototype for 'read_time'
./libavutil/x86/timer.h: In function `read_time':
./libavutil/x86/timer.h:33: error: `uint32_t' undeclared (first use in this func
tion)
./libavutil/x86/timer.h:33: error: parse error before "a"
./libavutil/x86/timer.h:34: error: `d' undeclared (first use in this function)
./libavutil/x86/timer.h:35: error: `uint64_t' undeclared (first use in this func
tion)
./libavutil/x86/timer.h:35: error: parse error before "d"
In file included from ./libavutil/libm.h:30,
from ./libavutil/internal.h:167,
from ./libavutil/common.h:415,
from ./libavutil/avutil.h:283,
from ./libavutil/log.h:25,
from libavdevice/avdevice.h:46,
from libavdevice/alldevices.c:22:
./libavutil/intfloat.h: At top level:
./libavutil/intfloat.h:28: error: parse error before "uint32_t"
./libavutil/intfloat.h:28: warning: no semicolon at end of struct or union
./libavutil/intfloat.h:29: confused by earlier errors, bailing out
make: * [libavdevice/alldevices.o] Error 1
Pavan@Pavan-PC /C/FFmpeg-master/FFmpeg-master
$ make v=1
CC libavdevice/alldevices.o
gcc: unrecognized option `-pthread'
In file included from ./libavutil/avutil.h:283,
from ./libavutil/log.h:25,
from libavdevice/avdevice.h:46,
from libavdevice/alldevices.c:22:
./libavutil/common.h:34:22: inttypes.h: No such file or directory
./libavutil/common.h:37:20: stdint.h: No such file or directory
In file included from ./libavutil/avutil.h:283,
from ./libavutil/log.h:25,
from libavdevice/avdevice.h:46,
from libavdevice/alldevices.c:22:
./libavutil/common.h:79: error: parse error before "av_reverse"
./libavutil/common.h:79: warning: type defaults to int' in declaration of
av_r
everse'
./libavutil/common.h:79: warning: data definition has no type or storage class
In file included from ./libavutil/common.h:84,
from ./libavutil/avutil.h:283,
from ./libavutil/log.h:25,
from libavdevice/avdevice.h:46,
from libavdevice/alldevices.c:22:
./libavutil/intmath.h:53: error: parse error before "ff_log2_tab"
./libavutil/intmath.h:53: warning: type defaults to int' in declaration of
ff_
log2_tab'
./libavutil/intmath.h:53: warning: data definition has no type or storage class
In file included from ./libavutil/avutil.h:283,
from ./libavutil/log.h:25,
from libavdevice/avdevice.h:46,
from libavdevice/alldevices.c:22:
./libavutil/common.h:122: error: parse error before "av_clip64_c"
./libavutil/common.h:122: error: parse error before "a"
./libavutil/common.h:123: warning: return type defaults to `int'
./libavutil/common.h:123: warning: function declaration isn't a prototype
./libavutil/common.h: In function `av_clip64_c':
./libavutil/common.h:127: error: `a' undeclared (first use in this function)
./libavutil/common.h:127: error: (Each undeclared identifier is reported only on
ce
./libavutil/common.h:127: error: for each function it appears in.)
./libavutil/common.h:127: error: `amin' undeclared (first use in this function)
./libavutil/common.h:128: error: `amax' undeclared (first use in this function)
./libavutil/common.h: At top level:
./libavutil/common.h:137: error: parse error before "av_clip_uint8_c"
./libavutil/common.h:138: warning: return type defaults to `int'
./libavutil/common.h:138: warning: no previous prototype for 'av_clip_uint8_c'
./libavutil/common.h:148: error: parse error before "av_clip_int8_c"
./libavutil/common.h:149: warning: return type defaults to `int'
./libavutil/common.h:149: warning: no previous prototype for 'av_clip_int8_c'
./libavutil/common.h:159: error: parse error before "av_clip_uint16_c"
./libavutil/common.h:160: warning: return type defaults to `int'
./libavutil/common.h:160: warning: no previous prototype for 'av_clip_uint16_c'
./libavutil/common.h:170: error: parse error before "av_clip_int16_c"
./libavutil/common.h:171: warning: return type defaults to `int'
./libavutil/common.h:171: warning: no previous prototype for 'av_clip_int16_c'
./libavutil/common.h:181: error: parse error before "av_clipl_int32_c"
./libavutil/common.h:181: error: parse error before "a"
./libavutil/common.h:182: warning: return type defaults to `int'
./libavutil/common.h:182: warning: function declaration isn't a prototype
./libavutil/common.h: In function `av_clipl_int32_c':
./libavutil/common.h:183: error: `a' undeclared (first use in this function)
./libavutil/common.h:183: warning: implicit declaration of function `UINT64_C'
./libavutil/common.h:183: error: `int32_t' undeclared (first use in this functio
n)
./libavutil/common.h:184: error: parse error before "a"
./libavutil/common.h: In function `av_sat_add32_c':
./libavutil/common.h:208: error: `int64_t' undeclared (first use in this functio
n)
./libavutil/common.h:208: error: parse error before "a"
./libavutil/common.h:209: warning: no return statement in function returning non
-void
./libavutil/common.h: At top level:
./libavutil/common.h:271: error: parse error before "x"
./libavutil/common.h:272: warning: function declaration isn't a prototype
./libavutil/common.h: In function `av_popcount_c':
./libavutil/common.h:273: error: `x' undeclared (first use in this function)
./libavutil/common.h: At top level:
./libavutil/common.h:285: error: parse error before "x"
./libavutil/common.h:286: warning: function declaration isn't a prototype
./libavutil/common.h: In function `av_popcount64_c':
./libavutil/common.h:287: error: `uint32_t' undeclared (first use in this functi
on)
./libavutil/common.h:287: error: parse error before "x"
./libavutil/common.h:288: warning: no return statement in function returning non
-void
In file included from ./libavutil/common.h:412,
from ./libavutil/avutil.h:283,
from ./libavutil/log.h:25,
from libavdevice/avdevice.h:46,
from libavdevice/alldevices.c:22:
./libavutil/mem.h: At top level:
./libavutil/mem.h:320: warning: type defaults to int' in declaration of
uint8_
t'
./libavutil/mem.h:320: error: parse error before '*' token
./libavutil/mem.h:320: warning: function declaration isn't a prototype
./libavutil/mem.h:351: error: parse error before '*' token
./libavutil/mem.h:351: warning: function declaration isn't a prototype
In file included from ./libavutil/timer.h:48,
from ./libavutil/internal.h:39,
from ./libavutil/common.h:415,
from ./libavutil/avutil.h:283,
from ./libavutil/log.h:25,
from libavdevice/avdevice.h:46,
from libavdevice/alldevices.c:22:
./libavutil/x86/timer.h:31: error: parse error before "read_time"
./libavutil/x86/timer.h:32: warning: return type defaults to `int'
./libavutil/x86/timer.h:32: warning: no previous prototype for 'read_time'
./libavutil/x86/timer.h: In function `read_time':
./libavutil/x86/timer.h:33: error: `uint32_t' undeclared (first use in this func
tion)
./libavutil/x86/timer.h:33: error: parse error before "a"
./libavutil/x86/timer.h:34: error: `d' undeclared (first use in this function)
./libavutil/x86/timer.h:35: error: `uint64_t' undeclared (first use in this func
tion)
./libavutil/x86/timer.h:35: error: parse error before "d"
In file included from ./libavutil/libm.h:30,
from ./libavutil/internal.h:167,
from ./libavutil/common.h:415,
from ./libavutil/avutil.h:283,
from ./libavutil/log.h:25,
from libavdevice/avdevice.h:46,
from libavdevice/alldevices.c:22:
./libavutil/intfloat.h: At top level:
./libavutil/intfloat.h:28: error: parse error before "uint32_t"
./libavutil/intfloat.h:28: warning: no semicolon at end of struct or union
./libavutil/intfloat.h:29: confused by earlier errors, bailing out
make: * [libavdevice/alldevices.o] Error 1
Pavan@Pavan-PC /C/FFmpeg-master/FFmpeg-master
$
comment:3 by , 11 years ago
Priority: | important → normal |
---|---|
Resolution: | → invalid |
Status: | new → closed |
Replying to paryasomayajulu:
gcc version 3.4.4 (msys special)
This is too old, please update.
$ ./configure --disable-yasm
Imo, --disabl-yasm
is a debug option and not supported here. Install yasm, there is a Windows binary.
./libavutil/common.h:34:22: inttypes.h: No such file or directory
This indicates a completely broken (and at least unsupported build environment.
Please reinstall current MSYS (with current MinGW), this is regularly tested.
Please provide your configure line, run
make V=1
twice and provide the complete output of the second (!) run here.Which version of MSYS is this, which version of MinGW?