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

TOPIC:

linke error 11 years 10 months ago #3074

  • amin
  • amin's Avatar Topic Author
  • Visitor
  • Visitor
I tried the cross compile from Windows 32 bit to Linux and work well but I have a little problem.
If I set how operating system Linux and I try to compile a simple project (just one form and one buuton) the linker give the following error

c:\codetyphon\fpc\bin\i386-win32\i386-linux-ld.exe: cannot find -ldl
project1.lpr(20,1) Error: Error while linking
project1.lpr(20,1) Fatal: There were 1 errors compiling module, stopping

but if I simple Quick Compile work well.

Someone have idea?

Thanks,

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

linke error 11 years 10 months ago #3075

  • FredyCC
  • FredyCC's Avatar
  • Offline
  • Junior Member
  • Junior Member
  • Database/Developer
  • Posts: 60
  • Thank you received: 10
You need the Linux libraries generally are in the /usr/lib/ with extension .so, ldl means libdl.so. Then specify the path in your project, Compiler Options/Paths/Libraries.

regards

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

  • Page:
  • 1