HI guys i am just tired and about to leave this as am not able to figure it out whats is wrong.
?
For building the ffmpeg i run configure
?
./configure --prefix=/apps/opt/vzone/ffmpeg --extra-cflags="-fPIC" --disable-mmx --disable-protocol=udp --disable-encoder=nellymoser
?
goes fine but when i run build i just get bunch of? error
?
# make
gcc -DHAVE_AV_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -I. -I"/tmp/ffmpeg" -D_ISOC99_SOURCE -D_POSIX_C_SOURCE=200112 -fPIC -std=c99 -fomit-frame-pointer -mcpu=ultrasparc -mtune=ultrasparc -g -Wdeclaration-after-statement -Wall -Wno-switch -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -Wcast-qual -Wwrite-strings -O3 -fno-math-errno?????? -c -o libavdevice/alldevices.o libavdevice/alldevices.c
In file included from ./libavutil/intreadwrite.h:24,
???????????????? from ./libavutil/internal.h:99,
???????????????? from ./libavutil/common.h:85,
???????????????? from ./libavutil/avutil.h:56,
???????????????? from ./libavcodec/avcodec.h:30,
???????????????? from ./libavformat/avformat.h:45,
???????????????? from libavdevice/alldevices.c:22:
./libavutil/bswap.h:61: warning: type defaults to `int' in declaration of `uint64_t'
./libavutil/bswap.h:61: warning: variable 'uint64_t' declared `inline'
./libavutil/bswap.h:61: warning: `const' attribute ignored
./libavutil/bswap.h:61: error: syntax error before "bswap_64"
./libavutil/bswap.h:71: error: syntax error before '}' token
./libavutil/bswap.h:71: warning: type defaults to `int' in declaration of `w'
./libavutil/bswap.h:71: warning: type defaults to `int' in declaration of `r'
./libavutil/bswap.h:71: warning: data definition has no type or storage class
./libavutil/bswap.h:72: error: syntax error before '.' token
In file included from ./libavutil/internal.h:99,
???????????????? from ./libavutil/common.h:85,
???????????????? from ./libavutil/avutil.h:56,
???????????????? from ./libavcodec/avcodec.h:30,
???????????????? from ./libavformat/avformat.h:45,
???????????????? from libavdevice/alldevices.c:22:
./libavutil/intreadwrite.h:28: error: syntax error before "uint64_t"
./libavutil/intreadwrite.h:28: warning: no semicolon at end of struct or union
./libavutil/intreadwrite.h:28: warning: empty declaration
In file included from ./libavutil/common.h:85,
???????????????? from ./libavutil/avutil.h:56,
???????????????? from ./libavcodec/avcodec.h:30,
???????????????? from ./libavformat/avformat.h:45,
???????????????? from libavdevice/alldevices.c:22:
./libavutil/internal.h: In function `llrint':
./libavutil/internal.h:267: warning: implicit declaration of function `rint'
<internal>:0: warning: redundant redeclaration of 'rint'
./libavutil/internal.h: In function `lrint':
<internal>:0: warning: redundant redeclaration of 'rint'
./libavutil/internal.h: In function `lrintf':
<internal>:0: warning: redundant redeclaration of 'rint'
In file included from ./libavutil/avutil.h:56,
???????????????? from ./libavcodec/avcodec.h:30,
???????????????? from ./libavformat/avformat.h:45,
???????????????? from libavdevice/alldevices.c:22:
./libavutil/common.h: At top level:
./libavutil/common.h:244: warning: type defaults to `int' in declaration of `int64_t'
./libavutil/common.h:244: warning: `const' attribute ignored
./libavutil/common.h:244: error: syntax error before "ff_gcd"
In file included from ./libavutil/avutil.h:57,
???????????????? from ./libavcodec/avcodec.h:30,
???????????????? from ./libavformat/avformat.h:45,
???????????????? from libavdevice/alldevices.c:22:
./libavutil/mathematics.h:24:20: stdint.h: No such file or directory
In file included from ./libavutil/mathematics.h:26,
???????????????? from ./libavutil/avutil.h:57,
???????????????? from ./libavcodec/avcodec.h:30,
???????????????? from ./libavformat/avformat.h:45,
???????????????? from libavdevice/alldevices.c:22:
./libavutil/rational.h: In function `av_cmp_q':
./libavutil/rational.h:49: error: syntax error before "tmp"
./libavutil/rational.h:51: error: `tmp' undeclared (first use in this function)
./libavutil/rational.h:51: error: (Each undeclared identifier is reported only once
./libavutil/rational.h:51: error: for each function it appears in.)
./libavutil/rational.h: At top level:
./libavutil/rational.h:74: error: syntax error before "int64_t"
In file included from ./libavutil/avutil.h:57,
???????????????? from ./libavcodec/avcodec.h:30,
???????????????? from ./libavformat/avformat.h:45,
???????????????? from libavdevice/alldevices.c:22:
./libavutil/mathematics.h:56: error: syntax error before "av_rescale"
./libavutil/mathematics.h:56: error: syntax error before "a"
./libavutil/mathematics.h:56: warning: type defaults to `int' in declaration of `av_rescale'
./libavutil/mathematics.h:56: warning: data definition has no type or storage class
./libavutil/mathematics.h:62: error: syntax error before "av_rescale_rnd"
./libavutil/mathematics.h:62: error: syntax error before "a"
./libavutil/mathematics.h:62: warning: type defaults to `int' in declaration of `av_rescale_rnd'
./libavutil/mathematics.h:62: warning: data definition has no type or storage class
./libavutil/mathematics.h:67: error: syntax error before "av_rescale_q"
./libavutil/mathematics.h:67: error: syntax error before "a"
./libavutil/mathematics.h:67: warning: type defaults to `int' in declaration of `av_rescale_q'
./libavutil/mathematics.h:67: warning: data definition has no type or storage class
In file included from ./libavutil/avutil.h:59,
???????????????? from ./libavcodec/avcodec.h:30,
???????????????? from ./libavformat/avformat.h:45,
???????????????? from libavdevice/alldevices.c:22:
./libavutil/intfloat_readwrite.h:33: error: syntax error before "v"
./libavutil/intfloat_readwrite.h:36: error: syntax error before "av_dbl2int"
./libavutil/intfloat_readwrite.h:36: warning: type defaults to `int' in declaration of `av_dbl2int'
./libavutil/intfloat_readwrite.h:36: warning: data definition has no type or storage class
In file included from ./libavformat/avformat.h:45,
???????????????? from libavdevice/alldevices.c:22:
./libavcodec/avcodec.h:835: error: syntax error before "int64_t"
./libavcodec/avcodec.h:835: warning: no semicolon at end of struct or union
./libavcodec/avcodec.h:835: error: syntax error before "error"
./libavcodec/avcodec.h:835: warning: type defaults to `int' in declaration of `error'
./libavcodec/avcodec.h:835: warning: data definition has no type or storage class
./libavcodec/avcodec.h:835: error: syntax error before "reordered_opaque"
./libavcodec/avcodec.h:835: warning: type defaults to `int' in declaration of `reordered_opaque'
./libavcodec/avcodec.h:835: warning: data definition has no type or storage class
./libavcodec/avcodec.h:836: warning: type defaults to `int' in declaration of `AVFrame'
./libavcodec/avcodec.h:836: warning: data definition has no type or storage class
./libavcodec/avcodec.h:963: warning: type defaults to `int' in declaration of `AVFrame'
./libavcodec/avcodec.h:963: error: syntax error before '*' token
./libavcodec/avcodec.h:1195: error: syntax error before "AVFrame"
./libavcodec/avcodec.h:1204: error: syntax error before "AVFrame"
./libavcodec/avcodec.h:1470: error: syntax error before "AVFrame"
./libavcodec/avcodec.h:1470: warning: no semicolon at end of struct or union
./libavcodec/avcodec.h:1510: error: syntax error before "error"
./libavcodec/avcodec.h:1510: warning: type defaults to `int' in declaration of `error'
./libavcodec/avcodec.h:1510: warning: redundant redeclaration of 'error'
./libavcodec/avcodec.h:835: warning: previous declaration of 'error' was here
./libavcodec/avcodec.h:1510: warning: data definition has no type or storage class
./libavcodec/avcodec.h:1816: error: syntax error before "AVFrame"
./libavcodec/avcodec.h:2238: error: syntax error before "timecode_frame_start"
./libavcodec/avcodec.h:2238: warning: type defaults to `int' in declaration of `timecode_frame_start'
./libavcodec/avcodec.h:2238: warning: data definition has no type or storage class
./libavcodec/avcodec.h:2264: error: syntax error before "reordered_opaque"
./libavcodec/avcodec.h:2264: warning: type defaults to `int' in declaration of `reordered_opaque'
./libavcodec/avcodec.h:2264: warning: redundant redeclaration of 'reordered_opaque'
./libavcodec/avcodec.h:835: warning: previous declaration of 'reordered_opaque' was here
./libavcodec/avcodec.h:2264: warning: data definition has no type or storage class
./libavcodec/avcodec.h:2279: error: syntax error before "channel_layout"
./libavcodec/avcodec.h:2279: warning: type defaults to `int' in declaration of `channel_layout'
./libavcodec/avcodec.h:2279: warning: data definition has no type or storage class
./libavcodec/avcodec.h:2286: error: syntax error before "request_channel_layout"
./libavcodec/avcodec.h:2286: warning: type defaults to `int' in declaration of `request_channel_layout'
./libavcodec/avcodec.h:2286: warning: data definition has no type or storage class
./libavcodec/avcodec.h:2301: error: syntax error before '}' token
./libavcodec/avcodec.h:2301: warning: type defaults to `int' in declaration of `AVCodecContext'
./libavcodec/avcodec.h:2301: warning: data definition has no type or storage class
./libavcodec/avcodec.h:2317: error: syntax error before '*' token
./libavcodec/avcodec.h:2318: error: syntax error before '*' token
./libavcodec/avcodec.h:2319: error: syntax error before '*' token
./libavcodec/avcodec.h:2320: error: syntax error before '*' token
./libavcodec/avcodec.h:2332: error: syntax error before '*' token
./libavcodec/avcodec.h:2342: warning: type defaults to `int' in declaration of `int64_t'
./libavcodec/avcodec.h:2342: warning: no semicolon at end of struct or union
./libavcodec/avcodec.h:2342: error: syntax error before '*' token
./libavcodec/avcodec.h:2343: warning: type defaults to `int' in declaration of `AVCodec'
./libavcodec/avcodec.h:2343: warning: data definition has no type or storage class
./libavcodec/avcodec.h:2466: error: syntax error before '*' token
./libavcodec/avcodec.h:2519: error: syntax error before "pix_fmt_mask"
./libavcodec/avcodec.h:2552: error: syntax error before '*' token
.
.
.
.
.
?