GPM-1.20.1 : error - undefined reference to `ceilf'

Chris Staub chris at beaker67.com
Sat Nov 17 01:01:13 PST 2007


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.



More information about the blfs-support mailing list