CVS version will not compile

Help
2006-06-15
2013-04-24
  • Tony O'Bryan

    Tony O'Bryan - 2006-06-15

    I downloaded the CVS version today (June 15, 2006), and it will not build.  It complains about  variables not existing in structures.  Here are the error messages:

    ===========================================

    if gcc32 -DHAVE_CONFIG_H -I. -I. -I..    -I/usr/X11R6/include -DVERSION=\"1.1.4\"    -g -O2 -I/home/tony/Downloads/Apps/xvidcap/ffmpeg/libavcodec -I/home/tony/Downloads/Apps/xvidcap/ffmpeg/libavformat -I/home/tony/Downloads/Apps/xvidcap/ffmpeg/libavutil -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: structure has no member named `fps'
    xt_control.c:110: initializer element is not constant
    xt_control.c:110: (near initialization for `resources[0].resource_offset')
    xt_control.c:110: initializer element is not constant
    xt_control.c:110: (near initialization for `resources[0]')
    xt_control.c:111: structure has no member named `file'
    xt_control.c:111: initializer element is not constant
    xt_control.c:111: (near initialization for `resources[1].resource_offset')
    xt_control.c:111: initializer element is not constant
    xt_control.c:111: (near initialization for `resources[1]')
    xt_control.c:112: initializer element is not constant
    xt_control.c:112: (near initialization for `resources[2]')
    xt_control.c:113: initializer element is not constant
    xt_control.c:113: (near initialization for `resources[3]')
    xt_control.c:114: initializer element is not constant
    xt_control.c:114: (near initialization for `resources[4]')
    xt_control.c:115: structure has no member named `time'
    xt_control.c:115: initializer element is not constant
    xt_control.c:115: (near initialization for `resources[5].resource_offset')
    xt_control.c:115: initializer element is not constant
    xt_control.c:115: (near initialization for `resources[5]')
    xt_control.c:116: structure has no member named `frames'
    xt_control.c:116: initializer element is not constant
    xt_control.c:116: (near initialization for `resources[6].resource_offset')
    xt_control.c:116: initializer element is not constant
    xt_control.c:116: (near initialization for `resources[6]')
    xt_control.c:117: structure has no member named `start_no'
    xt_control.c:117: initializer element is not constant
    xt_control.c:117: (near initialization for `resources[7].resource_offset')
    xt_control.c:117: initializer element is not constant
    xt_control.c:117: (near initialization for `resources[7]')
    xt_control.c:118: structure has no member named `compress'
    xt_control.c:118: initializer element is not constant
    xt_control.c:118: (near initialization for `resources[8].resource_offset')
    xt_control.c:118: initializer element is not constant
    xt_control.c:118: (near initialization for `resources[8]')
    xt_control.c:119: structure has no member named `quality'
    xt_control.c:119: initializer element is not constant
    xt_control.c:119: (near initialization for `resources[9].resource_offset')
    xt_control.c:119: initializer element is not constant
    xt_control.c:119: (near initialization for `resources[9]')
    xt_control.c:120: structure has no member named `bpp'
    xt_control.c:120: initializer element is not constant
    xt_control.c:120: (near initialization for `resources[10].resource_offset')
    xt_control.c:120: initializer element is not constant
    xt_control.c:120: (near initialization for `resources[10]')
    xt_control.c:121: initializer element is not constant
    xt_control.c:121: (near initialization for `resources[11]')
    xt_control.c:122: initializer element is not constant
    xt_control.c:122: (near initialization for `resources[12]')
    xt_control.c:123: structure has no member named `sndrate'
    xt_control.c:123: initializer element is not constant
    xt_control.c:123: (near initialization for `resources[13].resource_offset')
    xt_control.c:123: initializer element is not constant
    xt_control.c:123: (near initialization for `resources[13]')
    xt_control.c:124: structure has no member named `sndsize'
    xt_control.c:124: initializer element is not constant
    xt_control.c:124: (near initialization for `resources[14].resource_offset')
    xt_control.c:124: initializer element is not constant
    xt_control.c:124: (near initialization for `resources[14]')
    xt_control.c:125: structure has no member named `play_cmd'
    xt_control.c:125: initializer element is not constant
    xt_control.c:125: (near initialization for `resources[15].resource_offset')
    xt_control.c:125: initializer element is not constant
    xt_control.c:125: (near initialization for `resources[15]')
    xt_control.c:126: structure has no member named `video_cmd'
    xt_control.c:126: initializer element is not constant
    xt_control.c:126: (near initialization for `resources[16].resource_offset')
    xt_control.c:126: initializer element is not constant
    xt_control.c:126: (near initialization for `resources[16]')
    xt_control.c:127: structure has no member named `edit_cmd'
    xt_control.c:127: initializer element is not constant
    xt_control.c:127: (near initialization for `resources[17].resource_offset')
    xt_control.c:127: initializer element is not constant
    xt_control.c:127: (near initialization for `resources[17]')
    xt_control.c:128: initializer element is not constant
    xt_control.c:128: (near initialization for `resources[18]')
    xt_control.c: In function `CbSelect':
    xt_control.c:870: `CAP_FFM' undeclared (first use in this function)
    xt_control.c:870: (Each undeclared identifier is reported only once
    xt_control.c:870: for each function it appears in.)
    xt_control.c:911: too many arguments to function `job_set_save_function'
    xt_control.c: In function `CreateControl':
    xt_control.c:964: structure has no member named `file'
    xt_control.c:966: structure has no member named `bpp'
    xt_control.c:967: structure has no member named `play_cmd'
    xt_control.c:968: structure has no member named `video_cmd'
    xt_control.c:969: 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: structure has no member named `file'
    xt_control.c:1119: structure has no member named `targetCodec'
    xt_control.c:1120: structure has no member named `compress'
    xt_control.c:1121: structure has no member named `fps'
    xt_control.c:1122: structure has no member named `time'
    xt_control.c:1123: structure has no member named `frames'
    xt_control.c:1124: structure has no member named `start_no'
    xt_control.c:1125: structure has no member named `step'
    xt_control.c:1126: structure has no member named `quality'
    xt_control.c:1130: structure has no member named `sndrate'
    xt_control.c:1131: structure has no member named `sndsize'
    xt_control.c:1132: structure has no member named `sndchannels'
    xt_control.c:1174: too many arguments to function `job_set_save_function'
    xt_control.c:1182: `CAP_FFM' undeclared (first use in this function)

     
    • Tony O'Bryan

      Tony O'Bryan - 2006-06-15

      It may or may not matter, but here are the configure parameters I used:

      ./configure --with-forced-embedded-ffmpeg --enable-static-libs=avcodec --with-gtk2 CC=gcc32

       
      • Karl H. Beckers

        Karl H. Beckers - 2006-06-16

        the version in CVS still requires (as 1.1.4pre2 but CVS doesn't have it in the README) "make gvidcap" ... the Xt GUI will not compile and go away in -pre3.

        Karl.

         

Log in to post a comment.