On 10/2/07, EJBoshinski <[EMAIL PROTECTED]> wrote:

> checking for gpm.h... yes
> checking for Gpm_Open in -lgpm... no
> configure: error: Cannot link with GPM library

Something has gone wrong when building gcc-pass2. By this point, it
should only be searching for headers in /tools/include, and there
shouldn't be any gpm.h there. As the LFS user, what's the output from
this command:

$ echo | gcc -v -x c - 2>&1 | sed -n '/^#include/,/End of search list/p'

For me, with a proper /tools/bin/gcc, this is the output:

#include "..." search starts here:
#include <...> search starts here:
 /home/build/tools/bin/../lib/gcc/i686-pc-linux-gnu/4.1.2/include
 /tools/include
End of search list.

Where /home/build is $LFS on this run. Perhaps gcc != /tools/bin/gcc?

--
Dan
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page

Reply via email to