g++-uc -DHAVE_CONFIG_H -I. -I.. -I.. -I../utils -Os -pipe -mno-sse2 -fno-strict-aliasing -pthread -MT motionest.lo -MD -MP -MF .deps/motionest.Tpo -c motionest.cc -fPIC -DPIC -o .libs/motionest.o macroblock.cc: In member function `void MacroBlock::SelectCodingModeOnVariance()': macroblock.cc:52: error: `INT_MAX' was not declared in this scope
Created attachment 137345 [details, diff] mjpegtools-1.8.0-limits.h.patch fixes the issue
Created attachment 145622 [details, diff] mjpegtools-1.9.0_rc3-gcc-4.3.patch We need this for GCC 4.3 too. This is the same patch against 1.9.0_rc3 plus a couple additional missing headers and fix for this error: SkipList.hh:60: error: declaration of 'typedef class Allocator<SkipList<KEY, VALUE, KEYFN, PRED>::Node, SkipList<KEY, VALUE, KEYFN, PRED>::HEADERCHUNK> SkipList<KEY, VALUE, KEYFN, PRED>::Allocator' Allocator.hh:18: error: changes meaning of 'Allocator' from 'class Allocator<SkipList<KEY, VALUE, KEYFN, PRED>::Node, SkipList<KEY, VALUE, KEYFN, PRED>::HEADERCHUNK>'
*** Bug 215156 has been marked as a duplicate of this bug. ***
added patch to 1.9.0_rc3