Skip to Content.
Sympa Menu

freetds - Re: [freetds] error when ./configure --host=arm-linux

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: "ZIGLIO, Frediano, VF-IT" <Frediano.Ziglio AT vodafone.com>
  • To: "FreeTDS Development Group" <freetds AT lists.ibiblio.org>
  • Subject: Re: [freetds] error when ./configure --host=arm-linux
  • Date: Wed, 24 Jan 2007 11:46:01 +0100

>
> i want to cross-compiling libtds.a, but error when configure,
> anybody knows
> whan is wrong?? thanks...
>
> [root@liang freetds-0.63]# ./configure --host=arm-linux
> .....
> ......
> checking for which type of getservbyname_r... six
> checking for which type of gethostbyaddr_r... eight
> checking for which type of getpwuid_r... configure: error:
> cannot run test
> program while cross compiling
> See `config.log' for more details.

I know 0.63 have this problem cross compiling. Problem has been fixed in
CVS HEAD (that is not in 0.64). You could try --disable-threadsafe if
skip this test or you could copy new macro code from
m4/ac_tds_func_which_getpwuid_r.m4
(http://freetds.cvs.sourceforge.net/freetds/freetds/m4/ac_tds_func_which
_getpwuid_r.m4?revision=1.4&view=markup) to acinlude.m4, generate new
files (you have to use autoconf and related stuff)

freddy77





Archive powered by MHonArc 2.6.24.

Top of Page