id,summary,reporter,owner,description,type,status,priority,milestone,component,version,severity,resolution,keywords,cc 2168,MSG compile problem,rroman,Mateusz Łoskot,"When I try to compile gdal-1.5.0 on fedora core 5 with msg format support the following problem occur. {{{ make[2]: Entering directory `/home/rroman/gdal-1.5.0/frmts/msg' g++ -Wall -fPIC -O2 -I../../port -I../../gcore -I../../alg -I../../ogr -I../../ogr/ogrsf_frmts -I PublicDecompWT/DISE -I PublicDecompWT/COMP/WT/Inc -I PublicDecompWT/COMP/Inc -I. -c -o ../o/msgdataset.o msgdataset.cpp msgdataset.h:51: error: expected `)' before ‘*’ token msgdataset.h:56: error: ‘MSGDataset’ has not been declared PublicDecompWT/COMP/WT/Inc/CompressWT.h: In constructor ‘COMP::CWTParams::CWTParams(unsigned int, unsigned int, COMP::CWTParams::EWTPredictionMode, COMP::CWTParams::EWTBlockMode, unsigned int, unsigned int)’: PublicDecompWT/COMP/WT/Inc/CompressWT.h:140: warning: enumeration value ‘e_FullWidth’ not handled in switch msgdataset.cpp: In static member function ‘static GDALDataset* MSGDataset::Open(GDALOpenInfo*)’: msgdataset.cpp:286: error: no matching function for call to ‘MSGRasterBand::MSGRasterBand(MSGDataset*&, int)’ msgdataset.h:47: note: candidates are: MSGRasterBand::MSGRasterBand() msgdataset.h:47: note: MSGRasterBand::MSGRasterBand(const MSGRasterBand&) msgdataset.cpp: At global scope: msgdataset.cpp:298: error: prototype for ‘MSGRasterBand::MSGRasterBand(MSGDataset*, int)’ does not match any in class ‘MSGRasterBand’ msgdataset.h:47: error: candidates are: MSGRasterBand::MSGRasterBand(const MSGRasterBand&) msgdataset.h:47: error: MSGRasterBand::MSGRasterBand() msgdataset.cpp: In member function ‘virtual CPLErr MSGRasterBand::IReadBlock(int, int, void*)’: msgdataset.cpp:609: error: no matching function for call to ‘MSGRasterBand::rRadiometricCorrection(short unsigned int&, int&, int, int, MSGDataset*&)’ msgdataset.h:56: note: candidates are: double MSGRasterBand::rRadiometricCorrection(unsigned int, int, int, int, int*) msgdataset.cpp:634: error: no matching function for call to ‘MSGRasterBand::rRadiometricCorrection(short unsigned int&, int&, int, int, MSGDataset*&)’ msgdataset.h:56: note: candidates are: double MSGRasterBand::rRadiometricCorrection(unsigned int, int, int, int, int*) msgdataset.cpp: At global scope: msgdataset.cpp:653: error: prototype for ‘double MSGRasterBand::rRadiometricCorrection(unsigned int, int, int, int, MSGDataset*)’ does not match any in class ‘MSGRasterBand’ msgdataset.h:56: error: candidate is: double MSGRasterBand::rRadiometricCorrection(unsigned int, int, int, int, int*) make[2]: *** [../o/msgdataset.o] Error 1 make[2]: Leaving directory `/home/rroman/gdal-1.5.0/frmts/msg' make[1]: *** [msg-install-obj] Error 2 make[1]: Leaving directory `/home/rroman/gdal-1.5.0/frmts' make: *** [frmts-target] Error 2 }}} On the internet I found that it was previously discussed but did not find the solution. Any help would be apprececiated. Thanks Raymond ",defect,closed,normal,1.5.3,ConfigBuild,1.5.0,normal,fixed,msg,retsios lichun