Hy Andrew,<br>It just may be that fun with char arithmetics is not at the root of the trouble.<br>Opencv compiles ok for me under both arm and x86. The trick came form ArnimS at internettabletalk: change -03 to -02.<br>Dive through <a href="http://configure.in">configure.in</a> for optimization defaults and change it. I dropped python (2.3) support as well. Instead of re-deb-packaging, I just picked the required headers to include, and libraries, and copied them once at /usr/local/include/opencv and /usr/lib respectively, then scp&#39;d the executable after each recompilation.<br>
Hope it helps.<br><br>Jesus A. Baro<br>Universidad de Valladolid<br><br>