Hi Stuart,
I was able to build freescale Ltib with the below fix. Thanks a lot for
your help.
However, I also tried to build latest CVS version (on Ubuntu 9.04 and with
shell changed to bash from dash with today's patches) but still ran into
issues building qtopia. The error I got is:
-----------------------------------------------------------------------
ls/qmemoryfile_unix.cpp: In member function 'QMemoryFileData*
QMemoryFile::openData(const QString&, int, uint)':
tools/qmemoryfile_unix.cpp:149: warning: format not a string literal and
no format arguments
tools/qmemoryfile_unix.cpp:152: warning: format not a string literal and
no format arguments
tools/qmemoryfile_unix.cpp:181: warning: format not a string literal and
no format arguments
tools/qmemoryfile_unix.cpp:190: warning: format not a string literal and
no format arguments
tools/qmemoryfile_unix.cpp:235: warning: format not a string literal and
no format arguments
In function 'int open(const char*, int, ...)',
inlined from 'QMemoryFileData* QMemoryFile::openData(const QString&,
int, uint)' at tools/qmemoryfile_unix.cpp:143:
/usr/include/bits/fcntl2.h:51: error: call to '__open_missing_mode'
declared with attribute error: open with O_CREAT in second argument needs
3 arguments
make[1]: *** [tmp/release-shared-linux-g++/tools/qmemoryfile_unix.o] Error 1
make[1]: Leaving directory