[unixODBC-dev] AIX 5.3 TL6 compilation.
George Neill
georgen at neillnet.com
Fri Jan 9 09:24:33 GMT 2009
Hi again,
I got around the -DHAVE_LIBTHREAD by changing the configure.in and
autoreconf'ing. But I now hit this error (below). It appears to be
unable to find the ini, log, lst and ltdl libs ...
if I change the odbcinst/Makefile.am from
libodbcinst_la_LIBADD = \
../ini/libinilc.la \
../log/libloglc.la \
../lst/liblstlc.la \
$(LIBLTDL) $(LIBADD_DL)
to
libodbcinst_la_LIBADD = \
../ini/.libs/libinilc.la \
../log/.libs/libloglc.la \
../lst/.libs/liblstlc.la \
$(LIBLTDL) $(LIBADD_DL)
It resolves most of these unsatisfied symbols (below) ... all but
the ltdl ones. Any ideas?
/usr/vac/bin/xlc_r -Wl,-bM:SRE -o .libs/libodbcinst.so.1
.libs/ODBCINSTConstructProperties.o .libs/ODBCINSTDestructProperties.o
.libs/ODBCINSTSetProperty.o .libs/ODBCINSTValidateProperties.o
.libs/ODBCINSTValidateProperty.o .libs/SQLConfigDataSource.o
.libs/SQLConfigDriver.o .libs/SQLCreateDataSource.o
.libs/SQLGetAvailableDrivers.o .libs/SQLGetConfigMode.o
.libs/SQLGetInstalledDrivers.o .libs/SQLGetPrivateProfileString.o
.libs/SQLGetTranslator.o .libs/SQLInstallDriverEx.o
.libs/SQLInstallDriverManager.o .libs/SQLInstallTranslatorEx.o
.libs/SQLInstallerError.o .libs/SQLManageDataSources.o
.libs/SQLPostInstallerError.o .libs/SQLReadFileDSN.o
.libs/SQLRemoveDSNFromIni.o .libs/SQLRemoveDriver.o
.libs/SQLRemoveDriverManager.o .libs/SQLRemoveTranslator.o
.libs/SQLSetConfigMode.o .libs/SQLValidDSN.o .libs/SQLWriteDSNToIni.o
.libs/SQLWriteFileDSN.o .libs/SQLWritePrivateProfileString.o
.libs/SQLInstallODBC.o .libs/_logging.o
.libs/_odbcinst_ConfigModeINI.o .libs/_odbcinst_UserINI.o
.libs/_odbcinst_SystemINI.o .libs/_odbcinst_GetSections.o
.libs/_odbcinst_GetEntries.o .libs/_SQLGetInstalledDrivers.o
.libs/_SQLWriteInstalledDrivers.o -ldl -lpthread -lc
-Wl,-bE:./odbcinst.exp -Wl,-bnoentry ${wl}-bernotok
ld: 0711-317 ERROR: Undefined symbol: .logClear
ld: 0711-317 ERROR: Undefined symbol: .logPeekMsg
ld: 0711-317 ERROR: Undefined symbol: .logOpen
ld: 0711-317 ERROR: Undefined symbol: .logOn
ld: 0711-317 ERROR: Undefined symbol: .logPushMsg
ld: 0711-317 ERROR: Undefined symbol: .iniOpen
ld: 0711-317 ERROR: Undefined symbol: .iniPropertySeek
ld: 0711-317 ERROR: Undefined symbol: .iniObject
ld: 0711-317 ERROR: Undefined symbol: .iniClose
ld: 0711-317 ERROR: Undefined symbol: .iniValue
ld: 0711-317 ERROR: Undefined symbol: .lt_dlinit
ld: 0711-317 ERROR: Undefined symbol: .lt_dlopen
ld: 0711-317 ERROR: Undefined symbol: .lt_dlsym
ld: 0711-317 ERROR: Undefined symbol: .lt_dlclose
ld: 0711-317 ERROR: Undefined symbol: .iniAppend
ld: 0711-317 ERROR: Undefined symbol: .iniObjectFirst
ld: 0711-317 ERROR: Undefined symbol: .iniObjectEOL
ld: 0711-317 ERROR: Undefined symbol: .iniObjectNext
ld: 0711-317 ERROR: Undefined symbol: .iniObjectSeek
ld: 0711-317 ERROR: Undefined symbol: .iniPropertyFirst
ld: 0711-317 ERROR: Undefined symbol: .iniPropertyEOL
ld: 0711-317 ERROR: Undefined symbol: .iniProperty
ld: 0711-317 ERROR: Undefined symbol: .iniPropertyNext
ld: 0711-317 ERROR: Undefined symbol: .lt_dlerror
ld: 0711-317 ERROR: Undefined symbol: .iniElement
ld: 0711-317 ERROR: Undefined symbol: .iniObjectDelete
ld: 0711-317 ERROR: Undefined symbol: .iniObjectInsert
ld: 0711-317 ERROR: Undefined symbol: .iniElementEOL
ld: 0711-317 ERROR: Undefined symbol: .iniPropertyInsert
ld: 0711-317 ERROR: Undefined symbol: .iniCommit
ld: 0711-317 ERROR: Undefined symbol: .iniPropertyUpdate
ld: 0711-317 ERROR: Undefined symbol: .iniPropertyDelete
ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information.
make: The error code from the last command is 8.
Stop.
make: The error code from the last command is 1.
Stop.
More information about the unixODBC-dev
mailing list