[FFmpeg-trac] #3703(undetermined:new): make: *** [libavdevice/alldevices.o] Error 1

FFmpeg trac at avcodec.org
Fri Jun 6 11:28:30 CEST 2014


#3703: make: *** [libavdevice/alldevices.o] Error 1
-------------------------------------+-------------------------------------
             Reporter:               |                    Owner:
  paryasomayajulu                    |                   Status:  new
                 Type:  defect       |                Component:
             Priority:  important    |  undetermined
              Version:  unspecified  |               Resolution:
             Keywords:               |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------

Comment (by paryasomayajulu):

 == '''Version of Mysys and minGw''' ==


 Pavan at 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 at 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 at 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 at Pavan-PC /C/FFmpeg-master/FFmpeg-master
 $

--
Ticket URL: <https://trac.ffmpeg.org/ticket/3703#comment:2>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list