× CodeTyphon MS Windows (XP, Vista, Win7, Win8.x and Win10) OS Development, discussions and problems

Question linke error

  • amin
  • Topic Author
  • Visitor
  • Visitor
8 years 11 months ago #3074 by amin
linke error was created by amin
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.

  • FredyCC
  • FredyCC's Avatar
  • Offline
  • Junior Member
  • Junior Member
  • Database/Developer
More
8 years 11 months ago #3075 by FredyCC
Replied by FredyCC on topic linke error
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.