<div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>I'm under SuSE 10.1 machine trying to build ECW toolkit and then build GDAL<br>against it but got no sucess.
<br></blockquote><div><br>Two comments:<br><br>(1)&nbsp; The are three places in the ECW source code where functions are declared in the class body that contain the class name as a qualifier. Newer versions of gcc don't like this.
<br><br>-&nbsp;&nbsp;&nbsp; void CNCSJPCMarker::operator=( const class CNCSJPCMarker&amp; src );<br>+&nbsp;&nbsp;&nbsp; void operator=( const class CNCSJPCMarker&amp; src );<br></div><br>(2) BEWARE, ECW decompression is horribly broken in MT apps on linux. The ECW folks off-handedly admit the problem and with each release of ECW, they claim to have cleaned up their posix threading code. Sometimes the crashes get a little less frequent. But I can _never_ run ECW decompression in a MT app for more than 2 minutes before the thread I/o structures start getting corrupted. Note, this has nothing to do with using GDAL from multiple threads. These are apps with one dedicated thread for all things GDAL, and ECW still clobbers my other threads.
<span style="text-decoration: underline;"><span style="text-decoration: underline;"></span></span><br>If you're trying this for a single threaded app, please ignore my comments as the ravings of somebody who's spent _way_ too much time on this issue.
<br><br></div>