Welcome, Guest
Username: Password: Remember me
CodeTyphon MS Windows (Win7, Win8.x, Win10 and Win11) OS Development, discussions and problems
  • Page:
  • 1

TOPIC:

Can't cross compile linux missing files!! 11 years 5 months ago #4037

  • lainz
  • lainz's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 12
  • Thank you received: 1
Opciones cambiadas, recompila limpiando con -B
Hint: Start of reading config file C:\codetyphon\fpc\bin\i386-win32\fpc.cfg
Hint: End of reading config file C:\codetyphon\fpc\bin\i386-win32\fpc.cfg
Free Pascal Compiler version 2.7.1 [2013/06/03] for i386
Copyright (c) 1993-2013 by Florian Klaempfl and others
Target OS: Linux for i386
Compiling windsproapps.lpr
Compiling umain.pas
Compiling uwpa.pas
Compiling fileassociation.pas
fileassociation.pas(113,54) Hint: Parameter "UnReg" not used
Compiling uresourcestring.pas
Writing Resource String Table file: uresourcestring.rst
Compiling uapps.pas
Compiling ucateglist.pas
ucateglist.pas(19,26) Hint: Parameter "Sender" not used
ucateglist.pas(18,26) Hint: Parameter "Sender" not used
uapps.pas(34,26) Hint: Parameter "Sender" not used
uapps.pas(35,26) Hint: Parameter "Sender" not used
uapps.pas(31,25) Hint: Parameter "Sender" not used
uapps.pas(32,28) Hint: Parameter "Sender" not used
uapps.pas(33,27) Hint: Parameter "Sender" not used
Compiling ucateg.pas
ucateg.pas(22,25) Hint: Parameter "Sender" not used
ucateg.pas(23,28) Hint: Parameter "Sender" not used
ucateg.pas(24,26) Hint: Parameter "Sender" not used
umain.pas(39,26) Hint: Parameter "Sender" not used
umain.pas(40,29) Hint: Parameter "Sender" not used
umain.pas(41,24) Hint: Parameter "Sender" not used
umain.pas(42,34) Hint: Parameter "Sender" not used
umain.pas(43,7) Hint: Parameter "Shift" not used
umain.pas(43,27) Hint: Parameter "X" not used
umain.pas(43,30) Hint: Parameter "Y" not used
umain.pas(44,29) Hint: Parameter "Sender" not used
umain.pas(44,61) Hint: Parameter "Shift" not used
umain.pas(45,37) Hint: Parameter "Sender" not used
umain.pas(45,54) Hint: Parameter "User" not used
umain.pas(31,30) Hint: Parameter "Sender" not used
umain.pas(32,29) Hint: Parameter "Sender" not used
umain.pas(32,61) Hint: Parameter "Shift" not used
umain.pas(33,30) Hint: Parameter "Sender" not used
umain.pas(34,32) Hint: Parameter "Sender" not used
umain.pas(35,34) Hint: Parameter "Sender" not used
umain.pas(36,31) Hint: Parameter "Sender" not used
umain.pas(37,36) Hint: Parameter "Sender" not used
umain.pas(38,30) Hint: Parameter "Sender" not used
Compiling uhighdpi.pas
Compiling resource D:\windsproapps\lib\i386-linux\windsproapps.or
Linking windsproapps
windsproapps.lpr(70,1) Warning: "crti.o" not found, this will probably cause a linking failure
windsproapps.lpr(70,1) Warning: "crtbegin.o" not found, this will probably cause a linking failure
windsproapps.lpr(70,1) Warning: "crtend.o" not found, this will probably cause a linking failure
windsproapps.lpr(70,1) Warning: "crtn.o" not found, this will probably cause a linking failure
c:\codetyphon\fpc\bin\i386-win32\i386-linux-ld.exe: cannot open output file windsproapps: Permission denied
windsproapps.lpr(70,1) Error: Error while linking
windsproapps.lpr(70,1) Warning: "crti.o" not found, this will probably cause a linking failure
windsproapps.lpr(70,1) Warning: "crtbegin.o" not found, this will probably cause a linking failure
windsproapps.lpr(70,1) Warning: "crtend.o" not found, this will probably cause a linking failure
windsproapps.lpr(70,1) Warning: "crtn.o" not found, this will probably cause a linking failure
c:\codetyphon\fpc\bin\i386-win32\i386-linux-ld.exe: cannot open output file windsproapps: Permission denied
windsproapps.lpr(70,1) Error: Error while linking
windsproapps.lpr(70,1) Fatal: There were 1 errors compiling module, stopping

Please Log in or Create an account to join the conversation.

Can't cross compile linux missing files!! 11 years 5 months ago #4038

  • lainz
  • lainz's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 12
  • Thank you received: 1
Also with a empty project: a new project with output Os linux.

I've installed CT 32 ald used the cross element i386 linux

project1.lpr(20,1) Warning: "crti.o" not found, this will probably cause a linking failure
project1.lpr(20,1) Warning: "crtbegin.o" not found, this will probably cause a linking failure
project1.lpr(20,1) Warning: "crtend.o" not found, this will probably cause a linking failure
project1.lpr(20,1) Warning: "crtn.o" not found, this will probably cause a linking failure
project1.lpr(20,1) Warning: "crti.o" not found, this will probably cause a linking failure
project1.lpr(20,1) Warning: "crtbegin.o" not found, this will probably cause a linking failure
project1.lpr(20,1) Warning: "crtend.o" not found, this will probably cause a linking failure
project1.lpr(20,1) Warning: "crtn.o" not found, this will probably cause a linking failure
c:\codetyphon\fpc\bin\i386-win32\i386-linux-ld.exe: warning: link.res contains output sections; did you forget -T?
c:\codetyphon\fpc\bin\i386-win32\i386-linux-ld.exe: cannot find -ldl
c:\codetyphon\fpc\bin\i386-win32\i386-linux-ld.exe: cannot find -lpthread
c:\codetyphon\fpc\bin\i386-win32\i386-linux-ld.exe: cannot find -lX11
c:\codetyphon\fpc\bin\i386-win32\i386-linux-ld.exe: cannot find -lgdk_pixbuf-2.0
c:\codetyphon\fpc\bin\i386-win32\i386-linux-ld.exe: cannot find -lgtk-x11-2.0
c:\codetyphon\fpc\bin\i386-win32\i386-linux-ld.exe: cannot find -lgdk-x11-2.0
c:\codetyphon\fpc\bin\i386-win32\i386-linux-ld.exe: cannot find -lgobject-2.0
c:\codetyphon\fpc\bin\i386-win32\i386-linux-ld.exe: cannot find -lglib-2.0
c:\codetyphon\fpc\bin\i386-win32\i386-linux-ld.exe: cannot find -lgthread-2.0
c:\codetyphon\fpc\bin\i386-win32\i386-linux-ld.exe: cannot find -lgmodule-2.0
c:\codetyphon\fpc\bin\i386-win32\i386-linux-ld.exe: cannot find -lpango-1.0
c:\codetyphon\fpc\bin\i386-win32\i386-linux-ld.exe: cannot find -lcairo
c:\codetyphon\fpc\bin\i386-win32\i386-linux-ld.exe: cannot find -latk-1.0
c:\codetyphon\fpc\bin\i386-win32\i386-linux-ld.exe: cannot find -lc
project1.lpr(20,1) Error: Error while linking
project1.lpr(20,1) Fatal: There were 1 errors compiling module, stopping

Please Log in or Create an account to join the conversation.

Can't cross compile linux missing files!! 11 years 5 months ago #4039

  • airpumpkin
  • airpumpkin's Avatar
  • Offline
  • New Member
  • New Member
  • Posts: 10
  • Thank you received: 0
I've got the same errors.

lainz wrote: Also with a empty project: a new project with output Os linux.

I've installed CT 32 ald used the cross element i386 linux

project1.lpr(20,1) Warning: "crti.o" not found, this will probably cause a linking failure
project1.lpr(20,1) Warning: "crtbegin.o" not found, this will probably cause a linking failure
project1.lpr(20,1) Warning: "crtend.o" not found, this will probably cause a linking failure
project1.lpr(20,1) Warning: "crtn.o" not found, this will probably cause a linking failure
project1.lpr(20,1) Warning: "crti.o" not found, this will probably cause a linking failure
project1.lpr(20,1) Warning: "crtbegin.o" not found, this will probably cause a linking failure
project1.lpr(20,1) Warning: "crtend.o" not found, this will probably cause a linking failure
project1.lpr(20,1) Warning: "crtn.o" not found, this will probably cause a linking failure
c:\codetyphon\fpc\bin\i386-win32\i386-linux-ld.exe: warning: link.res contains output sections; did you forget -T?
c:\codetyphon\fpc\bin\i386-win32\i386-linux-ld.exe: cannot find -ldl
c:\codetyphon\fpc\bin\i386-win32\i386-linux-ld.exe: cannot find -lpthread
c:\codetyphon\fpc\bin\i386-win32\i386-linux-ld.exe: cannot find -lX11
c:\codetyphon\fpc\bin\i386-win32\i386-linux-ld.exe: cannot find -lgdk_pixbuf-2.0
c:\codetyphon\fpc\bin\i386-win32\i386-linux-ld.exe: cannot find -lgtk-x11-2.0
c:\codetyphon\fpc\bin\i386-win32\i386-linux-ld.exe: cannot find -lgdk-x11-2.0
c:\codetyphon\fpc\bin\i386-win32\i386-linux-ld.exe: cannot find -lgobject-2.0
c:\codetyphon\fpc\bin\i386-win32\i386-linux-ld.exe: cannot find -lglib-2.0
c:\codetyphon\fpc\bin\i386-win32\i386-linux-ld.exe: cannot find -lgthread-2.0
c:\codetyphon\fpc\bin\i386-win32\i386-linux-ld.exe: cannot find -lgmodule-2.0
c:\codetyphon\fpc\bin\i386-win32\i386-linux-ld.exe: cannot find -lpango-1.0
c:\codetyphon\fpc\bin\i386-win32\i386-linux-ld.exe: cannot find -lcairo
c:\codetyphon\fpc\bin\i386-win32\i386-linux-ld.exe: cannot find -latk-1.0
c:\codetyphon\fpc\bin\i386-win32\i386-linux-ld.exe: cannot find -lc
project1.lpr(20,1) Error: Error while linking
project1.lpr(20,1) Fatal: There were 1 errors compiling module, stopping

Please Log in or Create an account to join the conversation.

Can't cross compile linux missing files!! 11 years 5 months ago #4040

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4535
  • Thank you received: 1114
Guys
we prepare now the Cross Libraries

for linux32
www.pilotlogic.com/codetyphon/crosslibraries/i386-linux.7z

and linux64
www.pilotlogic.com/codetyphon/crosslibraries/x86_64-linux.7z

-Unzip to a folder and
-add this folder to your Project->Paths->Libraries
PilotLogic Architect and Core Programmer

Please Log in or Create an account to join the conversation.

Last edit: by Sternas Stefanos.

Can't cross compile linux missing files!! 11 years 5 months ago #4041

  • airpumpkin
  • airpumpkin's Avatar
  • Offline
  • New Member
  • New Member
  • Posts: 10
  • Thank you received: 0
Is it the same solution for my project?
www.pilotlogic.com/sitejoom/index.php/fo...-compiling-arm-linux

sternas wrote: Guys
we prepare now the Cross Libraries

for linux32
www.pilotlogic.com/codetyphon/crosslibraries/i386-linux.7z

and linux64
www.pilotlogic.com/codetyphon/crosslibraries/x86_64-linux.7z

-Unzip to a folder and
-add this folder to your Project->Paths->Libraries

Please Log in or Create an account to join the conversation.

Can't cross compile linux missing files!! 11 years 5 months ago #4042

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4535
  • Thank you received: 1114
Yes Sir
But give us time to test-it
PilotLogic Architect and Core Programmer

Please Log in or Create an account to join the conversation.

Last edit: by Sternas Stefanos.

Can't cross compile linux missing files!! 11 years 5 months ago #4062

  • Florian Immenroth
  • Florian Immenroth's Avatar
  • Offline
  • New Member
  • New Member
  • Posts: 11
  • Thank you received: 0
I have the same problem on Win7 crosscompile linux i386. I extracted the libs and added them to the searchpath and now get the following errors:

c:\codetyphon\fpc\bin\i386-win32\i386-linux-ld.exe: warning: link.res contains output sections; did you forget -T?
c:\codetyphon\fpc\bin\i386-win32\i386-linux-ld.exe: warning: libc.so.6, needed by J:\Lazarus-Projects\i386-linux\i386-linux\/libdl.so, not found (try using -rpath or -rpath-link)

What do I have to do?

Thank you
Florian

Please Log in or Create an account to join the conversation.

Can't cross compile linux missing files!! 11 years 5 months ago #4077

  • lainz
  • lainz's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 12
  • Thank you received: 1

sternas wrote: Yes Sir
But give us time to test-it


Ok, I'll use it when it comes by default with CT UI installer..

Please Log in or Create an account to join the conversation.

Can't cross compile linux missing files!! 11 years 2 months ago #4453

  • Maximiliano
  • Maximiliano's Avatar
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 47
  • Thank you received: 3
i try to complile via crossbuild menu adn say this
Start Action at 29/08/2013 16:53:51
_______________________________________________________________

-----------------------------------------------
   FPC Cross Elements Engine settings
-----------------------------------------------

FPCType=win32
FPCCPUOS=i386-win32
FPCStartEXE=ppc386
TARGETCPU=i386
TARGETOS=linux
FPCCrossEXE=ppcross386


=====================================================================
         win32 Build Cross for i386-linux 
=====================================================================

[INFO]: Cross CT GNU Toolschains Engine Switch is OFF.
        Use files from GNU Toolschains Store.

[INFO]: Copy Files from ToolsChain Store...
..\..\binToolchains\win32-i386-linux\i386-linux-addr2line.exe
Acceso denegado.
..\..\binToolchains\win32-i386-linux\i386-linux-ar.exe
Acceso denegado.
..\..\binToolchains\win32-i386-linux\i386-linux-as.exe
Acceso denegado.
..\..\binToolchains\win32-i386-linux\i386-linux-c++filt.exe
Acceso denegado.
..\..\binToolchains\win32-i386-linux\i386-linux-elfedit.exe
Acceso denegado.
..\..\binToolchains\win32-i386-linux\i386-linux-gprof.exe
Acceso denegado.
..\..\binToolchains\win32-i386-linux\i386-linux-ld.bfd.exe
Acceso denegado.
..\..\binToolchains\win32-i386-linux\i386-linux-ld.exe
Acceso denegado.
..\..\binToolchains\win32-i386-linux\i386-linux-nm.exe
Acceso denegado.
..\..\binToolchains\win32-i386-linux\i386-linux-objcopy.exe
Acceso denegado.
..\..\binToolchains\win32-i386-linux\i386-linux-objdump.exe
Acceso denegado.
..\..\binToolchains\win32-i386-linux\i386-linux-ranlib.exe
Acceso denegado.
..\..\binToolchains\win32-i386-linux\i386-linux-readelf.exe
Acceso denegado.
..\..\binToolchains\win32-i386-linux\i386-linux-size.exe
Acceso denegado.
..\..\binToolchains\win32-i386-linux\i386-linux-strings.exe
Acceso denegado.
..\..\binToolchains\win32-i386-linux\i386-linux-strip.exe
Acceso denegado.
..\..\binToolchains\win32-i386-linux\win32-i386-linux-readme.txt
        1 archivo(s) copiado(s).
                                                        
and finished say this
C:/codetyphon/fpc/bin/i386-win32/rm.exe -f fpcmade.* Package.fpc ppas.bat script.res link.res  
C:/codetyphon/fpc/bin/i386-win32/rm.exe -f *_ppas.bat
make[4]: Leaving directory `C:/codetyphon/fpcsrc/compiler/utils'
C:/codetyphon/fpc/bin/i386-win32/rm.exe -rf i386/units
C:/codetyphon/fpc/bin/i386-win32/rm.exe -f i386/*.o i386/*.ppu i386/*.rst i386/*.s i386/*.a i386/*.dll i386/*.ppl
C:/codetyphon/fpc/bin/i386-win32/rm.exe -f i386/ppc386.exe i386/ppc68k.exe i386/ppcx64.exe i386/ppcppc.exe i386/ppcsparc.exe i386/ppcppc64.exe i386/ppcarm.exe i386/ppcmips.exe i386/ppcmipsel.exe i386/ppcjvm.exe i386/ppc8086.exe i386/ppc.exe
C:/codetyphon/fpc/bin/i386-win32/rm.exe -f ppc.exe
C:/codetyphon/fpc/bin/i386-win32/gmkdir.exe -p i386/units/i386-win32
ppc386.exe -Ur -Xs -O2 -n -Fui386 -Fusystems -FuC:/codetyphon/fpcsrc/rtl/units/i386-win32 -Fii386 -FE. -FUi386/units/i386-win32 -dRELEASE    -di386 -dGDB -dBROWSERLOG -Fux86 -Sew pp.pas
pp.pas(247,1) Error: Can't create object file: .\pp.exe (error code: 5)
pp.pas(247,1) Fatal: Can't create executable .\pp.exe
Fatal: Compilation aborted
make[3]: *** [ppc.exe] Error 1
make[3]: Leaving directory `C:/codetyphon/fpcsrc/compiler'
make[2]: *** [cycle] Error 2
make[2]: Leaving directory `C:/codetyphon/fpcsrc/compiler'
make[1]: *** [compiler_cycle] Error 2
make[1]: Leaving directory `C:/codetyphon/fpcsrc'
make: *** [build-stamp.i386-linux] Error 2

???????????????????????????????????????????????????????????
  [ERROR]:  win32 Cross compiler ppcross386.exe NOT Builded
          sorry, Cross Build procedure STOP   
???????????????????????????????????????????????????????????


_______________________________________________________________
 
Terminate Action at 29/08/2013 16:58:54
Total time: 00:05:02.889
ExitCode : 0    

Please Log in or Create an account to join the conversation.

  • Page:
  • 1