Hi all again,

I think that I'm almost at the end of my path to make Lazarus able to
build for arm-linux "graphical projects".

It compiles and it seems to link right, I found all target libs I need
(I grabbed most of these from sdk), but almost at the end I have this
error:

...
/home/kjow/lazarus/fpc/binutils/ld: error: Source object
/home/kjow/lazarus/fpc/libcross/libX11.so has EABI version 5, but
target /home/kjow/dev/TestARM/LazARM/LAzARM has EABI version 0

Here complete log from "Messages" of Lazarus IDE:

Hint: Start of reading config file /home/kjow/.fpc.cfg
Hint: Start of reading config file /etc/fpc.cfg
Hint: End of reading config file /etc/fpc.cfg
Hint: End of reading config file /home/kjow/.fpc.cfg
Free Pascal Compiler version 2.5.1 [2009/12/12] for arm
Copyright (c) 1993-2009 by Florian Klaempfl
Target OS: Linux for ARM
Compiling LAzARM.lpr
Assembling lazarm
Linking /home/kjow/dev/TestARM/LazARM/LAzARM
/home/kjow/lazarus/fpc/binutils/ld: error: Source object
/home/kjow/lazarus/fpc/libcross/libX11.so has EABI version 5, but
target /home/kjow/dev/TestARM/LazARM/LAzARM has EABI version 0
/home/kjow/lazarus/fpc/binutils/ld: failed to merge target specific
data of file /home/kjow/lazarus/fpc/libcross/libX11.so
/home/kjow/lazarus/fpc/libcross/libgtk-x11-2.0.so: undefined reference
to `gdk_pixbuf_new_from_stream'
/home/kjow/lazarus/fpc/libcross/libgtk-x11-2.0.so: undefined reference
to `gdk_pixbuf_simple_anim_iter_get_type'
/home/kjow/lazarus/fpc/libcross/libexpat.so.1: undefined reference to
`__aeabi_unwind_cpp_...@gcc_3.5'
/home/kjow/lazarus/fpc/libcross/libgtk-x11-2.0.so: undefined reference
to `gdk_pixbuf_new_from_stream_at_scale'
/home/kjow/lazarus/fpc/libcross/libgtk-x11-2.0.so: undefined reference
to `gdk_pixbuf_simple_anim_get_type'
/home/kjow/lazarus/fpc/libcross/libglib-2.0.so: undefined reference to
`__aeabi_unwind_cpp_...@gcc_3.5'
LAzARM.lpr(22) Error: Error while linking
LAzARM.lpr(22) Fatal: There were 1 errors compiling module, stopping


There is a way to solve this problem?

I tried to "play" with fpc parameters (instead of -CaEABI ), but no
luck; everytime it returns this error.


Thank you!

--
_______________________________________________
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to