On Mon, 16 May 2005, Archaic wrote:
> On Sun, May 15, 2005 at 02:28:24PM +0600, Alexander E. Patrakov wrote:
> >
> > That's normal. You have to pass -lm on ppc explicitly (but I can't say
> > this for 100% sure, I don't have that hardware).
>
> I, and the BLFS book, both use that method:
>
> LDFLAGS="-lm" ./configure --prefix=/usr --sysconfdir=/etc
>
>
Try passing LDFLAGS to 'make' as well as, or instead of, configure.
Builds ok on ppc here with this (i.e. passed to both), but I don't want
to install it. Alexander has explained why LDFLAGS is needed on ppc,
but why don't most source distros (e.g. gentoo) have to fart about like
this ? Has something broken the configure, or did it only work (for
ppc) in an _old_ version of gpm ?
Google found a talinux patch in their CVS which might sort this for
you:
--- src/Makefile.in.old 2005-01-25 18:08:33.000000000 +0200
+++ src/Makefile.in 2005-01-25 18:08:50.000000000 +0200
@@ -11,6 +11,8 @@
include $(top_builddir)/Makefile.include
+LDFLAGS=-lm
+
# Main portion: regular build rules
GSRC = main.c gpm.c gpn.c mice.c special.c twiddler.c synaptics.c \
--
das eine Mal als Trag�die, das andere Mal als Farce
--
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page