Lazarus-trunk compilation problem lazarus / 1-Linux ---------------------------------------------------------------------- vincococka · 2015-01-26 15:00 Hi all, I just made svn co from svn of FPC & lazarus and having trouble compiling Lazarus... see last 15-20 lines root@s2 [lazarus]# PP=/opt/fpc/lib/fpc/3.1.1/ppcx64 make lazbuild make -C packager/registration make[1]: Entering directory '/mnt/build/lazarus/packager/registration' /usr/bin/rm -f ../units/x86_64-linux/fcllaz.ppu /opt/fpc/lib/fpc/3.1.1/ppcx64 -MObjFPC -Scghi -O1 -g -gl -l -vewnhibq -Fu. -FE. -FU../units/x86_64-linux -Cg -dx86_64 fcllaz.pas Hint: (11030) Start of reading config file /etc/fpc.cfg Hint: (11031) End of reading config file /etc/fpc.cfg Free Pascal Compiler version 3.1.1 [2015/01/26] for x86_64 Copyright (c) 1993-2015 by Florian Klaempfl and others (1002) Target OS: Linux for x86-64 (3104) Compiling fcllaz.pas /mnt/build/lazarus/packager/registration/fcllaz.pas(10,16) Hint: (5023) Unit "db" not used in fcllaz /mnt/build/lazarus/packager/registration/fcllaz.pas(10,40) Hint: (5023) Unit "eventlog" not used in fcllaz /mnt/build/lazarus/packager/registration/fcllaz.pas(10,50) Hint: (5023) Unit "XMLConf" not used in fcllaz (1008) 21 lines compiled, 0.1 sec (1022) 5 hint(s) issued /usr/bin/cp -f Makefile.compiled ../units/x86_64-linux/FCL.compiled make[1]: Leaving directory '/mnt/build/lazarus/packager/registration' make -C components/lazutils make[1]: Entering directory '/mnt/build/lazarus/components/lazutils' /usr/bin/rm -f lib/x86_64-linux/lazutils.ppu /opt/fpc/lib/fpc/3.1.1/ppcx64 -MObjFPC -Scghi -O1 -g -gl -l -vewnhibq -Fu../../packager/units/x86_64-linux -Fu. -FE. -FUlib/x86_64-linux -Cg -dx86_64 lazutils.pas Hint: (11030) Start of reading config file /etc/fpc.cfg Hint: (11031) End of reading config file /etc/fpc.cfg Free Pascal Compiler version 3.1.1 [2015/01/26] for x86_64 Copyright (c) 1993-2015 by Florian Klaempfl and others (1002) Target OS: Linux for x86-64 (3104) Compiling lazutils.pas /mnt/build/lazarus/components/lazutils/lazutils.pas(10,13) Hint: (5023) Unit "Laz2_XMLCfg" not used in LazUtils /mnt/build/lazarus/components/lazutils/lazutils.pas(10,55) Hint: (5023) Unit "laz2_XMLWrite" not used in LazUtils /mnt/build/lazarus/components/lazutils/lazutils.pas(10,70) Hint: (5023) Unit "Laz_DOM" not used in LazUtils /mnt/build/lazarus/components/lazutils/lazutils.pas(11,3) Hint: (5023) Unit "Laz_XMLCfg" not used in LazUtils /mnt/build/lazarus/components/lazutils/lazutils.pas(11,15) Hint: (5023) Unit "Laz_XMLRead" not used in LazUtils /mnt/build/lazarus/components/lazutils/lazutils.pas(11,28) Hint: (5023) Unit "Laz_XMLStreaming" not used in LazUtils /mnt/build/lazarus/components/lazutils/lazutils.pas(11,46) Hint: (5023) Unit "Laz_XMLWrite" not used in LazUtils /mnt/build/lazarus/components/lazutils/lazutils.pas(12,26) Hint: (5023) Unit "LazDbgLog" not used in LazUtils /mnt/build/lazarus/components/lazutils/lazutils.pas(12,37) Hint: (5023) Unit "PasWString" not used in LazUtils /mnt/build/lazarus/components/lazutils/lazutils.pas(12,59) Hint: (5023) Unit "LazUTF8Classes" not used in LazUtils /mnt/build/lazarus/components/lazutils/lazutils.pas(13,3) Hint: (5023) Unit "Masks" not used in LazUtils /mnt/build/lazarus/components/lazutils/lazutils.pas(13,10) Hint: (5023) Unit "LazUtilsStrConsts" not used in LazUtils /mnt/build/lazarus/components/lazutils/lazutils.pas(13,54) Hint: (5023) Unit "lazutf8sysutils" not used in LazUtils /mnt/build/lazarus/components/lazutils/lazutils.pas(14,3) Hint: (5023) Unit "LazMethodList" not used in LazUtils /mnt/build/lazarus/components/lazutils/lazutils.pas(14,18) Hint: (5023) Unit "AvgLvlTree" not used in LazUtils /mnt/build/lazarus/components/lazutils/lazutils.pas(14,41) Hint: (5023) Unit "LazFreeType" not used in LazUtils /mnt/build/lazarus/components/lazutils/lazutils.pas(14,54) Hint: (5023) Unit "TTCache" not used in LazUtils /mnt/build/lazarus/components/lazutils/lazutils.pas(14,63) Hint: (5023) Unit "TTCalc" not used in LazUtils /mnt/build/lazarus/components/lazutils/lazutils.pas(14,71) Hint: (5023) Unit "TTCMap" not used in LazUtils /mnt/build/lazarus/components/lazutils/lazutils.pas(15,3) Hint: (5023) Unit "TTDebug" not used in LazUtils /mnt/build/lazarus/components/lazutils/lazutils.pas(15,12) Hint: (5023) Unit "TTError" not used in LazUtils /mnt/build/lazarus/components/lazutils/lazutils.pas(15,21) Hint: (5023) Unit "TTFile" not used in LazUtils /mnt/build/lazarus/components/lazutils/lazutils.pas(15,29) Hint: (5023) Unit "TTGLoad" not used in LazUtils /mnt/build/lazarus/components/lazutils/lazutils.pas(15,38) Hint: (5023) Unit "TTInterp" not used in LazUtils /mnt/build/lazarus/components/lazutils/lazutils.pas(15,48) Hint: (5023) Unit "TTLoad" not used in LazUtils /mnt/build/lazarus/components/lazutils/lazutils.pas(15,56) Hint: (5023) Unit "TTMemory" not used in LazUtils /mnt/build/lazarus/components/lazutils/lazutils.pas(15,66) Hint: (5023) Unit "TTObjs" not used in LazUtils /mnt/build/lazarus/components/lazutils/lazutils.pas(16,3) Hint: (5023) Unit "TTProfile" not used in LazUtils /mnt/build/lazarus/components/lazutils/lazutils.pas(16,14) Hint: (5023) Unit "TTRASTER" not used in LazUtils /mnt/build/lazarus/components/lazutils/lazutils.pas(16,24) Hint: (5023) Unit "TTTables" not used in LazUtils /mnt/build/lazarus/components/lazutils/lazutils.pas(16,34) Hint: (5023) Unit "TTTypes" not used in LazUtils /mnt/build/lazarus/components/lazutils/lazutils.pas(17,19) Hint: (5023) Unit "LazClasses" not used in LazUtils /mnt/build/lazarus/components/lazutils/lazutils.pas(17,58) Hint: (5023) Unit "LazConfigStorage" not used in LazUtils /mnt/build/lazarus/components/lazutils/lazutils.pas(18,16) Hint: (5023) Unit "laz2_xpath" not used in LazUtils /mnt/build/lazarus/components/lazutils/lazutils.pas(18,28) Hint: (5023) Unit "DictionaryStringList" not used in LazUtils /mnt/build/lazarus/components/lazutils/lazutils.pas(18,70) Hint: (5023) Unit "FPCAdds" not used in LazUtils /mnt/build/lazarus/components/lazutils/lazutils.pas(19,3) Hint: (5023) Unit "LazUtilities" not used in LazUtils (1008) 30 lines compiled, 0.1 sec (1022) 39 hint(s) issued /usr/bin/cp -f Makefile.compiled lib/x86_64-linux/LazUtils.compiled make[1]: Leaving directory '/mnt/build/lazarus/components/lazutils' make -C components/codetools make[1]: Entering directory '/mnt/build/lazarus/components/codetools' /usr/bin/rm -f units/x86_64-linux/codetools.ppu /opt/fpc/lib/fpc/3.1.1/ppcx64 -MObjFPC -Sci -O1 -g -gl -l -vewnibq -Fu../../packager/units/x86_64-linux -Fu../lazutils/lib/x86_64-linux -Fu. -FE. -FUunits/x86_64-linux -Cg -dx86_64 codetools.pas Free Pascal Compiler version 3.1.1 [2015/01/26] for x86_64 Copyright (c) 1993-2015 by Florian Klaempfl and others (1002) Target OS: Linux for x86-64 (3104) Compiling codetools.pas (1008) 32 lines compiled, 0.1 sec /usr/bin/cp -f Makefile.compiled units/x86_64-linux/CodeTools.compiled make[1]: Leaving directory '/mnt/build/lazarus/components/codetools' make -C lcl LCL_PLATFORM=nogui make[1]: Entering directory '/mnt/build/lazarus/lcl' /usr/bin/rm -f units/x86_64-linux/alllclunits.ppu /opt/fpc/lib/fpc/3.1.1/ppcx64 -gl -Sc -Fu../packager/units/x86_64-linux -Fu../components/lazutils/lib/x86_64-linux -Fu. -Funonwin32 -Fuforms -Fuwidgetset -Fiinclude -FE. -FUunits/x86_64-linux -Cg -dx86_64 alllclunits.pp Free Pascal Compiler version 3.1.1 [2015/01/26] for x86_64 Copyright (c) 1993-2015 by Florian Klaempfl and others Target OS: Linux for x86-64 Compiling alllclunits.pp Compiling checklst.pas Compiling controls.pp Compiling imglist.pp Compiling controls.pp Compiling menus.pp Compiling controls.pp wincontrol.inc(2623,5) Error: Asm: Duplicate label CONTROLS/usr/bin/ma keTWINCONTROL_$_ALIGNCONTROLS$TCONTROL$TRECT_DOPOSITION$TCONTROL$TALIG N$LONGINT_$$_CONSTRAINTHEIGHT$crc42AA5AF5 wincontrol.inc(2602,5) Error: Asm: Duplicate label CONTROLS/usr/bin/ma keTWINCONTROL_$_ALIGNCONTROLS$TCONTROL$TRECT_DOPOSITION$TCONTROL$TALIG N$LONGINT_$$_CONSTRAINTWIDTH$crc42AA5AF5 controls.pp(4175) Fatal: There were 2 errors compiling module, stopping Fatal: Compilation aborted Makefile:3491: recipe for target 'alllclunits.ppu' failed make[1]: *** [alllclunits.ppu] Error 1 make[1]: Leaving directory '/mnt/build/lazarus/lcl' Makefile:3080: recipe for target 'lazbuild' failed make: *** [lazbuild] Error 2 Is there something I`m doing wrong here? V. ---------------------------------------------------------------------- rasberryrabbit · 2015-01-26 16:36 http://bugs.freepascal.org/view.php?id=27348 This bug report can help you. ---------------------------------------------------------------------- vincococka · 2015-01-26 17:09 Thanks for link, I didn`t knew there is already a ticket opened for it... I thought that I`ve made some mistake or what..