code-google-com / qimsys

Automatically exported from code.google.com/p/qimsys
0 stars 0 forks source link

build error on gentoo 64bit environment. #7

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Hi, now I can't build qimsys on Gentoo 64bit environment.

Kernel: 2.6.35-gentoo-r1
glibc : 2.12.1-r1
gcc   : 4.4.5
Qt    : 4.6.3

------

Here is errors in build log.

qximinputmethod.cpp: In member function 'bool 
QXimInputMethod::Private::storeIcValues(InputContext*, IMChangeICStruct*)':
qximinputmethod.cpp:337: error: invalid conversion from 'CARD32*' to 'INT32*'
qximinputmethod.cpp:337: error:   initializing argument 1 of 'qint32 
X112Qt::convert(INT32*)'
qximinputmethod.cpp:339: error: invalid conversion from 'CARD32*' to 'INT32*'
qximinputmethod.cpp:339: error:   initializing argument 1 of 'qint32 
X112Qt::convert(INT32*)'
qximinputmethod.cpp:345: error: invalid conversion from 'CARD32*' to 'INT32*'
qximinputmethod.cpp:345: error:   initializing argument 1 of 'qint32 
X112Qt::convert(INT32*)'
make[3]: *** [.obj/release-shared/qximinputmethod.o] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory 
`/home/kenya888/devel/qimsys/qimsys/src/plugins/clients/xim'
make[2]: *** 
[sub--home-kenya888-devel-qimsys-qimsys-src-plugins-clients-xim-make_default-ord
ered] Error 2
make[2]: Leaving directory 
`/home/kenya888/devel/qimsys/qimsys/profiles/platforms/ws/x11'
make[1]: *** 
[sub--home-kenya888-devel-qimsys-qimsys-profiles-platforms-ws-x11-make_default-o
rdered] Error 2
make[1]: Leaving directory 
`/home/kenya888/devel/qimsys/qimsys/profiles/platforms/x11'
make: *** 
[sub--home-kenya888-devel-qimsys-qimsys-profiles-platforms-x11-make_default-orde
red] Error 2

-----------------------

Please see attached file, the full build log.

Original issue reported on code.google.com by kenya...@gmail.com on 27 Oct 2010 at 9:11

Attachments:

GoogleCodeExporter commented 9 years ago
Could you add the code below to qtx11.h? then, see what happens

# ifdef LONG64
inline quint32 convert(CARD32 *id)
{
    if (!id) return 0;
    return (quint32)*id;
}
#endif

Original comment by stas...@gmail.com on 31 Oct 2010 at 5:09

GoogleCodeExporter commented 9 years ago
Thank you for your advice. It seems be built successfully:-) But now I cannot 
use qimsys on GTK+2 application due to an error. I'll try to confirm on 32bit 
system. If it occur on only 64bit system, I'll report again:-)

Original comment by kenya...@gmail.com on 1 Nov 2010 at 8:01

GoogleCodeExporter commented 9 years ago
Fixed in 576c8e1285128acde07c0f49fea2049e7adca715

Original comment by stas...@gmail.com on 4 Nov 2010 at 2:53

GoogleCodeExporter commented 9 years ago

Original comment by stas...@gmail.com on 6 Feb 2011 at 5:22

GoogleCodeExporter commented 9 years ago

Original comment by stas...@gmail.com on 6 Feb 2011 at 5:31

GoogleCodeExporter commented 9 years ago

Original comment by stas...@gmail.com on 24 Feb 2011 at 11:46