> > 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. >
I had tried with that LDFLAGS="-lm" make and that not fixed the trouble. We had talk about this problem on the irc channel some days back. There was some other people that had the same issue. I had need to use that mentioned patch. I have test it again now without the patch and this seems to work like expected. Kind regards, David Van Mosselbeen -- http://linuxfromscratch.org/mailman/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
