you need to install the packages -lcairo, -lgmodule-2.0... and others... El domingo, 10 de noviembre de 2013, 18:48:03 (UTC-3), RedRock escribió: > > I am trying to cross compile Lazarus (Free Pascal Compiler) for BeagleBone > Black. > > Basically, I followed below tutorial.. > http://wiki.lazarus.freepascal.org/Setup_Cross_Compile_For_ARM > > Below is my system information. > > > > > *- Host OS: Ubuntu 13.10- binutils: 2.23- Free Pascal Compiler (FPC from > now on): 2.6.3- Lazarus: 1.0.7* > > binutils is built for arm-linux. > binutils and FPC have been built and tested console pascal code has been > built with no error. *The executable binary code was moved and tested in > BeagleBone Black and worked fine.* > > Lazarus build was fine. > > But the problem is about *LCL and Package Registration*. > > Profile to Build: *Clean Up + Build all* > LCL widget type: *gtk 2* > Target OS:* Linux* > Target CPU: *arm* > Options: *-XParam-linux-* > Clean up: *Clean all* > > But the compilation claims errors as below. > > Compiling resource /home/theuser/.lazarus/units/arm-linux/gtk2/lazarus.or > Linking /home/theuser/.lazarus/bin/arm-linux/lazarus > /usr/local/bin/arm-linux-ld: cannot find -lpthread > /usr/local/bin/arm-linux-ld: cannot find -ldl > /usr/local/bin/arm-linux-ld: cannot find -lX11 > /usr/local/bin/arm-linux-ld: cannot find -lgdk_pixbuf-2.0 > /usr/local/bin/arm-linux-ld: cannot find -lgtk-x11-2.0 > /usr/local/bin/arm-linux-ld: cannot find -lgdk-x11-2.0 > /usr/local/bin/arm-linux-ld: cannot find -lgobject-2.0 > /usr/local/bin/arm-linux-ld: cannot find -lglib-2.0 > /usr/local/bin/arm-linux-ld: cannot find -lgthread-2.0 > /usr/local/bin/arm-linux-ld: cannot find -lgmodule-2.0 > /usr/local/bin/arm-linux-ld: cannot find -lpango-1.0 > /usr/local/bin/arm-linux-ld: cannot find -lcairo > /usr/local/bin/arm-linux-ld: cannot find -latk-1.0 > /usr/local/bin/arm-linux-ld: cannot find -lc > lazarus.pp(129,42) Error: Error while linking > lazarus.pp(129,42) Fatal: There were 1 errors compiling module, stopping > TMessagesView.CollectLineParts WARNING: 614<>599 > SrcLine=lazarus.pp(129,42) Fatal: There were 1 errors compiling module, > stopping > TExternalToolList.Run Exception: > /home/theuser/lazarus/ide/lazarus.pp(129,42) Fatal: There were 1 errors > compiling module, stopping > TMainIDE.DoOpenEditorFile Fixing file name: /home/theuser/lazarus/ide/ -> > /home/theuser/lazarus/ide > TMainIDE.DoOpenEditorFile skipping directory /home/theuser/lazarus/ide > TBuildManager.SetBuildTargetIDE OS=Linux CPU=arm WS=gtk2 > [WARNING] > (../../../lib/unity-gtk-action-group.c:1030):unity_gtk_action_group_disconnect_shell: > > runtime check failed: (shell->action_group == group) > > *For the link error, I copied and moved library files from /lib and > /usr/lib of BeagleBone Black to host Ubuntu*. > > I searched web, but I couldn't find the reason. Please help me. >
-- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups "BeagleBoard" group. To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.