[SOLVED] Can't build working Lazarus on Arch Linux lazarus / 32-Linux ---------------------------------------------------------------------- PeterBB · 2023-03-31 20:44 Arch has not been updated yet for 2.2.6   Usually they are very quick. I tried adapting the current PKGBUILD but ended up with a binary that was 30% smaller than previous, and lazbuild failed to build anything. Has anyone here got a working PKGBUILD for 2.2.6? ---------------------------------------------------------------------- PeterBB · 2023-03-31 20:54 Seems to be a problem with DBG symbols, getting lots of errors such as .... Code: Pascal  [Select][+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i /usr/bin/ld: CevoMapMain.pas:(.debug_info+0x19d): undefined reference to `DBG_$STDCTRLS_$$_TBUTTON'/usr/bin/ld: CevoMapMain.pas:(.debug_info+0x1ba): undefined reference to `DBG_$STDCTRLS_$$_TBUTTON'/usr/bin/ld: CevoMapMain.pas:(.debug_info+0x1ce): undefined reference to `DBG_$EXTCTRLS_$$_TIMAGE'/usr/bin/ld: CevoMapMain.pas:(.debug_info+0x1e7): undefined reference to `DBG_$STDCTRLS_$$_TLABEL'/usr/bin/ld: CevoMapMain.pas:(.debug_info+0x1fd): undefined reference to `DBG_$STDCTRLS_$$_TLABEL'/ but I'm not trying to build a debug package. ---------------------------------------------------------------------- PeterBB · 2023-04-18 17:29 Changed the thread title as I can't build a working 2.2.4 either. Problem is the same. Trying to build a project fails with lots of undefined references. Also the object files in my build of Lazarus are about one half or one third of the ones in the official package. Very strange! FPC seems OK, ie with the official 2.2.4 Lazarus package everything works. ---------------------------------------------------------------------- PeterBB · 2023-04-18 21:52 Need to add '!strip' to the lazarus PKGBUILD options. (so how did it work before without this?) ---------------------------------------------------------------------- PeterBB · 2023-05-09 11:08 Quote from: PeterBB on April 18, 2023, 11:52:31 pmNeed to add '!strip' to the lazarus PKGBUILD options. (so how did it work before without this?) It did'nt work before, but is now fixed. 2.2.6-2 or higher on Arch is good to go (Ignore the PKGBUILD I uploaded earlier)