Hi,
I have cross compiled Qt v4.5.2 successfully but when I try to cross compile qt v4.6.3, It configures correctly but it throws following error when I run "make" command.
../3rdparty/javascriptcore/JavaScriptCore/wtf/TCSystemAlloc.cpp: In function 'void* TrySbrk(size_t, size_t*, size_t)':
../3rdparty/javascriptcore/JavaScriptCore/wtf/TCSystemAlloc.cpp:126: error: 'sbrk' was not declared in this scope
make[1]: *** [obj/release/TCSystemAlloc.o] Error 1
make[1]: Leaving directory `/home/bakul/Qt/qt-everywhere-opensource-src-4.6.3/src/script'
make: *** [sub-script-make_default-ordered] Error 2
I am using "qt-everywhere-opensource-src-4.6.3.tar.gz" and I used following options while configuration.
./configure -little-endian -embedded arm -xplatform qws/linux-arm-g++ -no-qt3support -static -no-webkit -prefix /usr/local/Qt_4.6.3 -qt-mouse-tslib -L /usr/local/tslib/lib -I /usr/local/tslib/include -opensource -nomake examples -nomake demos -optimized-qmake
I do not why it gives this error comes with v4.6.3 which is not the case with v4.5.2.
If anybody has compiled v4.6.3 with any other options please let me know.
Thanks in advance for help.
Bookmarks