View Issue Details

IDProjectCategoryView StatusLast Update
0000710Double CommanderDefaultpublic2017-09-04 08:24
ReporterSash0k Assigned ToAlexx2000  
PrioritynormalSeverityfeatureReproducibilityalways
Status closedResolutionfixed 
ProjectionnoneETAnone 
PlatformarmOSlinuxOS VersionUbuntu 13.10
Product Version0.6.0 (trunk) 
Fixed in Version0.5.7 
Summary0000710: arm-linux build patch
DescriptionНебольшие доработки для сборки на arm (собирал на toshiba ac100).

1) В пакете ./components/doublecmd/doublecmd_common.lpk убран флаг -fPIC (пока не поддерживается fpc, http://mantis.freepascal.org/view.php?id=19729)

2) Доработан Makefile для библиотеки libmime для сборки под arm-linux.
TagsNo tags attached.
Attached Files
Makefile (800 bytes)   
# Needs to be linked with GLib2.

CPPFLAGS = -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include `getconf LFS_CFLAGS` # -g3

OS_TARGET = linux

ifndef CPU_TARGET
CPU_TARGET = $(shell uname -i)
endif

ifeq ($(CPU_TARGET),x86_64)
CPPFLAGS += -m64
else
ifeq ($(CPU_TARGET),i386)
CPPFLAGS += -m32
else
ifeq ($(CPU_TARGET),armv7l)
CPU_TARGET = arm
CPPFLAGS += -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include
else
$(error Invalid target CPU)
endif
endif
endif

all: clean libmime

clean:
	rm -f *.o *.a *.so.*

libmime: mime-action.o mime-cache.o mime-type.o mime-util.o
	$(AR) rc libmime.a *.o
	mkdir -p ../../$(CPU_TARGET)-$(OS_TARGET)
	cp libmime.a ../../$(CPU_TARGET)-$(OS_TARGET)
# shared library:
#	$(CC) -shared -Wl,-soname,libmime.so.1 -o libmime.so.1.0.1 libmime.a
#	ln -s libmime.so.1 libmime.so
Makefile (800 bytes)   
doublecmd_common.lpk (2,585 bytes)
Makefile.alt (791 bytes)
plugins.log (30,119 bytes)   
primary config path: /home/sash0k/.lazarus
TLazPackageGraph.CheckIfCurPkgOutDirNeedsCompile Last= -Fu.  -MObjFPC -Scghi -O1 -g -gl -vewnhi -l fcllaz.pas
TLazPackageGraph.CheckIfCurPkgOutDirNeedsCompile Last= -Fu../../packager/units/arm-linux;.  -MObjFPC -Scghi -O1 -g -gl -vewnhi -l lazutils.pas
TProjectResources.Regenerate Save failed
TLazBuildApplication.BuildProject Project1.Resources.Regenerate failed
TBuildManager.CheckIfProjectNeedsCompilation  Compile was incomplete for Project
TCompiler.Compile WorkingDir="/home/sash0k/Sources/doublecmd-trunk/plugins/wcx/cpio/src/" CompilerFilename="/usr/bin/fpc-2.6.2" CompilerParams=" -MDelphi -Scgi -O1 -g -gl -XX -vewnhi -Fi/home/sash0k/Sources/doublecmd-trunk/plugins/wcx/cpio/lib -Fi/home/sash0k/Sources/doublecmd-trunk/sdk -Fu/home/sash0k/Sources/doublecmd-trunk/sdk -Fu/home/sash0k/Sources/doublecmd-trunk/components/doublecmd/lib/arm-linux -Fu/home/sash0k/Sources/lazarus/components/lazutils/lib/arm-linux -Fu/home/sash0k/Sources/lazarus/packager/units/arm-linux -Fu/home/sash0k/Sources/doublecmd-trunk/plugins/wcx/cpio/src/ -FU/home/sash0k/Sources/doublecmd-trunk/plugins/wcx/cpio/lib/ -l -FE/home/sash0k/Sources/doublecmd-trunk/plugins/wcx/cpio/lib/ -ocpio.wcx -fPIC cpio.dpr"
[TCompiler.Compile] CmdLine="/usr/bin/fpc-2.6.2  -MDelphi -Scgi -O1 -g -gl -XX -vewnhi -Fi/home/sash0k/Sources/doublecmd-trunk/plugins/wcx/cpio/lib -Fi/home/sash0k/Sources/doublecmd-trunk/sdk -Fu/home/sash0k/Sources/doublecmd-trunk/sdk -Fu/home/sash0k/Sources/doublecmd-trunk/components/doublecmd/lib/arm-linux -Fu/home/sash0k/Sources/lazarus/components/lazutils/lib/arm-linux -Fu/home/sash0k/Sources/lazarus/packager/units/arm-linux -Fu/home/sash0k/Sources/doublecmd-trunk/plugins/wcx/cpio/src/ -FU/home/sash0k/Sources/doublecmd-trunk/plugins/wcx/cpio/lib/ -l -FE/home/sash0k/Sources/doublecmd-trunk/plugins/wcx/cpio/lib/ -ocpio.wcx -fPIC cpio.dpr"
Hint: Start of reading config file /etc/fpc.cfg
Hint: End of reading config file /etc/fpc.cfg
Free Pascal Compiler version 2.6.2-5 [2013/07/25] for arm
Copyright (c) 1993-2012 by Florian Klaempfl and others
Target OS: Linux for ARMHF
Compiling cpio.dpr
Compiling cpio_io.pas
cpio_io.pas(67,10) Fatal: Internal error 200502052
ERROR: failed compiling of project /home/sash0k/Sources/doublecmd-trunk/plugins/wcx/cpio/src/cpio.lpi
primary config path: /home/sash0k/.lazarus
TLazPackageGraph.CheckIfCurPkgOutDirNeedsCompile Last= -Fu.  -MObjFPC -Scghi -O1 -g -gl -vewnhi -l fcllaz.pas
TLazPackageGraph.CheckIfCurPkgOutDirNeedsCompile Last= -Fu../../packager/units/arm-linux;.  -MObjFPC -Scghi -O1 -g -gl -vewnhi -l lazutils.pas
TProjectResources.Regenerate Save failed
TLazBuildApplication.BuildProject Project1.Resources.Regenerate failed
TBuildManager.CheckIfProjectNeedsCompilation  Compile was incomplete for Project
TCompiler.Compile WorkingDir="/home/sash0k/Sources/doublecmd-trunk/plugins/wcx/deb/src/" CompilerFilename="/usr/bin/fpc-2.6.2" CompilerParams=" -MDelphi -Scgi -Ci -O1 -g -gl -XX -vewnhi -Fi/home/sash0k/Sources/doublecmd-trunk/plugins/wcx/deb/lib -Fi/home/sash0k/Sources/doublecmd-trunk/sdk -Fu/home/sash0k/Sources/doublecmd-trunk/sdk -Fu/home/sash0k/Sources/doublecmd-trunk/components/doublecmd/lib/arm-linux -Fu/home/sash0k/Sources/lazarus/components/lazutils/lib/arm-linux -Fu/home/sash0k/Sources/lazarus/packager/units/arm-linux -Fu/home/sash0k/Sources/doublecmd-trunk/plugins/wcx/deb/src/ -FU/home/sash0k/Sources/doublecmd-trunk/plugins/wcx/deb/lib/ -l -FE/home/sash0k/Sources/doublecmd-trunk/plugins/wcx/deb/lib/ -odeb.wcx -fPIC deb.dpr"
[TCompiler.Compile] CmdLine="/usr/bin/fpc-2.6.2  -MDelphi -Scgi -Ci -O1 -g -gl -XX -vewnhi -Fi/home/sash0k/Sources/doublecmd-trunk/plugins/wcx/deb/lib -Fi/home/sash0k/Sources/doublecmd-trunk/sdk -Fu/home/sash0k/Sources/doublecmd-trunk/sdk -Fu/home/sash0k/Sources/doublecmd-trunk/components/doublecmd/lib/arm-linux -Fu/home/sash0k/Sources/lazarus/components/lazutils/lib/arm-linux -Fu/home/sash0k/Sources/lazarus/packager/units/arm-linux -Fu/home/sash0k/Sources/doublecmd-trunk/plugins/wcx/deb/src/ -FU/home/sash0k/Sources/doublecmd-trunk/plugins/wcx/deb/lib/ -l -FE/home/sash0k/Sources/doublecmd-trunk/plugins/wcx/deb/lib/ -odeb.wcx -fPIC deb.dpr"
Hint: Start of reading config file /etc/fpc.cfg
Hint: End of reading config file /etc/fpc.cfg
Free Pascal Compiler version 2.6.2-5 [2013/07/25] for arm
Copyright (c) 1993-2012 by Florian Klaempfl and others
Target OS: Linux for ARMHF
Compiling deb.dpr
Compiling deb_archive.pas
deb_archive.pas(51,11) Fatal: Internal error 200502052
ERROR: failed compiling of project /home/sash0k/Sources/doublecmd-trunk/plugins/wcx/deb/src/deb.lpi
primary config path: /home/sash0k/.lazarus
TProjectResources.Regenerate Save failed
TLazBuildApplication.BuildProject Project1.Resources.Regenerate failed
TBuildManager.CheckIfProjectNeedsCompilation  Compile was incomplete for Project
TCompiler.Compile WorkingDir="/home/sash0k/Sources/doublecmd-trunk/plugins/wcx/lzma/src/" CompilerFilename="/usr/bin/fpc-2.6.2" CompilerParams=" -MObjFPC -Scgi -O1 -g -gl -XX -vewnhi -Fi/home/sash0k/Sources/doublecmd-trunk/plugins/wcx/lzma/lib -Fi/home/sash0k/Sources/doublecmd-trunk/sdk -Fu/home/sash0k/Sources/doublecmd-trunk/sdk -Fu/home/sash0k/Sources/doublecmd-trunk/plugins/wcx/lzma/LZMA -Fu/home/sash0k/Sources/doublecmd-trunk/plugins/wcx/lzma/LZMA/compression/LZ -Fu/home/sash0k/Sources/doublecmd-trunk/plugins/wcx/lzma/LZMA/compression/LZMA -Fu/home/sash0k/Sources/doublecmd-trunk/plugins/wcx/lzma/LZMA/compression/RangeCoder -Fu/home/sash0k/Sources/doublecmd-trunk/plugins/wcx/lzma/src/ -FU/home/sash0k/Sources/doublecmd-trunk/plugins/wcx/lzma/lib/ -l -FE/home/sash0k/Sources/doublecmd-trunk/plugins/wcx/lzma/lib/ -olzma.wcx -fPIC lzma.lpr"
[TCompiler.Compile] CmdLine="/usr/bin/fpc-2.6.2  -MObjFPC -Scgi -O1 -g -gl -XX -vewnhi -Fi/home/sash0k/Sources/doublecmd-trunk/plugins/wcx/lzma/lib -Fi/home/sash0k/Sources/doublecmd-trunk/sdk -Fu/home/sash0k/Sources/doublecmd-trunk/sdk -Fu/home/sash0k/Sources/doublecmd-trunk/plugins/wcx/lzma/LZMA -Fu/home/sash0k/Sources/doublecmd-trunk/plugins/wcx/lzma/LZMA/compression/LZ -Fu/home/sash0k/Sources/doublecmd-trunk/plugins/wcx/lzma/LZMA/compression/LZMA -Fu/home/sash0k/Sources/doublecmd-trunk/plugins/wcx/lzma/LZMA/compression/RangeCoder -Fu/home/sash0k/Sources/doublecmd-trunk/plugins/wcx/lzma/src/ -FU/home/sash0k/Sources/doublecmd-trunk/plugins/wcx/lzma/lib/ -l -FE/home/sash0k/Sources/doublecmd-trunk/plugins/wcx/lzma/lib/ -olzma.wcx -fPIC lzma.lpr"
Hint: Start of reading config file /etc/fpc.cfg
Hint: End of reading config file /etc/fpc.cfg
Free Pascal Compiler version 2.6.2-5 [2013/07/25] for arm
Copyright (c) 1993-2012 by Florian Klaempfl and others
Target OS: Linux for ARMHF
Compiling lzma.lpr
Compiling lzmafunc.pas
Compiling /home/sash0k/Sources/doublecmd-trunk/plugins/wcx/lzma/LZMA/compression/LZMA/ULZMADecoder.pas
Compiling /home/sash0k/Sources/doublecmd-trunk/plugins/wcx/lzma/LZMA/compression/RangeCoder/UBitTreeDecoder.pas
UBitTreeDecoder.pas(28,37) Fatal: Internal error 200502052
ERROR: failed compiling of project /home/sash0k/Sources/doublecmd-trunk/plugins/wcx/lzma/src/lzma.lpi
primary config path: /home/sash0k/.lazarus
TLazPackageGraph.CheckIfCurPkgOutDirNeedsCompile Last= -Fu.  -MObjFPC -Scghi -O1 -g -gl -vewnhi -l fcllaz.pas
TLazPackageGraph.CheckIfCurPkgOutDirNeedsCompile Last= -Fu../../packager/units/arm-linux;.  -MObjFPC -Scghi -O1 -g -gl -vewnhi -l lazutils.pas
TProjectResources.Regenerate Save failed
TLazBuildApplication.BuildProject Project1.Resources.Regenerate failed
TBuildManager.CheckIfProjectNeedsCompilation  Compile was incomplete for Project
TCompiler.Compile WorkingDir="/home/sash0k/Sources/doublecmd-trunk/plugins/wcx/rpm/src/" CompilerFilename="/usr/bin/fpc-2.6.2" CompilerParams=" -MDelphi -Scgi -O1 -g -gl -XX -vewnhi @fpc-extra.cfg -Fi/home/sash0k/Sources/doublecmd-trunk/sdk -Fu/home/sash0k/Sources/doublecmd-trunk/sdk -Fu/home/sash0k/Sources/doublecmd-trunk/components/doublecmd/lib/arm-linux -Fu/home/sash0k/Sources/lazarus/components/lazutils/lib/arm-linux -Fu/home/sash0k/Sources/lazarus/packager/units/arm-linux -Fu/home/sash0k/Sources/doublecmd-trunk/plugins/wcx/rpm/src/ -FU/home/sash0k/Sources/doublecmd-trunk/plugins/wcx/rpm/lib/ -l -FE/home/sash0k/Sources/doublecmd-trunk/plugins/wcx/rpm/lib/ -orpm.wcx -fPIC rpm.dpr"
[TCompiler.Compile] CmdLine="/usr/bin/fpc-2.6.2  -MDelphi -Scgi -O1 -g -gl -XX -vewnhi @fpc-extra.cfg -Fi/home/sash0k/Sources/doublecmd-trunk/sdk -Fu/home/sash0k/Sources/doublecmd-trunk/sdk -Fu/home/sash0k/Sources/doublecmd-trunk/components/doublecmd/lib/arm-linux -Fu/home/sash0k/Sources/lazarus/components/lazutils/lib/arm-linux -Fu/home/sash0k/Sources/lazarus/packager/units/arm-linux -Fu/home/sash0k/Sources/doublecmd-trunk/plugins/wcx/rpm/src/ -FU/home/sash0k/Sources/doublecmd-trunk/plugins/wcx/rpm/lib/ -l -FE/home/sash0k/Sources/doublecmd-trunk/plugins/wcx/rpm/lib/ -orpm.wcx -fPIC rpm.dpr"
Hint: Start of reading config file /etc/fpc.cfg
Hint: End of reading config file /etc/fpc.cfg
Hint: Start of reading config file fpc-extra.cfg
Hint: End of reading config file fpc-extra.cfg
Free Pascal Compiler version 2.6.2-5 [2013/07/25] for arm
Copyright (c) 1993-2012 by Florian Klaempfl and others
Target OS: Linux for ARMHF
Compiling rpm.dpr
Compiling rpm_io.pas
rpm_io.pas(67,10) Fatal: Internal error 200502052
ERROR: failed compiling of project /home/sash0k/Sources/doublecmd-trunk/plugins/wcx/rpm/src/rpm.lpi
primary config path: /home/sash0k/.lazarus
TLazPackageGraph.CheckIfCurPkgOutDirNeedsCompile Last= -Fu.  -MObjFPC -Scghi -O1 -g -gl -vewnhi -l fcllaz.pas
TLazPackageGraph.CheckIfCurPkgOutDirNeedsCompile Last= -Fu../../packager/units/arm-linux;.  -MObjFPC -Scghi -O1 -g -gl -vewnhi -l lazutils.pas
TProjectResources.Regenerate Save failed
TLazBuildApplication.BuildProject Project1.Resources.Regenerate failed
TBuildManager.CheckIfProjectNeedsCompilation  Compile was incomplete for Project
TCompiler.Compile WorkingDir="/home/sash0k/Sources/doublecmd-trunk/plugins/wcx/unrar/src/" CompilerFilename="/usr/bin/fpc-2.6.2" CompilerParams=" -MObjFPC -Scghi -O2 -g -gl -XX -vewnhi @fpc-extra.cfg -Fi/home/sash0k/Sources/doublecmd-trunk/plugins/wcx/unrar/lib -Fi/home/sash0k/Sources/doublecmd-trunk/sdk -Fu/home/sash0k/Sources/doublecmd-trunk/sdk -Fu/home/sash0k/Sources/doublecmd-trunk/components/doublecmd/lib/arm-linux -Fu/home/sash0k/Sources/lazarus/components/lazutils/lib/arm-linux -Fu/home/sash0k/Sources/lazarus/packager/units/arm-linux -Fu/home/sash0k/Sources/doublecmd-trunk/plugins/wcx/unrar/src/ -FU/home/sash0k/Sources/doublecmd-trunk/plugins/wcx/unrar/lib/ -l -FE/home/sash0k/Sources/doublecmd-trunk/plugins/wcx/unrar/lib/ -ounrar.wcx -fPIC unrar.dpr"
[TCompiler.Compile] CmdLine="/usr/bin/fpc-2.6.2  -MObjFPC -Scghi -O2 -g -gl -XX -vewnhi @fpc-extra.cfg -Fi/home/sash0k/Sources/doublecmd-trunk/plugins/wcx/unrar/lib -Fi/home/sash0k/Sources/doublecmd-trunk/sdk -Fu/home/sash0k/Sources/doublecmd-trunk/sdk -Fu/home/sash0k/Sources/doublecmd-trunk/components/doublecmd/lib/arm-linux -Fu/home/sash0k/Sources/lazarus/components/lazutils/lib/arm-linux -Fu/home/sash0k/Sources/lazarus/packager/units/arm-linux -Fu/home/sash0k/Sources/doublecmd-trunk/plugins/wcx/unrar/src/ -FU/home/sash0k/Sources/doublecmd-trunk/plugins/wcx/unrar/lib/ -l -FE/home/sash0k/Sources/doublecmd-trunk/plugins/wcx/unrar/lib/ -ounrar.wcx -fPIC unrar.dpr"
Hint: Start of reading config file /etc/fpc.cfg
Hint: End of reading config file /etc/fpc.cfg
Hint: Start of reading config file fpc-extra.cfg
Hint: End of reading config file fpc-extra.cfg
Free Pascal Compiler version 2.6.2-5 [2013/07/25] for arm
Copyright (c) 1993-2012 by Florian Klaempfl and others
Target OS: Linux for ARMHF
Compiling unrar.dpr
Compiling unrarfunc.pas
unrarfunc.pas(270,1) Fatal: Internal error 200502052
ERROR: failed compiling of project /home/sash0k/Sources/doublecmd-trunk/plugins/wcx/unrar/src/unrar.lpi
primary config path: /home/sash0k/.lazarus
TLazPackageGraph.CheckIfCurPkgOutDirNeedsCompile Last= -Fu.  -MObjFPC -Scghi -O1 -g -gl -vewnhi -l fcllaz.pas
TLazPackageGraph.CheckIfCurPkgOutDirNeedsCompile Last= -Fu../../packager/units/arm-linux;.  -MObjFPC -Scghi -O1 -g -gl -vewnhi -l lazutils.pas
TProjectResources.Regenerate Save failed
TLazBuildApplication.BuildProject Project1.Resources.Regenerate failed
TBuildManager.CheckIfProjectNeedsCompilation  Compile was incomplete for Project
TCompiler.Compile WorkingDir="/home/sash0k/Sources/doublecmd-trunk/plugins/wcx/zip/src/" CompilerFilename="/usr/bin/fpc-2.6.2" CompilerParams=" -MObjFPC -Scghi -O1 -gs -gl -XX -vewnhi @fpc-extra.cfg -Fi/home/sash0k/Sources/doublecmd-trunk/plugins/wcx/zip/lib -Fi/home/sash0k/Sources/doublecmd-trunk/sdk -Fu/home/sash0k/Sources/doublecmd-trunk/plugins/wcx/zip/fparchive -Fu/home/sash0k/Sources/doublecmd-trunk/sdk -Fu/home/sash0k/Sources/doublecmd-trunk/components/doublecmd/lib/arm-linux -Fu/home/sash0k/Sources/lazarus/components/lazutils/lib/arm-linux -Fu/home/sash0k/Sources/lazarus/packager/units/arm-linux -Fu/home/sash0k/Sources/doublecmd-trunk/plugins/wcx/zip/src/ -FU/home/sash0k/Sources/doublecmd-trunk/plugins/wcx/zip/lib/ -l -FE/home/sash0k/Sources/doublecmd-trunk/plugins/wcx/zip/lib/ -ozip.wcx -fPIC Zip.dpr"
[TCompiler.Compile] CmdLine="/usr/bin/fpc-2.6.2  -MObjFPC -Scghi -O1 -gs -gl -XX -vewnhi @fpc-extra.cfg -Fi/home/sash0k/Sources/doublecmd-trunk/plugins/wcx/zip/lib -Fi/home/sash0k/Sources/doublecmd-trunk/sdk -Fu/home/sash0k/Sources/doublecmd-trunk/plugins/wcx/zip/fparchive -Fu/home/sash0k/Sources/doublecmd-trunk/sdk -Fu/home/sash0k/Sources/doublecmd-trunk/components/doublecmd/lib/arm-linux -Fu/home/sash0k/Sources/lazarus/components/lazutils/lib/arm-linux -Fu/home/sash0k/Sources/lazarus/packager/units/arm-linux -Fu/home/sash0k/Sources/doublecmd-trunk/plugins/wcx/zip/src/ -FU/home/sash0k/Sources/doublecmd-trunk/plugins/wcx/zip/lib/ -l -FE/home/sash0k/Sources/doublecmd-trunk/plugins/wcx/zip/lib/ -ozip.wcx -fPIC Zip.dpr"
Hint: Start of reading config file /etc/fpc.cfg
Hint: End of reading config file /etc/fpc.cfg
Hint: Start of reading config file fpc-extra.cfg
Hint: End of reading config file fpc-extra.cfg
Free Pascal Compiler version 2.6.2-5 [2013/07/25] for arm
Copyright (c) 1993-2012 by Florian Klaempfl and others
Target OS: Linux for ARMHF
Compiling Zip.dpr
Compiling ZipFunc.pas
Compiling /home/sash0k/Sources/doublecmd-trunk/plugins/wcx/zip/fparchive/abarctyp.pas
Compiling /home/sash0k/Sources/doublecmd-trunk/plugins/wcx/zip/fparchive/abutils.pas
Compiling /home/sash0k/Sources/doublecmd-trunk/plugins/wcx/zip/fparchive/abconst.pas
abconst.pas(216,25) Fatal: Internal error 200502052
ERROR: failed compiling of project /home/sash0k/Sources/doublecmd-trunk/plugins/wcx/zip/src/Zip.lpi
primary config path: /home/sash0k/.lazarus
TLazPackageGraph.CheckIfCurPkgOutDirNeedsCompile Last= -Fu.  -MObjFPC -Scghi -O1 -g -gl -vewnhi -l fcllaz.pas
TLazPackageGraph.CheckIfCurPkgOutDirNeedsCompile Last= -Fu../../packager/units/arm-linux;.  -MObjFPC -Scghi -O1 -g -gl -vewnhi -l lazutils.pas
TProjectResources.Regenerate Save failed
TLazBuildApplication.BuildProject Project1.Resources.Regenerate failed
TBuildManager.CheckIfProjectNeedsCompilation  Compile was incomplete for Project
TCompiler.Compile WorkingDir="/home/sash0k/Sources/doublecmd-trunk/plugins/wdx/rpm_wdx/src/" CompilerFilename="/usr/bin/fpc-2.6.2" CompilerParams=" -MDelphi -Scgi -O1 -g -gl -XX -vewnhi @fpc-extra.cfg -Fi/home/sash0k/Sources/doublecmd-trunk/plugins/wdx/rpm_wdx/lib -Fi/home/sash0k/Sources/doublecmd-trunk/sdk -Fl/opt/gnome/lib -Fu/home/sash0k/Sources/doublecmd-trunk/sdk -Fu/home/sash0k/Sources/lazarus/lcl/units/arm-linux/gtk2 -Fu/home/sash0k/Sources/lazarus/lcl/units/arm-linux -Fu/home/sash0k/Sources/lazarus/components/lazutils/lib/arm-linux -Fu/home/sash0k/Sources/lazarus/packager/units/arm-linux -Fu/home/sash0k/Sources/doublecmd-trunk/plugins/wdx/rpm_wdx/src/ -FU/home/sash0k/Sources/doublecmd-trunk/plugins/wdx/rpm_wdx/lib/ -l -FE/home/sash0k/Sources/doublecmd-trunk/plugins/wdx/rpm_wdx/lib/ -orpm_wdx.wdx -dLCL -dLCLgtk2 -fPIC rpm_wdx.dpr"
[TCompiler.Compile] CmdLine="/usr/bin/fpc-2.6.2  -MDelphi -Scgi -O1 -g -gl -XX -vewnhi @fpc-extra.cfg -Fi/home/sash0k/Sources/doublecmd-trunk/plugins/wdx/rpm_wdx/lib -Fi/home/sash0k/Sources/doublecmd-trunk/sdk -Fl/opt/gnome/lib -Fu/home/sash0k/Sources/doublecmd-trunk/sdk -Fu/home/sash0k/Sources/lazarus/lcl/units/arm-linux/gtk2 -Fu/home/sash0k/Sources/lazarus/lcl/units/arm-linux -Fu/home/sash0k/Sources/lazarus/components/lazutils/lib/arm-linux -Fu/home/sash0k/Sources/lazarus/packager/units/arm-linux -Fu/home/sash0k/Sources/doublecmd-trunk/plugins/wdx/rpm_wdx/src/ -FU/home/sash0k/Sources/doublecmd-trunk/plugins/wdx/rpm_wdx/lib/ -l -FE/home/sash0k/Sources/doublecmd-trunk/plugins/wdx/rpm_wdx/lib/ -orpm_wdx.wdx -dLCL -dLCLgtk2 -fPIC rpm_wdx.dpr"
Hint: Start of reading config file /etc/fpc.cfg
Hint: End of reading config file /etc/fpc.cfg
Hint: Start of reading config file fpc-extra.cfg
Hint: End of reading config file fpc-extra.cfg
Free Pascal Compiler version 2.6.2-5 [2013/07/25] for arm
Copyright (c) 1993-2012 by Florian Klaempfl and others
Target OS: Linux for ARMHF
Compiling rpm_wdx.dpr
Compiling rpm_io.pas
rpm_io.pas(69,10) Fatal: Internal error 200502052
ERROR: failed compiling of project /home/sash0k/Sources/doublecmd-trunk/plugins/wdx/rpm_wdx/src/rpm_wdx.lpi
primary config path: /home/sash0k/.lazarus
TProjectResources.Regenerate Save failed
TLazBuildApplication.BuildProject Project1.Resources.Regenerate failed
TBuildManager.CheckIfProjectNeedsCompilation  Compile was incomplete for Project
TCompiler.Compile WorkingDir="/home/sash0k/Sources/doublecmd-trunk/plugins/wdx/deb_wdx/src/" CompilerFilename="/usr/bin/fpc-2.6.2" CompilerParams=" -MDelphi -Sghi -O1 -g -gl -XX -vewnhi @fpc-extra.cfg -Fi/home/sash0k/Sources/doublecmd-trunk/plugins/wdx/deb_wdx/lib -Fi/home/sash0k/Sources/doublecmd-trunk/sdk -Fu/home/sash0k/Sources/doublecmd-trunk/sdk -Fu/home/sash0k/Sources/doublecmd-trunk/plugins/wdx/deb_wdx/src/ -FU/home/sash0k/Sources/doublecmd-trunk/plugins/wdx/deb_wdx/lib/ -l -FE/home/sash0k/Sources/doublecmd-trunk/plugins/wdx/deb_wdx/lib/ -odeb_wdx.wdx -fPIC deb_wdx.dpr"
[TCompiler.Compile] CmdLine="/usr/bin/fpc-2.6.2  -MDelphi -Sghi -O1 -g -gl -XX -vewnhi @fpc-extra.cfg -Fi/home/sash0k/Sources/doublecmd-trunk/plugins/wdx/deb_wdx/lib -Fi/home/sash0k/Sources/doublecmd-trunk/sdk -Fu/home/sash0k/Sources/doublecmd-trunk/sdk -Fu/home/sash0k/Sources/doublecmd-trunk/plugins/wdx/deb_wdx/src/ -FU/home/sash0k/Sources/doublecmd-trunk/plugins/wdx/deb_wdx/lib/ -l -FE/home/sash0k/Sources/doublecmd-trunk/plugins/wdx/deb_wdx/lib/ -odeb_wdx.wdx -fPIC deb_wdx.dpr"
Hint: Start of reading config file /etc/fpc.cfg
Hint: End of reading config file /etc/fpc.cfg
Hint: Start of reading config file fpc-extra.cfg
Hint: End of reading config file fpc-extra.cfg
Free Pascal Compiler version 2.6.2-5 [2013/07/25] for arm
Copyright (c) 1993-2012 by Florian Klaempfl and others
Target OS: Linux for ARMHF
Compiling deb_wdx.dpr
Compiling deb_wdx_intf.pas
Compiling debunpak.pas
Compiling dpkg_deb.pas
dpkg_deb.pas(113,32) Hint: Local variable "MagicHeaderBuf" does not seem to be initialized
dpkg_deb.pas(118,34) Hint: Local variable "arh" does not seem to be initialized
dpkg_deb.pas(140,47) Hint: Local variable "verinfobuf" does not seem to be initialized
dpkg_deb.pas(100,30) Fatal: Internal error 200502052
ERROR: failed compiling of project /home/sash0k/Sources/doublecmd-trunk/plugins/wdx/deb_wdx/src/deb_wdx.lpi
primary config path: /home/sash0k/.lazarus
TProjectResources.Regenerate Save failed
TLazBuildApplication.BuildProject Project1.Resources.Regenerate failed
TBuildManager.CheckIfProjectNeedsCompilation  Compile was incomplete for Project
TCompiler.Compile WorkingDir="/home/sash0k/Sources/doublecmd-trunk/plugins/wdx/svn_wdx/src/" CompilerFilename="/usr/bin/fpc-2.6.2" CompilerParams=" -MObjFPC -Scghi -O1 -g -gl -vewnhi -Fi/home/sash0k/Sources/doublecmd-trunk/plugins/wdx/svn_wdx/lib -Fi/home/sash0k/Sources/doublecmd-trunk/sdk -Fu/home/sash0k/Sources/doublecmd-trunk/sdk -Fu/home/sash0k/Sources/doublecmd-trunk/plugins/wdx/svn_wdx/src/ -FU/home/sash0k/Sources/doublecmd-trunk/plugins/wdx/svn_wdx/lib/ -l -FE/home/sash0k/Sources/doublecmd-trunk/plugins/wdx/svn_wdx/lib/ -osvn_wdx.wdx -fPIC svn_wdx.lpr"
[TCompiler.Compile] CmdLine="/usr/bin/fpc-2.6.2  -MObjFPC -Scghi -O1 -g -gl -vewnhi -Fi/home/sash0k/Sources/doublecmd-trunk/plugins/wdx/svn_wdx/lib -Fi/home/sash0k/Sources/doublecmd-trunk/sdk -Fu/home/sash0k/Sources/doublecmd-trunk/sdk -Fu/home/sash0k/Sources/doublecmd-trunk/plugins/wdx/svn_wdx/src/ -FU/home/sash0k/Sources/doublecmd-trunk/plugins/wdx/svn_wdx/lib/ -l -FE/home/sash0k/Sources/doublecmd-trunk/plugins/wdx/svn_wdx/lib/ -osvn_wdx.wdx -fPIC svn_wdx.lpr"
Hint: Start of reading config file /etc/fpc.cfg
Hint: End of reading config file /etc/fpc.cfg
Free Pascal Compiler version 2.6.2-5 [2013/07/25] for arm
Copyright (c) 1993-2012 by Florian Klaempfl and others
Target OS: Linux for ARMHF
Compiling svn_wdx.lpr
Compiling svn_wdx_intf.pas
Compiling svn_io.pas
svn_io.pas(43,1) Fatal: Internal error 200502052
ERROR: failed compiling of project /home/sash0k/Sources/doublecmd-trunk/plugins/wdx/svn_wdx/src/svn_wdx.lpi
primary config path: /home/sash0k/.lazarus
TProjectResources.Regenerate Save failed
TLazBuildApplication.BuildProject Project1.Resources.Regenerate failed
TBuildManager.CheckIfProjectNeedsCompilation  Compile was incomplete for Project
TCompiler.Compile WorkingDir="/home/sash0k/Sources/doublecmd-trunk/plugins/wdx/xpi_wdx/src/" CompilerFilename="/usr/bin/fpc-2.6.2" CompilerParams=" -MObjFPC -Scghi -O1 -g -gl -vewnhi -Fi/home/sash0k/Sources/doublecmd-trunk/plugins/wdx/xpi_wdx/lib -Fi/home/sash0k/Sources/doublecmd-trunk/sdk -Fu/home/sash0k/Sources/doublecmd-trunk/sdk -Fu/home/sash0k/Sources/doublecmd-trunk/plugins/wdx/xpi_wdx/src/ -FU/home/sash0k/Sources/doublecmd-trunk/plugins/wdx/xpi_wdx/lib/ -l -FE/home/sash0k/Sources/doublecmd-trunk/plugins/wdx/xpi_wdx/lib/ -oxpi_wdx.wdx -fPIC xpi_wdx.lpr"
[TCompiler.Compile] CmdLine="/usr/bin/fpc-2.6.2  -MObjFPC -Scghi -O1 -g -gl -vewnhi -Fi/home/sash0k/Sources/doublecmd-trunk/plugins/wdx/xpi_wdx/lib -Fi/home/sash0k/Sources/doublecmd-trunk/sdk -Fu/home/sash0k/Sources/doublecmd-trunk/sdk -Fu/home/sash0k/Sources/doublecmd-trunk/plugins/wdx/xpi_wdx/src/ -FU/home/sash0k/Sources/doublecmd-trunk/plugins/wdx/xpi_wdx/lib/ -l -FE/home/sash0k/Sources/doublecmd-trunk/plugins/wdx/xpi_wdx/lib/ -oxpi_wdx.wdx -fPIC xpi_wdx.lpr"
Hint: Start of reading config file /etc/fpc.cfg
Hint: End of reading config file /etc/fpc.cfg
Free Pascal Compiler version 2.6.2-5 [2013/07/25] for arm
Copyright (c) 1993-2012 by Florian Klaempfl and others
Target OS: Linux for ARMHF
Compiling xpi_wdx.lpr
Compiling xpi_wdx_intf.pas
Compiling xpi_def.pas
xpi_def.pas(67,3) Fatal: Internal error 200502052
ERROR: failed compiling of project /home/sash0k/Sources/doublecmd-trunk/plugins/wdx/xpi_wdx/src/xpi_wdx.lpi
primary config path: /home/sash0k/.lazarus
TProjectResources.Regenerate Save failed
TLazBuildApplication.BuildProject Project1.Resources.Regenerate failed
TBuildManager.CheckIfProjectNeedsCompilation  Compile was incomplete for Project
TCompiler.Compile WorkingDir="/home/sash0k/Sources/doublecmd-trunk/plugins/wfx/ftp/src/" CompilerFilename="/usr/bin/fpc-2.6.2" CompilerParams=" -MDelphi -Scghi -O1 -g -gl -XX -vewnhi -Fi/home/sash0k/Sources/doublecmd-trunk/plugins/wfx/ftp/lib -Fi/home/sash0k/Sources/doublecmd-trunk/sdk -Fu/home/sash0k/Sources/doublecmd-trunk/plugins/wfx/ftp/synapse -Fu/home/sash0k/Sources/doublecmd-trunk/sdk -Fu/home/sash0k/Sources/doublecmd-trunk/plugins/wfx/ftp/src/ -FU/home/sash0k/Sources/doublecmd-trunk/plugins/wfx/ftp/lib/ -l -FE/home/sash0k/Sources/doublecmd-trunk/plugins/wfx/ftp/lib/ -oftp.wfx -fPIC ftp.dpr"
[TCompiler.Compile] CmdLine="/usr/bin/fpc-2.6.2  -MDelphi -Scghi -O1 -g -gl -XX -vewnhi -Fi/home/sash0k/Sources/doublecmd-trunk/plugins/wfx/ftp/lib -Fi/home/sash0k/Sources/doublecmd-trunk/sdk -Fu/home/sash0k/Sources/doublecmd-trunk/plugins/wfx/ftp/synapse -Fu/home/sash0k/Sources/doublecmd-trunk/sdk -Fu/home/sash0k/Sources/doublecmd-trunk/plugins/wfx/ftp/src/ -FU/home/sash0k/Sources/doublecmd-trunk/plugins/wfx/ftp/lib/ -l -FE/home/sash0k/Sources/doublecmd-trunk/plugins/wfx/ftp/lib/ -oftp.wfx -fPIC ftp.dpr"
Hint: Start of reading config file /etc/fpc.cfg
Hint: End of reading config file /etc/fpc.cfg
Free Pascal Compiler version 2.6.2-5 [2013/07/25] for arm
Copyright (c) 1993-2012 by Florian Klaempfl and others
Target OS: Linux for ARMHF
Compiling ftp.dpr
Compiling ftpfunc.pas
Compiling /home/sash0k/Sources/doublecmd-trunk/plugins/wfx/ftp/synapse/ftpsend.pas
Compiling /home/sash0k/Sources/doublecmd-trunk/plugins/wfx/ftp/synapse/blcksock.pas
Compiling /home/sash0k/Sources/doublecmd-trunk/plugins/wfx/ftp/synapse/synsock.pas
ssfpc.inc(469,5) Fatal: Internal error 200502052
ERROR: failed compiling of project /home/sash0k/Sources/doublecmd-trunk/plugins/wfx/ftp/src/ftp.lpi
primary config path: /home/sash0k/.lazarus
TProjectResources.Regenerate Save failed
TLazBuildApplication.BuildProject Project1.Resources.Regenerate failed
TBuildManager.CheckIfProjectNeedsCompilation  Compile was incomplete for Project
TCompiler.Compile WorkingDir="/home/sash0k/Sources/doublecmd-trunk/plugins/wfx/samba/src/" CompilerFilename="/usr/bin/fpc-2.6.2" CompilerParams=" -MObjFPC -Scghi -O1 -g -gl -vewnhi -Fi/home/sash0k/Sources/doublecmd-trunk/plugins/wfx/samba/lib -Fu/home/sash0k/Sources/doublecmd-trunk/sdk -Fu/home/sash0k/Sources/doublecmd-trunk/plugins/wfx/samba/src/ -FU/home/sash0k/Sources/doublecmd-trunk/plugins/wfx/samba/lib/ -l -FE/home/sash0k/Sources/doublecmd-trunk/plugins/wfx/samba/lib/ -osamba.wfx -fPIC samba.lpr"
[TCompiler.Compile] CmdLine="/usr/bin/fpc-2.6.2  -MObjFPC -Scghi -O1 -g -gl -vewnhi -Fi/home/sash0k/Sources/doublecmd-trunk/plugins/wfx/samba/lib -Fu/home/sash0k/Sources/doublecmd-trunk/sdk -Fu/home/sash0k/Sources/doublecmd-trunk/plugins/wfx/samba/src/ -FU/home/sash0k/Sources/doublecmd-trunk/plugins/wfx/samba/lib/ -l -FE/home/sash0k/Sources/doublecmd-trunk/plugins/wfx/samba/lib/ -osamba.wfx -fPIC samba.lpr"
Hint: Start of reading config file /etc/fpc.cfg
Hint: End of reading config file /etc/fpc.cfg
Free Pascal Compiler version 2.6.2-5 [2013/07/25] for arm
Copyright (c) 1993-2012 by Florian Klaempfl and others
Target OS: Linux for ARMHF
Compiling samba.lpr
Compiling smbfunc.pas
Compiling smbauthdlg.pas
smbauthdlg.pas(29,18) Hint: Conversion between ordinals and pointers is not portable
smbauthdlg.pas(30,18) Hint: Conversion between ordinals and pointers is not portable
smbauthdlg.pas(32,18) Hint: Conversion between ordinals and pointers is not portable
smbauthdlg.pas(34,18) Hint: Conversion between ordinals and pointers is not portable
smbauthdlg.pas(36,18) Hint: Conversion between ordinals and pointers is not portable
smbauthdlg.pas(43,32) Hint: Conversion between ordinals and pointers is not portable
smbauthdlg.pas(45,33) Hint: Conversion between ordinals and pointers is not portable
smbauthdlg.pas(47,32) Hint: Conversion between ordinals and pointers is not portable
smbauthdlg.pas(19,10) Warning: Function result does not seem to be set
smbauthdlg.pas(19,63) Hint: Parameter "wParam" not used
smbauthdlg.pas(19,71) Hint: Parameter "lParam" not used
smbauthdlg.pas(29,57) Fatal: Internal error 200502052
ERROR: failed compiling of project /home/sash0k/Sources/doublecmd-trunk/plugins/wfx/samba/src/samba.lpi
primary config path: /home/sash0k/.lazarus
TLazPackageGraph.CheckIfCurPkgOutDirNeedsCompile Last= -Fu.  -MObjFPC -Scghi -O1 -g -gl -vewnhi -l fcllaz.pas
TLazPackageGraph.CheckIfCurPkgOutDirNeedsCompile Last= -Fu../../packager/units/arm-linux;.  -MObjFPC -Scghi -O1 -g -gl -vewnhi -l lazutils.pas
### TCodeToolManager.HandleException: "expected end., but dcpcall found" at Line=255 Col=88 in "/home/sash0k/Sources/doublecmd-trunk/plugins/wlx/WlxMplayer/src/wlxMplayer.lpr"
TProjectResources.Regenerate Save failed
TLazBuildApplication.BuildProject Project1.Resources.Regenerate failed
TLazBuildApplication.BuildProject MainBuildBoss.DoCheckIfProjectNeedsCompilation nothing to be done
primary config path: /home/sash0k/.lazarus
### TCodeToolManager.HandleException: "expected end., but dcpcall found" at Line=137 Col=36 in "/home/sash0k/Sources/doublecmd-trunk/plugins/dsx/DSXLocate/src/DSXLocate.lpr"
TProjectResources.Regenerate Save failed
TLazBuildApplication.BuildProject Project1.Resources.Regenerate failed
TBuildManager.CheckIfProjectNeedsCompilation  Compile was incomplete for Project
TCompiler.Compile WorkingDir="/home/sash0k/Sources/doublecmd-trunk/plugins/dsx/DSXLocate/src/" CompilerFilename="/usr/bin/fpc-2.6.2" CompilerParams=" -MObjFPC -Scgi -O1 -g -gl -XX -vewnhi -Fi/home/sash0k/Sources/doublecmd-trunk/plugins/dsx/DSXLocate/lib -Fi/home/sash0k/Sources/doublecmd-trunk/sdk -Fu/home/sash0k/Sources/doublecmd-trunk/sdk -Fu/home/sash0k/Sources/doublecmd-trunk/plugins/dsx/DSXLocate/src/ -FU/home/sash0k/Sources/doublecmd-trunk/plugins/dsx/DSXLocate/lib/ -l -FE/home/sash0k/Sources/doublecmd-trunk/plugins/dsx/DSXLocate/src/..\lib\ -odsxlocate.dsx -fPIC DSXLocate.lpr"
[TCompiler.Compile] CmdLine="/usr/bin/fpc-2.6.2  -MObjFPC -Scgi -O1 -g -gl -XX -vewnhi -Fi/home/sash0k/Sources/doublecmd-trunk/plugins/dsx/DSXLocate/lib -Fi/home/sash0k/Sources/doublecmd-trunk/sdk -Fu/home/sash0k/Sources/doublecmd-trunk/sdk -Fu/home/sash0k/Sources/doublecmd-trunk/plugins/dsx/DSXLocate/src/ -FU/home/sash0k/Sources/doublecmd-trunk/plugins/dsx/DSXLocate/lib/ -l -FE/home/sash0k/Sources/doublecmd-trunk/plugins/dsx/DSXLocate/src/..\lib\ -odsxlocate.dsx -fPIC DSXLocate.lpr"
Hint: Start of reading config file /etc/fpc.cfg
Hint: End of reading config file /etc/fpc.cfg
Free Pascal Compiler version 2.6.2-5 [2013/07/25] for arm
Copyright (c) 1993-2012 by Florian Klaempfl and others
Target OS: Linux for ARMHF
Compiling DSXLocate.lpr
Compiling un_process.pas
un_process.pas(51,5) Warning: Symbol "CommandLine" is deprecated
un_process.pas(50,8) Fatal: Internal error 200502052
ERROR: failed compiling of project /home/sash0k/Sources/doublecmd-trunk/plugins/dsx/DSXLocate/src/DSXLocate.lpi
plugins.log (30,119 bytes)   
Fixed in Revision5268-5272,5293
Operating systemLinux
WidgetsetGTK2
Architecture

Activities

Alexx2000

2013-08-08 23:28

administrator   ~0001098

Last edited: 2013-08-08 23:30

1) Совсем убирать нельзя, т.к. не будут собираться плагины под x86_64. Сделал через макросы условной сборки (ревизия 5268). Кстати говоря плагины собираются? Полагаю им надо сделать аналогичные изменения.

2) Вылезли некоторые проблемы с Makefile, я попробовал сделать более универсальную версию (см. вложение Makefile.alt). Попробуйте работает ли он под arm.

Sash0k

2013-08-09 19:11

reporter   ~0001099

Ок, вечером протестирую. По Makefile сразу могу сказать, что uname -m на 32-битном линуксе у меня (Ubuntu 12.04 LTS) возвращает i686. (В других дистрибутивах возможны i386, i586)

Sash0k

2013-08-10 00:55

reporter   ~0001100

протестировал ревизию 5268
 * doublecmd_common - теперь собирается
 * Makefile.alt - корректен
 * Плагины - слинковался только wlxmplayer.wlx, но он не подключается (Этот файл не является корректным плагином!), остальные не линкуются из-за ключа -fPIC, некоторые не компилируются (см. plugins.log)

PS: при попытке скопировать файл лога plugins.log на флешку коммандер упал (но запись отработала успешно). Содержимое doublecmd.err: http://pastebin.com/6bgkYeMR

Alexx2000

2013-08-11 15:12

administrator   ~0001101

Сборку плагинов починил, вроде работают, проверял в Qemu с Debian for armhf (по крайней мере zip и WlxMplayer)

-> PS: при попытке скопировать файл лога plugins.log на флешку коммандер упал (но
-> запись отработала успешно). Содержимое doublecmd.err:
-> http://pastebin.com/6bgkYeMR [^]

К сожалению данный лог не имеет полезной информации, полагаю DC был собран без отладочной информации

Issue History

Date Modified Username Field Change
2013-08-06 23:53 Sash0k New Issue
2013-08-06 23:53 Sash0k File Added: Makefile
2013-08-06 23:57 Sash0k File Added: doublecmd_common.lpk
2013-08-08 23:20 Alexx2000 Assigned To => Alexx2000
2013-08-08 23:20 Alexx2000 Status new => assigned
2013-08-08 23:28 Alexx2000 Note Added: 0001098
2013-08-08 23:28 Alexx2000 Status assigned => feedback
2013-08-08 23:28 Alexx2000 File Added: Makefile.alt
2013-08-08 23:30 Alexx2000 Note Edited: 0001098
2013-08-09 19:11 Sash0k Note Added: 0001099
2013-08-09 19:11 Sash0k Status feedback => assigned
2013-08-10 00:48 Sash0k File Added: plugins.log
2013-08-10 00:55 Sash0k Note Added: 0001100
2013-08-11 15:12 Alexx2000 Fixed in Revision => 5268-5272
2013-08-11 15:12 Alexx2000 Note Added: 0001101
2013-08-11 15:12 Alexx2000 Status assigned => resolved
2013-08-11 15:12 Alexx2000 Fixed in Version => 0.6.0
2013-08-11 15:12 Alexx2000 Resolution open => fixed
2013-09-15 13:51 Alexx2000 Fixed in Revision 5268-5272 => 5268-5272,5293
2013-09-15 13:51 Alexx2000 Fixed in Version 0.6.0 => 0.5.7
2017-09-04 08:24 Alexx2000 Status resolved => closed