版主,帮个忙吧!我已经崩溃啦!
我正在移植qt-embedded-4.5.1到mpc5121e(PowerPC)的开发板,配置如下:
./configure -prefix /Qt -embedded powerpc -xplatform qws/linux-ppc-g++ -no-webkit -no-openssl
configure之后,在gmake时出错:
qtiffhandler.cpp:48:20: error: tiffio.h: No such file or directory
qtiffhandler.cpp:53: error: 'tsize_t' does not name a type
qtiffhandler.cpp:59: error: 'tsize_t' does not name a type
qtiffhandler.cpp:64: error: 'toff_t' does not name a type
qtiffhandler.cpp:82: error: 'thandle_t' was not declared in this scope
qtiffhandler.cpp:83: error: expected ',' or ';' before '{' token
qtiffhandler.cpp:87: error: 'toff_t' does not name a type
qtiffhandler.cpp:92: error: 'thandle_t' was not declared in this scope
qtiffhandler.cpp:92: error: 'tdata_t' was not declared in this scope
qtiffhandler.cpp:92: error: expected primary-expression before ',' token
qtiffhandler.cpp:92: error: 'toff_t' was not declared in this scope
qtiffhandler.cpp:92: error: expected primary-expression before ')' token
qtiffhandler.cpp:92: error: initializer expression list treated as compound expression
qtiffhandler.cpp:93: error: expected ',' or ';' before '{' token
qtiffhandler.cpp:97: error: variable or field 'qtiffUnmapProc' declared void
qtiffhandler.cpp:97: error: 'thandle_t' was not declared in this scope
qtiffhandler.cpp:97: error: 'tdata_t' was not declared in this scope
qtiffhandler.cpp:97: error: 'toff_t' was not declared in this scope
qtiffhandler.cpp: In member function 'virtual bool QTiffHandler::read(QImage*)':
qtiffhandler.cpp:134: error: 'TIFF' was not declared in this scope
qtiffhandler.cpp:134: error: 'tiff' was not declared in this scope
qtiffhandler.cpp:137: error: 'qtiffReadProc' was not declared in this scope
qtiffhandler.cpp:138: error: 'qtiffWriteProc' was not declared in this scope
qtiffhandler.cpp:139: error: 'qtiffSeekProc' was not declared in this scope
qtiffhandler.cpp:141: error: 'qtiffSizeProc' was not declared in this scope
qtiffhandler.cpp:143: error: 'qtiffUnmapProc' was not declared in this scope
qtiffhandler.cpp:143: error: 'TIFFClientOpen' was not declared in this scope
qtiffhandler.cpp:146: error: 'uint32' was not declared in this scope
qtiffhandler.cpp:146: error: expected `;' before 'width'
qtiffhandler.cpp:147: error: expected `;' before 'height'
qtiffhandler.cpp:148: error: 'TIFFTAG_IMAGEWIDTH' was not declared in this scope
qtiffhandler.cpp:148: error: 'width' was not declared in this scope
qtiffhandler.cpp:148: error: 'TIFFGetField' was not declared in this scope
qtiffhandler.cpp:149: error: 'TIFFTAG_IMAGELENGTH' was not declared in this scope
qtiffhandler.cpp:149: error: 'height' was not declared in this scope
qtiffhandler.cpp:153: error: expected type-specifier before 'uint32'
qtiffhandler.cpp:153: error: expected `>' before 'uint32'
qtiffhandler.cpp:153: error: expected `(' before 'uint32'
qtiffhandler.cpp:153: error: expected primary-expression before '>' token
qtiffhandler.cpp:153: error: 'ORIENTATION_TOPLEFT' was not declared in this scope
qtiffhandler.cpp:153: error: 'TIFFReadRGBAImageOriented' was not declared in this scope
qtiffhandler.cpp:153: error: expected `)' before '{' token
qtiffhandler.cpp:179: error: expected primary-expression before '}' token
qtiffhandler.cpp:179: error: expected `;' before '}' token
qtiffhandler.cpp:180: error: 'TIFFClose' was not declared in this scope
qtiffhandler.cpp: In member function 'virtual bool QTiffHandler::write(const QImage&)':
qtiffhandler.cpp:194: error: 'TIFF' was not declared in this scope
qtiffhandler.cpp:194: error: 'tiff' was not declared in this scope
qtiffhandler.cpp:197: error: 'qtiffReadProc' was not declared in this scope
qtiffhandler.cpp:198: error: 'qtiffWriteProc' was not declared in this scope
qtiffhandler.cpp:199: error: 'qtiffSeekProc' was not declared in this scope
qtiffhandler.cpp:201: error: 'qtiffSizeProc' was not declared in this scope
qtiffhandler.cpp:203: error: 'qtiffUnmapProc' was not declared in this scope
qtiffhandler.cpp:203: error: 'TIFFClientOpen' was not declared in this scope
qtiffhandler.cpp:210: error: 'TIFFTAG_IMAGEWIDTH' was not declared in this scope
qtiffhandler.cpp:210: error: 'TIFFSetField' was not declared in this scope
qtiffhandler.cpp:211: error: 'TIFFTAG_IMAGELENGTH' was not declared in this scope
qtiffhandler.cpp:212: error: 'TIFFTAG_PHOTOMETRIC' was not declared in this scope
qtiffhandler.cpp:212: error: 'PHOTOMETRIC_RGB' was not declared in this scope
qtiffhandler.cpp:213: error: 'TIFFTAG_COMPRESSION' was not declared in this scope
qtiffhandler.cpp:213: error: 'COMPRESSION_NONE' was not declared in this scope
qtiffhandler.cpp:213: error: 'COMPRESSION_LZW' was not declared in this scope
qtiffhandler.cpp:214: error: 'TIFFTAG_SAMPLESPERPIXEL' was not declared in this scope
qtiffhandler.cpp:215: error: 'TIFFTAG_PLANARCONFIG' was not declared in this scope
qtiffhandler.cpp:215: error: 'PLANARCONFIG_CONTIG' was not declared in this scope
qtiffhandler.cpp:216: error: 'TIFFTAG_BITSPERSAMPLE' was not declared in this scope
qtiffhandler.cpp:217: error: 'TIFFClose' was not declared in this scope
qtiffhandler.cpp:237: error: expected type-specifier before 'uint32'
qtiffhandler.cpp:237: error: expected `>' before 'uint32'
qtiffhandler.cpp:237: error: expected `(' before 'uint32'
qtiffhandler.cpp:237: error: 'uint32' was not declared in this scope
qtiffhandler.cpp:237: error: expected primary-expression before '>' token
qtiffhandler.cpp:237: error: 'TIFFWriteScanline' was not declared in this scope
qtiffhandler.cpp:237: error: expected `)' before '{' token
qtiffhandler.cpp:241: warning: empty body in an if-statement
qtiffhandler.cpp:244: error: 'TIFFClose' was not declared in this scope
qtiffhandler.cpp: In member function 'virtual QVariant QTiffHandler::option(QImageIOHandler::ImageOption) const':
qtiffhandler.cpp:261: error: 'TIFF' was not declared in this scope
qtiffhandler.cpp:261: error: 'tiff' was not declared in this scope
qtiffhandler.cpp:264: error: 'qtiffReadProc' was not declared in this scope
qtiffhandler.cpp:265: error: 'qtiffWriteProc' was not declared in this scope
qtiffhandler.cpp:266: error: 'qtiffSeekProc' was not declared in this scope
qtiffhandler.cpp:268: error: 'qtiffSizeProc' was not declared in this scope
qtiffhandler.cpp:270: error: 'qtiffUnmapProc' was not declared in this scope
qtiffhandler.cpp:270: error: 'TIFFClientOpen' was not declared in this scope
qtiffhandler.cpp:273: error: 'uint32' was not declared in this scope
qtiffhandler.cpp:273: error: expected `;' before 'width'
qtiffhandler.cpp:274: error: expected `;' before 'height'
qtiffhandler.cpp:275: error: 'TIFFTAG_IMAGEWIDTH' was not declared in this scope
qtiffhandler.cpp:275: error: 'width' was not declared in this scope
qtiffhandler.cpp:275: error: 'TIFFGetField' was not declared in this scope
qtiffhandler.cpp:276: error: 'TIFFTAG_IMAGELENGTH' was not declared in this scope
qtiffhandler.cpp:276: error: 'height' was not declared in this scope
qtiffhandler.cpp: In member function 'void QTiffHandler::convert32BitOrder(void*, int)':
qtiffhandler.cpp:305: error: 'uint32' was not declared in this scope
qtiffhandler.cpp:305: error: 'target' was not declared in this scope
qtiffhandler.cpp:305: error: expected type-specifier before 'uint32'
qtiffhandler.cpp:305: error: expected `>' before 'uint32'
qtiffhandler.cpp:305: error: expected `(' before 'uint32'
qtiffhandler.cpp:305: error: expected primary-expression before '>' token
qtiffhandler.cpp:305: error: expected `)' before ';' token
qtiffhandler.cpp:306: error: 'int32' was not declared in this scope
qtiffhandler.cpp:306: error: expected `;' before 'x'
qtiffhandler.cpp:306: error: 'x' was not declared in this scope
qtiffhandler.cpp:307: error: expected `;' before 'p'
qtiffhandler.cpp:309: error: 'p' was not declared in this scope
qtiffhandler.cpp: In member function 'void QTiffHandler::convert32BitOrderBigEndian(void*, int)':
qtiffhandler.cpp:318: error: 'uint32' was not declared in this scope
qtiffhandler.cpp:318: error: 'target' was not declared in this scope
qtiffhandler.cpp:318: error: expected type-specifier before 'uint32'
qtiffhandler.cpp:318: error: expected `>' before 'uint32'
qtiffhandler.cpp:318: error: expected `(' before 'uint32'
qtiffhandler.cpp:318: error: expected primary-expression before '>' token
qtiffhandler.cpp:318: error: expected `)' before ';' token
qtiffhandler.cpp:319: error: 'int32' was not declared in this scope
qtiffhandler.cpp:319: error: expected `;' before 'x'
qtiffhandler.cpp:319: error: 'x' was not declared in this scope
qtiffhandler.cpp:320: error: expected `;' before 'p'
qtiffhandler.cpp:321: error: 'p' was not declared in this scope
gmake[3]: *** [.obj/release-shared-emb-powerpc/qtiffhandler.o] 错误 1
gmake[3]: Leaving directory `/Qt/qt-embedded/src/plugins/imageformats/tiff'
gmake[2]: *** [sub-tiff-make_default] 错误 2
gmake[2]: Leaving directory `/Qt/qt-embedded/src/plugins/imageformats'
gmake[1]: *** [sub-imageformats-make_default] 错误 2
gmake[1]: Leaving directory `/Qt/qt-embedded/src/plugins'
gmake: *** [sub-plugins-make_default-ordered] 错误 2
另外我用的交叉编译器是ELDK,我选用ppc_6xx-gcc
跪求路人,我已经花了20天了,还没有解决,还望大家帮忙