Skip to Content.
Sympa Menu

freetds - Re: [freetds] Error message on build in Red Hat Ent 64bit

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: Frediano Ziglio <freddy77 AT gmail.com>
  • To: FreeTDS Development Group <freetds AT lists.ibiblio.org>
  • Subject: Re: [freetds] Error message on build in Red Hat Ent 64bit
  • Date: Thu, 9 Jul 2009 11:49:03 +0200

2009/7/3 RUSSELL DILKS <russelldilks AT btinternet.com>:
> I ma installing freetds on a Red Hat Enterprise 64bit box to talk to MSSQL
> I have located the installation of unixodbc and ran the ./configure on
> freetds and it all goes through OK with no errors.
> BUT I run make and it reuturns the error:
>
> connectparams.c:90: error static declaration of
> 'SQLGetPrivateProfileString' follows non-static declaration.
> /usr/include/odbcinst.h.170: error previous declaration of
> 'SQLPrivateProfileString' was here
>
> I spoke to someone who reckons it is probs something to do with the server
> being 64bit and the freetds writers would probably have a fix.
>
> This is a bit over my head guys - can anyone help here ???
>
> I have attached ascreen shot of the shell with the error

Strange... configure script should detect SQLGetPrivateProfileString
in odbcinst library and not compile FreeTDS private funcion.
Please post your config.log and include/config.h (after configure).
Did you use --with-unixodbc= switch during configure ?

freddy77




Archive powered by MHonArc 2.6.24.

Top of Page