Recent

Author Topic: Compiling Lazarus on Netbsd 10.0  (Read 389 times)

gmawby

  • Newbie
  • Posts: 5
Compiling Lazarus on Netbsd 10.0
« on: September 05, 2024, 03:42:28 am »
Hello,
when I compile Lazarus on NetBSD 10 gmake stops when when linking against X11

error message is  /usr/bin/ld: cannot find -lX11

The gmake help says that you can add OPT=' something' to pass something to the compiler.  I used gmake OPT='-Fl/usr/X11R7/lib -k-lX11'
but no luck.

Am I using the correct switches to influence the linker search paths  and if so can anyone suggest what the problem is?

Glenn,
Australia.



gmawby

  • Newbie
  • Posts: 5
Re: Compiling Lazarus on Netbsd 10.0
« Reply #1 on: September 05, 2024, 04:52:06 am »
Fixed : had to pass  gmake bigide  OPT='-Fl-L/usr/X11R7/lib -k-L/usr/X11R7/lib -k-lX11'



Glenn.
« Last Edit: September 05, 2024, 05:08:18 am by gmawby »

 

TinyPortal © 2005-2018