List:General Discussion« Previous MessageNext Message »
From:Paul DuBois Date:September 17 1999 11:22pm
Subject:Re: 3.23.3 C API scramble-password.o
View as plain text  
At 6:13 PM -0500 9/17/99, John Jacques wrote:
>Hello, I just upgraded to source dist 3.23.3 and re-compiled my C
>API app. I am getting the following error compiling it:
>
> I'm running slakware 4.0, kernel 2.2.6, latest gnu gcc, make 3.76.1.
>
>/usr/local/lib/mysql/libmysqlclient.a(password.o): In function
>'scramble':
>password.o(.text+0x247): undefined reference to 'floor'
>password.o(.text+0x2fd): undefined reference to 'floor'
>/usr/local/lib/mysql/libmysqlclient.a(password.o): In function
>'check_scramble':
>password.o(.text+0x4f3): undefined reference to 'floor'
>password.o(.text+0x5b1): undefined reference to 'floor'
>collect2: ld returned 1 exit status
>
>Can anyone help? thanks!
>

Try adding -lm to the link command.

--
Paul DuBois, paul@stripped
Thread
3.23.3 C API scramble-password.oJohn Jacques18 Sep
  • Re: 3.23.3 C API scramble-password.oPaul DuBois18 Sep