Re: Build problems on AIX
Ben Lentz <[email protected]>
| Newsgroups | gmane.comp.db.tds.freetds |
|---|---|
| Message-ID | <[email protected]> |
>> .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.