David Van Mosselbeen wrote:
> Hi,
> 
> There's a problem to compile gpm-1.20.1 on LFS (svn) and fails on:
> 
>     synaptics.c:(.text+0x1777): undefined reference to `ceilf'     
> synaptics.c:(.text+0x17b8): undefined reference to `ceilf'
> 
> The whole error output can be found on [1]. There's a patch online at 
> [2] that fix this trouble. This patch may needs to be revised by our 
> experts and maybe should the book adjusted and include a reference to 
> this patch.
> 
> [1] http://linuxfromscratch.pastebin.com/d60336f11
> [2] 
> http://ftp.frugalware.org/pub/other/people/alex/upstart-mess/source/base/gpm/gpm-1.20.1-ceilf-gcc4.patch
> 
> Kind regards,
> David Van Mosselbeen
> 

This is already covered in BLFS. That's why the make command for gpm has 
LDFLAGS.
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to