nanogui: More cross-compile Q
Subject:
Re: [nanogui] More cross-compile Q
From:
Yan Seiner ####@####.####
Date:
12 Oct 2005 00:33:32 +0100
Message-Id: <434C4B8A.6080404@seiner.com>
Greg Haerr wrote:
>: ld is not finding the libvncserver library. If I add a -L flag
>: pointing to the location, it won't find libc.so.6, so it seems I can do
>: one or the other....
>
>Hmm.. Set VERBOSE=Y, then check the actual gcc
>lines. I think you may need to change an "ld" line to
>gcc in the Makefile for vncserver. Ld and gcc sometimes
>work quite differently with the same link options.
>
>
It took a while to work that out - the libs for the vncserver were
being added to the front of the queue for ld, not the back as they
should have been.
I just added all the libs to the VNC lines in Makefile.rules....