Skip to Content.
Sympa Menu

freetds - Re: [freetds] Build problems on AIX

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: Ben Lentz <ben.lentz AT gmail.com>
  • To: FreeTDS Development Group <freetds AT lists.ibiblio.org>
  • Subject: Re: [freetds] Build problems on AIX
  • Date: Thu, 11 Dec 2008 20:15:42 -0500


.deps/connectparams.Tpo -c connectparams.c -DPIC
connectparams.c:90: error: static declaration of
'SQLGetPrivateProfileString' follows non-static declaration
/opt/local/include/odbcinst.h:468: error: previous declaration of
'SQLGetPrivateProfileString' was here
make[3]: *** [connectparams.lo] Error 1
make[3]: Leaving directory `/home/blentz/test/test/freetds-0.82/src/odbc'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/blentz/test/test/freetds-0.82/src/odbc'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/blentz/test/test/freetds-0.82/src'
make: *** [all-recursive] Error 1

Fix:
env CC="$CC -DHAVE_SQLGETPRIVATEPROFILESTRING" ./configure

Not sure what's up with this. GNU libtool 1.5.26 is installed in
/opt/local and is first in PATH.


Mmm.... did you use --with-unixodbc=/opt/local during configure ?? It
seems configure fails to found SQLPrivateProfileString function in
odbcinst.

Nope, I didn't try that. I figured (perhaps incorrectly) it would be auto-detected to avoid the conflict.





Archive powered by MHonArc 2.6.24.

Top of Page