Can't Building 1.1.4pre2 to xvidcap

Help
2005-11-23
2013-04-24
  • Nobody/Anonymous

    I can build gvidcap with 1.1.4pre2,and it's OK while running. But I can't build xvidcap. I have read all the FAQ but I can't worh out my problem. I need your help.(wish my English is not bad.)

    You said that it didn't support command line <=1.1.3, but now I want to use its command line and don't care of its GUI.

    wuyang@ubuntu:~$ ffmpeg -v
    ffmpeg version 0.4.9-pre1, build 4721, Copyright (c) 2000-2004 Fabrice Bellard
      built on Nov 22 2005 21:58:25, gcc: 3.3.5 (Debian 1:3.3.5-8ubuntu2)
    ffmpeg: missing argument for option '-v'

    wuyang@ubuntu:~$ uname -a
    Linux ubuntu 2.6.10-5-686 #1 Mon Oct 10 11:28:02 UTC 2005 i686 GNU/Linux

    wuyang@ubuntu:~/work/xvidcap/xvidcap-1.1.4pre2$ ./configure --with-gtk2 --with-forced-embedded-ffmpeg
    checking for a BSD-compatible install... /usr/bin/install -c
    checking whether build environment is sane... yes
    checking for gawk... no
    checking for mawk... mawk
    checking whether make sets $(MAKE)... yes
    checking for gcc... gcc
    checking for C compiler default output file name... a.out
    checking whether the C compiler works... yes
    checking whether we are cross compiling... no
    checking for suffix of executables...
    checking for suffix of object files... o
    checking whether we are using the GNU C compiler... yes
    checking whether gcc accepts -g... yes
    checking for gcc option to accept ANSI C... none needed
    checking for style of include used by make... GNU
    checking dependency style of gcc... gcc3
    checking whether make sets $(MAKE)... (cached) yes
    checking for ranlib... ranlib
    checking how to run the C preprocessor... gcc -E
    checking for X... libraries /usr/X11R6/lib, headers /usr/X11R6/include
    checking for gethostbyname... yes
    checking for connect... yes
    checking for remove... yes
    checking for shmat... yes
    checking for IceConnectionNumber in -lICE... yes
    checking for zlibVersion in -lz... yes
    checking for png_set_filter in -lpng... yes
    checking for jpeg_CreateCompress in -ljpeg... no
    To use jpeg you need libjpeg version 6+
    checking for lame_init in -lmp3lame... yes
    make-ing prerequisite ffmpeg libraries
    Install prefix   /usr/local
    Source path      /home/wuyang/work/xvidcap/xvidcap-1.1.4pre2/ffmpeg
    C compiler       gcc
    make             make
    CPU              x86 (generic)
    Big Endian       no
    inttypes.h       yes
    broken inttypes.h no
    MMX enabled      yes
    Vector Builtins  yes
    gprof enabled    no
    zlib enabled     yes
    mp3lame enabled  yes
    vorbis enabled   no
    faad enabled     no
    faadbin enabled  no
    faac enabled     no
    xvid enabled     no
    a52 support      no
    a52 dlopened     no
    dts support      no
    pp support       no
    debug symbols    yes
    optimize         yes
    shared pp        no
    Video hooking    yes
    SDL support      no
    risky / patent encumbered codecs yes
    Imlib2 support   no
    freetype support yes
    Sun medialib support no
    pthreads support no
    AMR-NB float support no
    AMR-NB fixed support no
    AMR-WB float support no
    License: LGPL
    Creating config.mak and config.h
    config.h is unchanged
    make -C libavcodec all
    make[1]: Entering directory `/home/wuyang/work/xvidcap/xvidcap-1.1.4pre2/ffmpeg/libavcodec'
    make[1]: Nothing to be done for `all'.
    make[1]: Leaving directory `/home/wuyang/work/xvidcap/xvidcap-1.1.4pre2/ffmpeg/libavcodec'
    make -C libavformat all
    make[1]: Entering directory `/home/wuyang/work/xvidcap/xvidcap-1.1.4pre2/ffmpeg/libavformat'
    make[1]: Nothing to be done for `all'.
    make[1]: Leaving directory `/home/wuyang/work/xvidcap/xvidcap-1.1.4pre2/ffmpeg/libavformat'
    make -C vhook all
    make[1]: Entering directory `/home/wuyang/work/xvidcap/xvidcap-1.1.4pre2/ffmpeg/vhook'
    make[1]: Nothing to be done for `all'.
    make[1]: Leaving directory `/home/wuyang/work/xvidcap/xvidcap-1.1.4pre2/ffmpeg/vhook'
    checking for img_convert in -lavcodec... (static?) ... yes
    checking for avienc_init in -lavformat... (static?) ... yes
    checking for audio_init in -lavformat... (static?) ... yes
    Checking for GTK2 version ... 2.6.4
    checking for pthread_mutex_init in -lpthread... yes
    checking for egrep... grep -E
    checking for ANSI C header files... yes
    checking for sys/types.h... yes
    checking for sys/stat.h... yes
    checking for stdlib.h... yes
    checking for string.h... yes
    checking for memory.h... yes
    checking for strings.h... yes
    checking for inttypes.h... yes
    checking for stdint.h... yes
    checking for unistd.h... yes
    checking fcntl.h usability... yes
    checking fcntl.h presence... yes
    checking for fcntl.h... yes
    checking limits.h usability... yes
    checking limits.h presence... yes
    checking for limits.h... yes
    checking for stdlib.h... (cached) yes
    checking for string.h... (cached) yes
    checking sys/ioctl.h usability... yes
    checking sys/ioctl.h presence... yes
    checking for sys/ioctl.h... yes
    checking sys/time.h usability... yes
    checking sys/time.h presence... yes
    checking for sys/time.h... yes
    checking for unistd.h... (cached) yes
    checking zlib.h usability... yes
    checking zlib.h presence... yes
    checking for zlib.h... yes
    checking sys/soundcard.h usability... yes
    checking sys/soundcard.h presence... yes
    checking for sys/soundcard.h... yes
    checking for stdint.h... (cached) yes
    checking ctype.h usability... yes
    checking ctype.h presence... yes
    checking for ctype.h... yes
    checking for an ANSI C-conforming const... yes
    checking whether time.h and sys/time.h may both be included... yes
    checking whether gcc needs -traditional... no
    checking for stdlib.h... (cached) yes
    checking for GNU libc compatible malloc... yes
    checking for stdlib.h... (cached) yes
    checking for unistd.h... (cached) yes
    checking for getpagesize... yes
    checking for working mmap... yes
    checking for stdlib.h... (cached) yes
    checking for GNU libc compatible realloc... yes
    checking for fdatasync... yes
    checking for gettimeofday... yes
    checking for memmove... yes
    checking for memset... yes
    checking for munmap... yes
    checking for strcasecmp... yes
    checking for strchr... yes
    checking for strdup... yes
    checking for strstr... yes
    checking for getopt_long... yes
    configure: creating ./config.status
    config.status: creating Makefile
    config.status: creating src/Makefile
    config.status: creating gt/Makefile
    config.status: creating Xw/Makefile
    config.status: creating config.h
    config.status: executing depfiles commands

    wuyang@ubuntu:~/work/xvidcap/xvidcap-1.1.4pre2$ make
    make  all-recursive
    make[1]: Entering directory `/home/wuyang/work/xvidcap/xvidcap-1.1.4pre2'
    Making all in Xw
    make[2]: Entering directory `/home/wuyang/work/xvidcap/xvidcap-1.1.4pre2/Xw'
    if gcc -DHAVE_CONFIG_H -I. -I. -I..    -I/usr/X11R6/include -g -O2 -I/home/wuyang/work/xvidcap/xvidcap-1.1.4pre2/ffmpeg/libavcodec -I/home/wuyang/work/xvidcap/xvidcap-1.1.4pre2/ffmpeg/libavformat -MT Base.o -MD -MP -MF ".deps/Base.Tpo" \   -c -o Base.o `test -f 'Base.c' || echo './'`Base.c; \ then mv -f ".deps/Base.Tpo" ".deps/Base.Po"; \ else rm -f ".deps/Base.Tpo"; exit 1; \ fi
    if gcc -DHAVE_CONFIG_H -I. -I. -I..    -I/usr/X11R6/include -g -O2 -I/home/wuyang/work/xvidcap/xvidcap-1.1.4pre2/ffmpeg/libavcodec -I/home/wuyang/work/xvidcap/xvidcap-1.1.4pre2/ffmpeg/libavformat -MT Box.o -MD -MP -MF ".deps/Box.Tpo" \   -c -o Box.o `test -f 'Box.c' || echo './'`Box.c; \ then mv -f ".deps/Box.Tpo" ".deps/Box.Po"; \ else rm -f ".deps/Box.Tpo"; exit 1; \ fi
    if gcc -DHAVE_CONFIG_H -I. -I. -I..    -I/usr/X11R6/include -g -O2 -I/home/wuyang/work/xvidcap/xvidcap-1.1.4pre2/ffmpeg/libavcodec -I/home/wuyang/work/xvidcap/xvidcap-1.1.4pre2/ffmpeg/libavformat -MT Button.o -MD -MP -MF ".deps/Button.Tpo" \   -c -o Button.o `test -f 'Button.c' || echo './'`Button.c; \ then mv -f ".deps/Button.Tpo" ".deps/Button.Po"; \ else rm -f ".deps/Button.Tpo"; exit 1; \ fi
    if gcc -DHAVE_CONFIG_H -I. -I. -I..    -I/usr/X11R6/include -g -O2 -I/home/wuyang/work/xvidcap/xvidcap-1.1.4pre2/ffmpeg/libavcodec -I/home/wuyang/work/xvidcap/xvidcap-1.1.4pre2/ffmpeg/libavformat -MT Field.o -MD -MP -MF ".deps/Field.Tpo" \   -c -o Field.o `test -f 'Field.c' || echo './'`Field.c; \ then mv -f ".deps/Field.Tpo" ".deps/Field.Po"; \ else rm -f ".deps/Field.Tpo"; exit 1; \ fi
    if gcc -DHAVE_CONFIG_H -I. -I. -I..    -I/usr/X11R6/include -g -O2 -I/home/wuyang/work/xvidcap/xvidcap-1.1.4pre2/ffmpeg/libavcodec -I/home/wuyang/work/xvidcap/xvidcap-1.1.4pre2/ffmpeg/libavformat -MT Label.o -MD -MP -MF ".deps/Label.Tpo" \   -c -o Label.o `test -f 'Label.c' || echo './'`Label.c; \ then mv -f ".deps/Label.Tpo" ".deps/Label.Po"; \ else rm -f ".deps/Label.Tpo"; exit 1; \ fi
    if gcc -DHAVE_CONFIG_H -I. -I. -I..    -I/usr/X11R6/include -g -O2 -I/home/wuyang/work/xvidcap/xvidcap-1.1.4pre2/ffmpeg/libavcodec -I/home/wuyang/work/xvidcap/xvidcap-1.1.4pre2/ffmpeg/libavformat -MT RootIcon.o -MD -MP -MF ".deps/RootIcon.Tpo" \   -c -o RootIcon.o `test -f 'RootIcon.c' || echo './'`RootIcon.c; \ then mv -f ".deps/RootIcon.Tpo" ".deps/RootIcon.Po"; \ else rm -f ".deps/RootIcon.Tpo"; exit 1; \ fi
    if gcc -DHAVE_CONFIG_H -I. -I. -I..    -I/usr/X11R6/include -g -O2 -I/home/wuyang/work/xvidcap/xvidcap-1.1.4pre2/ffmpeg/libavcodec -I/home/wuyang/work/xvidcap/xvidcap-1.1.4pre2/ffmpeg/libavformat -MT simple.o -MD -MP -MF ".deps/simple.Tpo" \   -c -o simple.o `test -f 'simple.c' || echo './'`simple.c; \ then mv -f ".deps/simple.Tpo" ".deps/simple.Po"; \ else rm -f ".deps/simple.Tpo"; exit 1; \ fi
    if gcc -DHAVE_CONFIG_H -I. -I. -I..    -I/usr/X11R6/include -g -O2 -I/home/wuyang/work/xvidcap/xvidcap-1.1.4pre2/ffmpeg/libavcodec -I/home/wuyang/work/xvidcap/xvidcap-1.1.4pre2/ffmpeg/libavformat -MT testxw.o -MD -MP -MF ".deps/testxw.Tpo" \   -c -o testxw.o `test -f 'testxw.c' || echo './'`testxw.c; \ then mv -f ".deps/testxw.Tpo" ".deps/testxw.Po"; \ else rm -f ".deps/testxw.Tpo"; exit 1; \ fi
    if gcc -DHAVE_CONFIG_H -I. -I. -I..    -I/usr/X11R6/include -g -O2 -I/home/wuyang/work/xvidcap/xvidcap-1.1.4pre2/ffmpeg/libavcodec -I/home/wuyang/work/xvidcap/xvidcap-1.1.4pre2/ffmpeg/libavformat -MT Toggle.o -MD -MP -MF ".deps/Toggle.Tpo" \   -c -o Toggle.o `test -f 'Toggle.c' || echo './'`Toggle.c; \ then mv -f ".deps/Toggle.Tpo" ".deps/Toggle.Po"; \ else rm -f ".deps/Toggle.Tpo"; exit 1; \ fi
    rm -f libXw.a
    ar cru libXw.a Base.o Box.o Button.o Field.o Label.o RootIcon.o simple.o testxw.o Toggle.o
    ranlib libXw.a
    gcc -I/usr/X11R6/include -g -O2 -I/home/wuyang/work/xvidcap/xvidcap-1.1.4pre2/ffmpeg/libavcodec -I/home/wuyang/work/xvidcap/xvidcap-1.1.4pre2/ffmpeg/libavformat -L/usr/X11R6/lib -L/home/wuyang/work/xvidcap/xvidcap-1.1.4pre2/ffmpeg/libavcodec -L/home/wuyang/work/xvidcap/xvidcap-1.1.4pre2/ffmpeg/libavformat -o simple  simple.o libXw.a -lpthread -Wl,-Bstatic -lavformat -Wl,-Bdynamic -Wl,-Bstatic -lavcodec -Wl,-Bdynamic -lmp3lame -lpng -lz  -lXext -lXmu -lXt -lX11
    make[2]: Leaving directory `/home/wuyang/work/xvidcap/xvidcap-1.1.4pre2/Xw'
    Making all in src
    make[2]: Entering directory `/home/wuyang/work/xvidcap/xvidcap-1.1.4pre2/src'
    if gcc -DHAVE_CONFIG_H -I. -I. -I..    -I/usr/X11R6/include -DVERSION=\&quot;1.1.4\&quot;     -g -O2 -I/home/wuyang/work/xvidcap/xvidcap-1.1.4pre2/ffmpeg/libavcodec -I/home/wuyang/work/xvidcap/xvidcap-1.1.4pre2/ffmpeg/libavformat -MT xvidcap-main.o -MD -MP -MF ".deps/xvidcap-main.Tpo" \   -c -o xvidcap-main.o `test -f 'main.c' || echo './'`main.c; \ then mv -f ".deps/xvidcap-main.Tpo" ".deps/xvidcap-main.Po"; \ else rm -f ".deps/xvidcap-main.Tpo"; exit 1; \ fi
    if gcc -DHAVE_CONFIG_H -I. -I. -I..    -I/usr/X11R6/include -DVERSION=\&quot;1.1.4\&quot;     -g -O2 -I/home/wuyang/work/xvidcap/xvidcap-1.1.4pre2/ffmpeg/libavcodec -I/home/wuyang/work/xvidcap/xvidcap-1.1.4pre2/ffmpeg/libavformat -MT xvidcap-xt_control.o -MD -MP -MF ".deps/xvidcap-xt_control.Tpo" \   -c -o xvidcap-xt_control.o `test -f 'xt_control.c' || echo './'`xt_control.c; \ then mv -f ".deps/xvidcap-xt_control.Tpo" ".deps/xvidcap-xt_control.Po"; \ else rm -f ".deps/xvidcap-xt_control.Tpo"; exit 1; \ fi
    xt_control.c:110: error: structure has no member named `fps'
    xt_control.c:110: error: initializer element is not constant
    xt_control.c:110: error: (near initialization for `resources[0].resource_offset')
    xt_control.c:110: error: initializer element is not constant
    xt_control.c:110: error: (near initialization for `resources[0]')
    xt_control.c:111: error: structure has no member named `file'
    xt_control.c:111: error: initializer element is not constant
    xt_control.c:111: error: (near initialization for `resources[1].resource_offset')
    xt_control.c:111: error: initializer element is not constant
    xt_control.c:111: error: (near initialization for `resources[1]')
    xt_control.c:112: error: initializer element is not constant
    xt_control.c:112: error: (near initialization for `resources[2]')
    xt_control.c:113: error: initializer element is not constant
    xt_control.c:113: error: (near initialization for `resources[3]')
    xt_control.c:114: error: initializer element is not constant
    xt_control.c:114: error: (near initialization for `resources[4]')
    xt_control.c:115: error: structure has no member named `time'
    xt_control.c:115: error: initializer element is not constant
    xt_control.c:115: error: (near initialization for `resources[5].resource_offset')
    xt_control.c:115: error: initializer element is not constant
    xt_control.c:115: error: (near initialization for `resources[5]')
    xt_control.c:116: error: structure has no member named `frames'
    xt_control.c:116: error: initializer element is not constant
    xt_control.c:116: error: (near initialization for `resources[6].resource_offset')
    xt_control.c:116: error: initializer element is not constant
    xt_control.c:116: error: (near initialization for `resources[6]')
    xt_control.c:117: error: structure has no member named `start_no'
    xt_control.c:117: error: initializer element is not constant
    xt_control.c:117: error: (near initialization for `resources[7].resource_offset')
    xt_control.c:117: error: initializer element is not constant
    xt_control.c:117: error: (near initialization for `resources[7]')
    xt_control.c:118: error: structure has no member named `compress'
    xt_control.c:118: error: initializer element is not constant
    xt_control.c:118: error: (near initialization for `resources[8].resource_offset')
    xt_control.c:118: error: initializer element is not constant
    xt_control.c:118: error: (near initialization for `resources[8]')
    xt_control.c:119: error: structure has no member named `quality'
    xt_control.c:119: error: initializer element is not constant
    xt_control.c:119: error: (near initialization for `resources[9].resource_offset')
    xt_control.c:119: error: initializer element is not constant
    xt_control.c:119: error: (near initialization for `resources[9]')
    xt_control.c:120: error: structure has no member named `bpp'
    xt_control.c:120: error: initializer element is not constant
    xt_control.c:120: error: (near initialization for `resources[10].resource_offset')
    xt_control.c:120: error: initializer element is not constant
    xt_control.c:120: error: (near initialization for `resources[10]')
    xt_control.c:121: error: initializer element is not constant
    xt_control.c:121: error: (near initialization for `resources[11]')
    xt_control.c:122: error: initializer element is not constant
    xt_control.c:122: error: (near initialization for `resources[12]')
    xt_control.c:123: error: structure has no member named `sndrate'
    xt_control.c:123: error: initializer element is not constant
    xt_control.c:123: error: (near initialization for `resources[13].resource_offset')
    xt_control.c:123: error: initializer element is not constant
    xt_control.c:123: error: (near initialization for `resources[13]')
    xt_control.c:124: error: structure has no member named `sndsize'
    xt_control.c:124: error: initializer element is not constant
    xt_control.c:124: error: (near initialization for `resources[14].resource_offset')
    xt_control.c:124: error: initializer element is not constant
    xt_control.c:124: error: (near initialization for `resources[14]')
    xt_control.c:125: error: structure has no member named `play_cmd'
    xt_control.c:125: error: initializer element is not constant
    xt_control.c:125: error: (near initialization for `resources[15].resource_offset')
    xt_control.c:125: error: initializer element is not constant
    xt_control.c:125: error: (near initialization for `resources[15]')
    xt_control.c:126: error: structure has no member named `video_cmd'
    xt_control.c:126: error: initializer element is not constant
    xt_control.c:126: error: (near initialization for `resources[16].resource_offset')
    xt_control.c:126: error: initializer element is not constant
    xt_control.c:126: error: (near initialization for `resources[16]')
    xt_control.c:127: error: structure has no member named `edit_cmd'
    xt_control.c:127: error: initializer element is not constant
    xt_control.c:127: error: (near initialization for `resources[17].resource_offset')
    xt_control.c:127: error: initializer element is not constant
    xt_control.c:127: error: (near initialization for `resources[17]')
    xt_control.c:128: error: initializer element is not constant
    xt_control.c:128: error: (near initialization for `resources[18]')
    xt_control.c: In function `CbSelect':
    xt_control.c:870: error: `CAP_FFM' undeclared (first use in this function)
    xt_control.c:870: error: (Each undeclared identifier is reported only once
    xt_control.c:870: error: for each function it appears in.)
    xt_control.c:911: error: too many arguments to function `job_set_save_function'
    xt_control.c: In function `CreateControl':
    xt_control.c:964: error: structure has no member named `file'
    xt_control.c:966: error: structure has no member named `bpp'
    xt_control.c:967: error: structure has no member named `play_cmd'
    xt_control.c:968: error: structure has no member named `video_cmd'
    xt_control.c:969: error: structure has no member named `edit_cmd'
    xt_control.c:975: warning: assignment makes pointer from integer without a cast
    xt_control.c: In function `InitControl':
    xt_control.c:1118: error: structure has no member named `file'
    xt_control.c:1119: error: structure has no member named `targetCodec'
    xt_control.c:1120: error: structure has no member named `compress'
    xt_control.c:1121: error: structure has no member named `fps'
    xt_control.c:1122: error: structure has no member named `time'
    xt_control.c:1123: error: structure has no member named `frames'
    xt_control.c:1124: error: structure has no member named `start_no'
    xt_control.c:1125: error: structure has no member named `step'
    xt_control.c:1126: error: structure has no member named `quality'
    xt_control.c:1130: error: structure has no member named `sndrate'
    xt_control.c:1131: error: structure has no member named `sndsize'
    xt_control.c:1132: error: structure has no member named `sndchannels'
    xt_control.c:1174: error: too many arguments to function `job_set_save_function'xt_control.c:1182: error: `CAP_FFM' undeclared (first use in this function)
    make[2]: *** [xvidcap-xt_control.o] error 1
    make[2]: Leaving directory `/home/wuyang/work/xvidcap/xvidcap-1.1.4pre2/src'
    make[1]: *** [all-recursive] error 1
    make[1]: Leaving directory `/home/wuyang/work/xvidcap/xvidcap-1.1.4pre2'
    make: *** [all] error 2

     
    • Karl H. Beckers

      Karl H. Beckers - 2005-11-24

      Hi,
      well, you can't ... and that's in the release notes. 1.1.4pre2 is still (as in the name) a preview release and as yet only gvidcap can be built.

      Karl.

       

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks