When the strrchr function is used, the conversion from the 'const char * 'type to the 'Char *' type is invalid. The new version g ++ does not support an error.
Error 1:
Backend/vobject. cpp: In function 'vobject * addgroup (vobject *, const char *)':
Backend/vobject. cpp: 419: Error: Invalid conversion from 'const char * 'to 'Char *'
Modify/x86-qtopia-2.2.0/qtopia/src/libraries/qtopia/backend/vobject. cpp: 419 rows
Char * dot = strrchr (G ,'.');
Char * dot = (char *) strrchr (G ,'.');
Error 2:
Wavplugin. cpp: In the member function 'virtual bool wavplugin: isfilesupported (const qstring:
Wavplugin. cpp: 435: 45: error: the conversion from type 'const char * 'to type 'Char *' is invalid.
Corrected/x86-qtopia-2.2.0/qtopia/src/plugins/codecs/wavplugin. cpp: 435 rows
Char * ext = strrchr (path. Latin1 (),'.');
Char * ext = (char *) strrchr (path. Latin1 (),'.');
Error 3:
/Usr/bin/ld:. OBJ/release-shared/transferserver. O: Undefined reference to symbol 'crypt @ glibc_2.0'
/Usr/bin/ld: Note: 'crypt @ glibc_2.0 'is defined in DSO/lib/libcrypt. so.1 so try adding it to the linker command line
This was found to use the crypt function for a long time without using-lcrypt, qtopia-2.2.0-FriendlyARM/qtopia/configure 1373 rows to join
Print config_pri "libs + =-lcrypt/N ";
As follows:
Print config_pri "qtopia_font_sizes = $ opt_fontsizes/N ";
Print config_pri "qtopia_font_families = $ opt_fontfamilies/N ";
Print config_pri "libs + =-lcrypt/N ";
Every time a build is modified, it is decompressed from qtopia-2.2.0.tar.gz. then, the files in qtopia-2.2.0.tar.gz are modified, or the files in each build will be overwritten.