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: "fuliang luo" <luofuliang AT gmail.com>
  • To: "FreeTDS Development Group" <freetds AT lists.ibiblio.org>
  • Subject: Re: [freetds] error when ./configure --host=arm-linux
  • Date: Thu, 25 Jan 2007 22:00:32 +0800

i try the first way
./configure --host=arm-linux --disable-threadsafe
but the same error ...

maybe i should try the other way....and thanks a lot...


2007/1/24, ZIGLIO, Frediano, VF-IT <Frediano.Ziglio AT vodafone.com>:

>
> 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

_______________________________________________
FreeTDS mailing list
FreeTDS AT lists.ibiblio.org
http://lists.ibiblio.org/mailman/listinfo/freetds





Archive powered by MHonArc 2.6.24.

Top of Page