It's redhat 6.2 on a sparc.. That did the trick though... THANK YOU!!! :)
-----Original Message-----
From: Emiliano [mailto:[EMAIL PROTECTED]]
Sent: Monday, July 24, 2000 3:05 PM
To: [EMAIL PROTECTED]
Subject: RE: [midgard] midgar-lib build problem
Derek J. Lambert wrote:
> configure:1953: gcc -o
> onftest -g -O2 -I/usr/include/mysql -L/usr/lib/mysql
> conftest.c -lmysqlclient -lcrypt 1>&5
> /usr/lib/mysql/libmysqlclient.a(password.o): In function `scramble':
> password.o(.text+0x260): undefined reference to `floor'
> password.o(.text+0x320): undefined reference to `floor'
> /usr/lib/mysql/libmysqlclient.a(password.o): In function `check_scramble':
> password.o(.text+0x52c): undefined reference to `floor'
> password.o(.text+0x5fc): undefined reference to `floor'
> collect2: ld returned 1 exit status
Try this:
LDFLAGS="-lm" LIBS=$LDFLAGS LIB=$LDFLAGS ./configure ...
What platform do you use?
Emile
--
This is The Midgard Project's mailing list. For more information,
please visit the project's web site at http://www.midgard-project.org
To unsubscribe the list, send an empty email message to address
[EMAIL PROTECTED]
--
This is The Midgard Project's mailing list. For more information,
please visit the project's web site at http://www.midgard-project.org
To unsubscribe the list, send an empty email message to address
[EMAIL PROTECTED]