Beats me. I don't see any problems with that link line.
If you pass -Wall does it give you hints as to what might be
wrong? Certainly those symbols are in libX11. And if libX11
couldn't be found gcc would have complained.
Mark.
On 12 Jun 2003, Bill Baker wrote:
> On Thu, 2003-06-12 at 14:17, Marc Aurele La France wrote:
>
> > Link Xtst first?
> >
>
> If by that you mean instead of using:
> gcc -I/usr/X11R6/include -L/usr/X11R6/lib -o setnumlock numlock.c -lX11
> -lXtst
>
> I should use:
> gcc -I/usr/X11R6/include -L/usr/X11R6/lib -o setnumlock numlock.c -lXtst
> -lX11
>
> I tried that, and it doesn't work.
>
> --Bill
>
> _______________________________________________
> XFree86 mailing list
> [EMAIL PROTECTED]
> http://XFree86.Org/mailman/listinfo/xfree86
>
_______________________________________________
XFree86 mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xfree86