Recent

Author Topic: Cannot cross compile under Linux x86_64 to Linux i386  (Read 1341 times)

TCH

  • Full Member
  • ***
  • Posts: 115
Cannot cross compile under Linux x86_64 to Linux i386
« on: November 17, 2018, 09:27:52 pm »
I'm trying to crosscompile my project, but i get the following messages:
Code: [Select]
//usr/lib/i386-linux-gnu/libgtk-x11-2.0.a(gtkmain.o):(.bss+0x0): multiple definition of `gtk_debug_flags'
/usr/lib/fpc/3.0.4/units/i386-linux/gtk2/gtk2.o:(.bss.n_gtk_debug_flags+0x0): first defined here
/usr/bin/ld: //usr/lib/i386-linux-gnu/libgtk-x11-2.0.a(gtkfilesystem.o): undefined reference to symbol 'g_file_info_get_attribute_byte_string'
//usr/lib/i386-linux-gnu/libgio-2.0.so.0: error adding symbols: DSO missing from command line
/media/ROOTDIR/lw/sp2fe/sp2fe.lpr(29,1) Error: (9013) Error while linking
/media/ROOTDIR/lw/sp2fe/sp2fe.lpr(29,1) Fatal: (10026) There were 1 errors compiling module, stopping
Fatal: (1018) Compilation aborted
Error: /usr/bin/ppc386 returned an error exitcode
My fpc.cfg is here: http://oscomp.hu/depot/fpc.cfg
Although, i cannot recall any modification on it.
What can be the problem? I found nothing on this.

benohb

  • Full Member
  • ***
  • Posts: 177
Re: Cannot cross compile under Linux x86_64 to Linux i386
« Reply #1 on: November 17, 2018, 09:59:02 pm »
Distribution .???

TCH

  • Full Member
  • ***
  • Posts: 115
Re: Cannot cross compile under Linux x86_64 to Linux i386
« Reply #2 on: November 17, 2018, 10:40:43 pm »
Debian 8.
« Last Edit: November 17, 2018, 10:45:28 pm by TCH »