Cross compile - x86 gtkmm in Ubuntu x64



Hello,
I have to compile a code in x86 version(using -m32 option) when i stay in Ubuntu x64, I download .deb packages in version i386,extract and put in /lib32 and a have linked successful all library, but i have this errors:

/usr/lib/gcc/x86_64-linux-gnu/4.2.4/../../../../lib32/libpango-1.0.a(libpango_thai_lang_la-thai-lang.o)||In function `thai_engine_break':|
(.text+0x124)||undefined reference to `th_uni2tis'|
/usr/lib/gcc/x86_64-linux-gnu/4.2.4/../../../../lib32/libpango-1.0.a(libpango_thai_lang_la-thai-lang.o)||In function `thai_engine_break':|
(.text+0x173)||undefined reference to `th_brk'|
||=== Build finished: 2 errors, 0 warnings ===|

I think that i have similar errors when i try to compile linking static .a librarys in yearly times, but now a compile using `pkg-config gtkmm-2.4 libglademm-2.4 --cflags --libs` which compile without errors in normal mode(x64 in x64 SO/x86 in x86 SO)


Best Regards


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]