I downloaded avifile-0.7-0.7.38 from http://avifile.sourceforge.net/ After ./configure and gmake I got this error:
gcc -DHAVE_CONFIG_H -I. -I. -I../../include -DHAVE_AV_CONFIG_H -I./../libavcodec -I./.. -Wall -Wno-unused -I../../include -O2 -mcpu=i686 -march=i686 -ffast-math -fomit-frame-pointer -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -pipe -c flvenc.c -fPIC -DPIC -o flvenc.lo
flvenc.c: In function `flv_write_trailer':
flvenc.c:232: parse error before `file_size'
flvenc.c:234: `flags' undeclared (first use in this function)
flvenc.c:234: (Each undeclared identifier is reported only once
flvenc.c:234: for each function it appears in.)
flvenc.c:238: `file_size' undeclared (first use in this function)
gmake[2]: *** [flvenc.lo] Error 1
it seems that the 'int64_t file_size' should be declared before the call to Dump(flv,pb,1); !
I am running Linux (Red Hat 7.2) (Linux 2.4.20-20.7) with gcc 2.96
The ./configure said: Install path: /usr/local Qt: yes Sdl: yes Xft: yes Oss audio: yes Sun audio: no Mga_vid: no Plugins: ac3passthrough yes (with SBLive only) divx4 (dec/enc) no/no (DivxNetworks) xvid no (DivX4, XviD) ffmpeg yes (DivX ;-), OpenDivX, MJPEG, AC3) ffmpeg faad no (AAC) (runtime yes) os motion jpeg yes (MJPEG) win32 yes (DivX, WMF1/2, DV, MJPEG, Ati, Asus,...) MAD yes (MPEG Layer I/II/III) vorbis yes lame runtime
Did I do something wrong ? (I did check the FAQ) regards Pierre Willard
_______________________________________________ Avifile mailing list [EMAIL PROTECTED] http://prak.org/mailman/listinfo/avifile
