video_hacks.c compile error

Started by Pelican, February 03, 2013, 07:11:46 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Pelican

I've just made a fork from the main repo (last: 443aec4) and cannot compile 7D code.
Yesterday, and the day before also cannot compile because the ptp-ml.c


[ CC       ]   bmp.o
[ CC       ]   video_hacks.o
../../src/video_hacks.c: In function 'bitrate_flushing_rate_display':
../../src/video_hacks.c:41:30: error: 'MNI_WARNING' undeclared (first use in thi
s function)
../../src/video_hacks.c:41:30: note: each undeclared identifier is reported only
once for each function it appears in
../../src/video_hacks.c: In function 'bitrate_gop_size_display':
../../src/video_hacks.c:67:30: error: 'MNI_WARNING' undeclared (first use in thi
s function)
../../src/video_hacks.c: At top level:
../../src/video_hacks.c:159:17: error: unknown field 'display' specified in init
ializer
../../src/video_hacks.c:159:17: warning: initialization makes integer from point
er without a cast [enabled by default]
../../src/video_hacks.c:159:17: warning: (near initialization for '(anonymous)[0
].min') [enabled by default]
../../src/video_hacks.c:160:17: warning: initialized field overwritten [-Woverri
de-init]
../../src/video_hacks.c:160:17: warning: (near initialization for '(anonymous)[0
].min') [-Woverride-init]
../../src/video_hacks.c:167:17: error: unknown field 'display' specified in init
ializer
../../src/video_hacks.c:167:17: warning: initialization makes integer from point
er without a cast [enabled by default]
../../src/video_hacks.c:167:17: warning: (near initialization for '(anonymous)[1
].min') [enabled by default]
../../src/video_hacks.c:168:17: warning: initialized field overwritten [-Woverri
de-init]
../../src/video_hacks.c:168:17: warning: (near initialization for '(anonymous)[1
].min') [-Woverride-init]
../../Makefile.inc:641: recipe for target `video_hacks.o' failed
make: *** [video_hacks.o] Error 1
EOS 7D Mark II, EOS 7D, EOS 5, EOS 100 + lenses (10mm to 300mm), 600EX, 550EX, YN600EX x 3
EOScard, EOS DSLR firmwares, ARMu, NiControl, etc.: http://pel.hu/down