× CodeTyphon Linux OS Development, discussions and problems

Question Error Linking

  • Chad Adams
  • Topic Author
  • Offline
  • Junior Boarder
  • Junior Boarder
More
2 weeks 6 days ago #15145 by Chad Adams
Error Linking was created by Chad Adams
I am getting the following error when linking Linux 32/64

Hint: (11030) Start of reading config file C:\codetyphon\fpc\fpc64\bin\x86_64-win64\fpc.cnf
Hint: (11031) End of reading config file C:\codetyphon\fpc\fpc64\bin\x86_64-win64\fpc.cnf
Free Pascal Compiler version 3.3.1 [2019/12/02] for x86_64
Copyright (c) 1993-2019 by Florian Klaempfl and others
(1002) Target OS: Linux for x86-64
(3104) Compiling MysticBBSBackup.ppr
C:\git\mystic-bbs-backup\MysticBBSBackup.ppr(4,6) Hint: (5023) Unit "Code" not used in MysticBBSBackup
C:\git\mystic-bbs-backup\MysticBBSBackup.ppr(4,12) Hint: (5023) Unit "IO" not used in MysticBBSBackup
C:\git\mystic-bbs-backup\MysticBBSBackup.ppr(4,16) Hint: (5023) Unit "ProgramInfo" not used in MysticBBSBackup
(9015) Linking C:\git\mystic-bbs-backup\build\mbb_x86_64
C:\git\mystic-bbs-backup\MysticBBSBackup.ppr(9,1) Warning: (9034) "crti.o" not found, this will probably cause a linking failure
C:\git\mystic-bbs-backup\MysticBBSBackup.ppr(9,1) Warning: (9034) "crtbeginS.o" not found, this will probably cause a linking failure
C:\git\mystic-bbs-backup\MysticBBSBackup.ppr(9,1) Warning: (9034) "crtendS.o" not found, this will probably cause a linking failure
C:\git\mystic-bbs-backup\MysticBBSBackup.ppr(9,1) Warning: (9034) "crtn.o" not found, this will probably cause a linking failure
c:\codetyphon\fpc\fpc64\bin\x86_64-win64\x86_64-linux-ld.exe: cannot find -ldl
c:\codetyphon\fpc\fpc64\bin\x86_64-win64\x86_64-linux-ld.exe: cannot find -lc
C:\git\mystic-bbs-backup\MysticBBSBackup.ppr(9,1) Error: (9013) Error while linking
C:\git\mystic-bbs-backup\MysticBBSBackup.ppr(9,1) Fatal: (10026) There were 1 errors compiling module, stopping
Fatal: (1018) Compilation aborted
Error: C:\codetyphon\fpc\fpc64\bin\x86_64-win64\ppcx64.exe returned an error exitcode
'

I ahve downloaded the OS Toolbox for each os and those files it cant find are in the binlibraries directory... not sure why it stopped building (it was building).


Can you help?

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

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Away
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
More
2 weeks 6 days ago #15148 by Sternas Stefanos
Replied by Sternas Stefanos on topic Error Linking
Sir
did you download x86_64-linux.7z OSLibraries with CTCenter ?
did you add codetyphon\binLibraries\x86_64-linux in your project Option=>Paths=>Libraries ?

like this

PilotLogic Architect and Core Programmer

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

  • Chad Adams
  • Topic Author
  • Offline
  • Junior Boarder
  • Junior Boarder
More
2 weeks 6 days ago #15149 by Chad Adams
Replied by Chad Adams on topic Error Linking
I just added it that way, i tried to but didnt understand hjow to add the dir. Its building now and everything is good!

I was confused by the add lib ui. I had downloaded the os libraries.

Thanks for the quick response sir!

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

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Away
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
More
2 weeks 6 days ago #15150 by Sternas Stefanos
Replied by Sternas Stefanos on topic Error Linking
Have fun Sir

PilotLogic Architect and Core Programmer

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