Failed building Lazarus 1.2.4 from source - Raspbian lazarus / 1-Linux ---------------------------------------------------------------------- dogriz · 2014-09-06 08:19 Code: [Select]Free Pascal Compiler version 2.6.4 [2014/03/21] for arm Copyright (c) 1993-2014 by Florian Klaempfl and others Target OS: Linux for ARMEL Compiling lazbuild.lpr Assembling lazbuild Compiling resource ../units/arm-linux/nogui/lazbuild.or Linking ../lazbuild /usr/bin/ld: warning: ../link.res contains output sections; did you forget -T? /usr/lib/fpc/2.6.4/units/arm-linux/rtl/cprt0.o: In function `_haltproc_eabi': (.text+0x88): undefined reference to `_fini' /usr/lib/fpc/2.6.4/units/arm-linux/rtl/cprt0.o: In function `_haltproc_eabi': (.text+0x90): undefined reference to `_init' lazbuild.lpr(1689) Error: Error while linking lazbuild.lpr(1689) Fatal: There were 1 errors compiling module, stopping Fatal: Compilation aborted Makefile:3412: recipe for target 'lazbuild' failed make[2]: *** [lazbuild] Error 1 make[2]: Leaving directory '/home/pi/lazarus/ide' Makefile:3836: recipe for target 'lazbuilder' failed make[1]: *** [lazbuilder] Error 2 make[1]: Leaving directory '/home/pi/lazarus/ide' Makefile:2840: recipe for target 'lazbuild' failed make: *** [lazbuild] Error 2 No idea what is wrong... ---------------------------------------------------------------------- BigChimp · 2014-09-06 09:13 Try searching the wiki, forum and mailing lists for undefined reference to `_fini I've seen this before but cannot remember the answer. Perhaps something to do with the wrong C/C++ runtime/ARMHF instead of regular ARM or the other way round.... but I can't remember. ---------------------------------------------------------------------- Mukatai · 2014-09-11 08:49 Hi all, I'm in the same situation as you, i want update lazarus on Raspbian and Debian Wheezy ARM (BeagleBone Black). I have the same error and i search a clean solution ! If someone has a solution let me know! Thanks, Good Bye. ---------------------------------------------------------------------- BigChimp · 2014-09-11 08:53 Quote from: Mukatai on September 11, 2014, 10:49:14 amIf someone has a solution let me know! Here: Quote from: BigChimp on September 06, 2014, 11:13:55 amTry searching the wiki, forum and mailing lists for undefined reference to `_fini ---------------------------------------------------------------------- Mukatai · 2014-09-11 09:12 Ok but I can not find an explicit solution. Have you found a solution? Thanks. ---------------------------------------------------------------------- BigChimp · 2014-09-11 09:33 No because I did not look. I don't have that problem and I suppose people can search themselves? Perhaps it's an ARM <> ARMHF mismatch... I don't know. I hope the OP and you built with an ARMHF capable (patched) 2.6.4 as 2.6.x by default cannot build ARMHF code.