i have managed to successfully compile ffmpeg under msys/mingw32. i decided then to enable vhook support on ffmpeg but unfortunately, ffmpeg with vhook enable cannot be compiled under msys/mingw32. i read that cygwin could do it. - my first configure line that i used to compile ffmpeg under cygwin is ../configure --enable-memalign-hack --enable-static --disable-shared --disable-network --extra-cflags=-mno-cygwin --extra-libs=-mno-cygwin i wanted to see if ffmpeg would compile without vhook under cygwin there were some error during the make process and i had to patch the following: - mathops.h - common.mak - configure - faac.c - mpegaudiodec.c make -C libavutil all make[1]: Entering directory `/home/ffmpeg/libavutil' make[1]: Nothing to be done for `all'. make[1]: Leaving directory `/home/ffmpeg/libavutil' make -C libavcodec all make[1]: Entering directory `/home/ffmpeg/libavcodec' rm -f libavcodec.a ar rc libavcodec.a bitstream.o utils.o allcodecs.o mpegvideo.o jrevdct.o jfdctfs t.o jfdctint.o mjpeg.o resample.o resample2.o dsputil.o motion_est.o imgconvert. o mpeg12.o mpegaudiodec.o simple_idct.o ratecontrol.o eval.o error_resilience.o fft.o mdct.o raw.o golomb.o cabac.o faandct.o parser.o vp3dsp.o h264idct.o range coder.o pnm.o h263.o msmpeg4.o h263dec.o opt.o bitstream_filter.o audioconvert.o imgresample.o i386/fdct_mmx.o i386/cputest.o i386/dsputil_mmx.o i386/mpegvideo_ mmx.o i386/motion_est_mmx.o i386/simple_idct_mmx.o i386/idct_mmx_xvid.o i386/fft _sse.o i386/vp3dsp_mmx.o i386/vp3dsp_sse2.o i386/fft_3dn.o i386/fft_3dn2.o i386/ snowdsp_mmx.o i386/cavsdsp_mmx.o aasc.o ac3enc.o alac.o asv1.o avs.o bmp.o cavs. o cavsdsp.o cinepak.o cljr.o cook.o cscd.o lzo.o cyuv.o dsicinav.o dvbsubdec.o d vbsub.o dvdsubdec.o dvdsubenc.o dv.o 8bps.o ffv1.o huffyuv.o flac.o flacenc.o fl ashsv.o flashsvenc.o flicvideo.o 4xm.o fraps.o gifdec.o lzw.o gif.o h261.o h264. o idcinvideo.o imc.o indeo2.o indeo3.o interplayvideo.o dpcm.o kmvc.o loco.o mac e.o mmvideo.o mpegaudio.o mpc.o msrle.o msvideo1.o lcl.o nuv.o rtjpeg.o png.o qd m2.o qdrw.o qpeg.o qtrle.o ra144.o ra288.o roqvideo.o rpza.o rv10.o shorten.o sm acker.o smc.o snow.o sonic.o svq1.o targa.o vp3.o tiertexseqv.o tiff.o truemotio n1.o truemotion2.o truespeech.o tscc.o tta.o ulti.o vc1.o vc1dsp.o vcr1.o vmdav. o vmnc.o vorbis.o vorbis_data.o vorbis_enc.o vp5.o vp56.o vp56data.o vp6.o vqavi deo.o wavpack.o wmadec.o wnv1.o ws-snd1.o xan.o xl.o zmbv.o zmbvenc.o pcm.o adpc m.o adx.o g726.o ranlib libavcodec.a make[1]: Leaving directory `/home/ffmpeg/libavcodec' make -C libavformat all make[1]: Entering directory `/home/ffmpeg/libavformat' gcc -I"/home/ffmpeg"/libavcodec -DHAVE_AV_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_LA RGEFILE_SOURCE -D_ISOC9X_SOURCE -I"/home/ffmpeg" -I"/home/ffmpeg" -I"/home/ffmpe g"/libavutil -mno-cygwin -fomit-frame-pointer -g -Wdeclaration-after-statement - Wall -Wno-switch -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -O3 -c -o audio.o audio.c In file included from audio.c:21: avformat.h:255: warning: `AVFrac' is deprecated (declared at avformat.h:94) audio.c:29:27: sys/soundcard.h: No such file or directory audio.c:33:23: sys/ioctl.h: No such file or directory audio.c:34:22: sys/mman.h: No such file or directory audio.c: In function `audio_open': audio.c:79: warning: implicit declaration of function `fcntl' audio.c:79: error: `F_SETFL' undeclared (first use in this function) audio.c:79: error: (Each undeclared identifier is reported only once audio.c:79: error: for each function it appears in.) audio.c:79: error: `O_NONBLOCK' undeclared (first use in this function) audio.c:91: warning: implicit declaration of function `ioctl' audio.c:91: error: `SNDCTL_DSP_GETFMTS' undeclared (first use in this function) audio.c:102: error: `AFMT_S16_LE' undeclared (first use in this function) audio.c:104: error: `AFMT_S16_BE' undeclared (first use in this function) audio.c:123: error: `SNDCTL_DSP_SETFMT' undeclared (first use in this function) audio.c:130: error: `SNDCTL_DSP_STEREO' undeclared (first use in this function) audio.c:139: error: `SNDCTL_DSP_SPEED' undeclared (first use in this function) audio.c: In function `audio_read_packet': audio.c:253: error: storage size of 'abufi' isn't known audio.c:259: error: `fd_set' undeclared (first use in this function) audio.c:259: error: parse error before "fds" audio.c:264: warning: implicit declaration of function `FD_ZERO' audio.c:264: error: `fds' undeclared (first use in this function) audio.c:265: warning: implicit declaration of function `FD_SET' audio.c:268: warning: implicit declaration of function `select' audio.c:91: warning: redundant redeclaration of 'ioctl' audio.c:91: warning: previous implicit declaration of 'ioctl' was here audio.c:289: error: `SNDCTL_DSP_GETISPACE' undeclared (first use in this functio n) audio.c:253: warning: unused variable `abufi' make[1]: *** [audio.o] Error 1 make[1]: Leaving directory `/home/ffmpeg/libavformat' make: *** [lib] Error 2 thanks for the help K _________________________________________________________________ Txt a lot? Get Messenger FREE on your mobile. https://livemessenger.mobile.uk.msn.com/
participants (1)
-
asterefred@hotmail.com