Forum > Other

Compiling Lazarus on Netbsd 10.0

(1/1)

gmawby:
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:
Fixed : had to pass  gmake bigide  OPT='-Fl-L/usr/X11R7/lib -k-L/usr/X11R7/lib -k-lX11'



Glenn.

Navigation

[0] Message Index

Go to full version