[unixODBC-support] driver logging

Eric Sharkey sharkey at netrics.com
Fri Mar 4 15:57:47 GMT 2005


> All the builds are done, and everything done other than the 
> announcement, I was going to do that this afternoon, I will do it now

Thanks.

I'll commit my changes as soon as I verify that they're ok, but I'm having
difficulties getting the CVS version to compile.

The problem seems to be with the new odbcinst/odbcinst.exp file.  With this
in place, the odbcinst library no longer exports the ini functions, and
the DataManager doesn't build because of this:

Making all in DataManager
make[1]: Entering directory `/u/mmhome/sharkey/src/unixODBC-cvs/unixODBC/DataManager'
/bin/sh ../libtool --mode=link g++  -g -O2   -o DataManager  classCanvas.o classColumn.o classDataManager.o classDataSource.o classDataSources.o classDriver.o classDrivers.o classISQL.o classIndex.o classIndexs.o classLogin.o classNode.o classODBC.o classPrimaryKeys.o classSpecialColumns.o classTable.o classTables.o classConnectionFrame.o classBrowseFrame.o classBrowse.o main.o mclassDataManager.o mclassCanvas.o mclassLogin.o mclassISQL.o mclassConnectionFrame.o mclassBrowseFrame.o mclassBrowse.o -L/usr/X11R6/lib -lqt-mt  -lXext -lX11  ../odbcinst/libodbcinst.la ../DriverManager/libodbc.la  -lpthread
g++ -g -O2 -o .libs/DataManager classCanvas.o classColumn.o classDataManager.o classDataSource.o classDataSources.o classDriver.o classDrivers.o classISQL.o classIndex.o classIndexs.o classLogin.o classNode.o classODBC.o classPrimaryKeys.o classSpecialColumns.o classTable.o classTables.o classConnectionFrame.o classBrowseFrame.o classBrowse.o main.o mclassDataManager.o mclassCanvas.o mclassLogin.o mclassISQL.o mclassConnectionFrame.o mclassBrowseFrame.o mclassBrowse.o  -L/usr/X11R6/lib /usr/lib/libqt-mt.so ../odbcinst/.libs/libodbcinst ../DriverManager/.libs/libodbc -lfontconfig -laudio -lXt -lpng -lz -lXrandr -lXinerama -lfontconfig -lXext -lX11 -lm -lSM -lICE -ldl -lpthread -Wl,--rpath -Wl,/u/mmhome/sharkey/netrics/src/lib
classDataManager.o(.text+0xe2c): In function `classDataManager::LoadState()':
/u/mmhome/sharkey/src/unixODBC-cvs/unixODBC/DataManager/classDataManager.cpp:114: undefined reference to `iniOpen'
classDataManager.o(.text+0xe42):/u/mmhome/sharkey/src/unixODBC-cvs/unixODBC/DataManager/classDataManager.cpp:116: undefined reference to `iniObjectFirst'
classDataManager.o(.text+0xe5a):/u/mmhome/sharkey/src/unixODBC-cvs/unixODBC/DataManager/classDataManager.cpp:117: undefined reference to `iniObjectEOL'
classDataManager.o(.text+0xe94):/u/mmhome/sharkey/src/unixODBC-cvs/unixODBC/DataManager/classDataManager.cpp:122: undefined reference to `iniObject'
classDataManager.o(.text+0xea2):/u/mmhome/sharkey/src/unixODBC-cvs/unixODBC/DataManager/classDataManager.cpp:123: undefined reference to `iniPropertyFirst'
classDataManager.o(.text+0xf2a):/u/mmhome/sharkey/src/unixODBC-cvs/unixODBC/DataManager/classDataManager.cpp:133: undefined reference to `iniPropertyEOL'
classDataManager.o(.text+0xf51):/u/mmhome/sharkey/src/unixODBC-cvs/unixODBC/DataManager/classDataManager.cpp:135: undefined reference to `iniProperty'
classDataManager.o(.text+0xfce):/u/mmhome/sharkey/src/unixODBC-cvs/unixODBC/DataManager/classDataManager.cpp:167: undefined reference to `iniPropertyNext'
classDataManager.o(.text+0xfed):/u/mmhome/sharkey/src/unixODBC-cvs/unixODBC/DataManager/classDataManager.cpp:163: undefined reference to `iniValue'
classDataManager.o(.text+0x103b):/u/mmhome/sharkey/src/unixODBC-cvs/unixODBC/DataManager/classDataManager.cpp:158: undefined reference to `iniValue'
classDataManager.o(.text+0x107a):/u/mmhome/sharkey/src/unixODBC-cvs/unixODBC/DataManager/classDataManager.cpp:153: undefined reference to `iniValue'
classDataManager.o(.text+0x10c4):/u/mmhome/sharkey/src/unixODBC-cvs/unixODBC/DataManager/classDataManager.cpp:148: undefined reference to `iniValue'
classDataManager.o(.text+0x1111):/u/mmhome/sharkey/src/unixODBC-cvs/unixODBC/DataManager/classDataManager.cpp:143: undefined reference to `iniValue'
classDataManager.o(.text+0x1154):/u/mmhome/sharkey/src/unixODBC-cvs/unixODBC/DataManager/classDataManager.cpp:138: more undefined references to `iniValue' follow
classDataManager.o(.text+0x11fa): In function `classDataManager::LoadState()':
/u/mmhome/sharkey/src/unixODBC-cvs/unixODBC/DataManager/classDataManager.cpp:179: undefined reference to `iniObjectNext'
classDataManager.o(.text+0x156b): In function `classDataManager::SaveState()':
/u/mmhome/sharkey/src/unixODBC-cvs/unixODBC/DataManager/classDataManager.cpp:195: undefined reference to `iniOpen'
classDataManager.o(.text+0x159a):/u/mmhome/sharkey/src/unixODBC-cvs/unixODBC/DataManager/classDataManager.cpp:198: undefined reference to `iniObjectSeekSure'
classDataManager.o(.text+0x15a8):/u/mmhome/sharkey/src/unixODBC-cvs/unixODBC/DataManager/classDataManager.cpp:199: undefined reference to `iniObjectDelete'
classDataManager.o(.text+0x15bf):/u/mmhome/sharkey/src/unixODBC-cvs/unixODBC/DataManager/classDataManager.cpp:202: undefined reference to `iniObjectSeekSure'
classDataManager.o(.text+0x1604):/u/mmhome/sharkey/src/unixODBC-cvs/unixODBC/DataManager/classDataManager.cpp:204: undefined reference to `iniPropertyInsert'
classDataManager.o(.text+0x1664):/u/mmhome/sharkey/src/unixODBC-cvs/unixODBC/DataManager/classDataManager.cpp:207: undefined reference to `iniPropertyInsert'
classDataManager.o(.text+0x16b2):/u/mmhome/sharkey/src/unixODBC-cvs/unixODBC/DataManager/classDataManager.cpp:210: undefined reference to `iniPropertyInsert'
classDataManager.o(.text+0x1700):/u/mmhome/sharkey/src/unixODBC-cvs/unixODBC/DataManager/classDataManager.cpp:213: undefined reference to `iniPropertyInsert'
classDataManager.o(.text+0x1782):/u/mmhome/sharkey/src/unixODBC-cvs/unixODBC/DataManager/classDataManager.cpp:216: undefined reference to `iniPropertyInsert'
classDataManager.o(.text+0x1801):/u/mmhome/sharkey/src/unixODBC-cvs/unixODBC/DataManager/classDataManager.cpp:219: more undefined references to `iniPropertyInsert' follow
classDataManager.o(.text+0x180f): In function `classDataManager::SaveState()':
/u/mmhome/sharkey/src/unixODBC-cvs/unixODBC/DataManager/classDataManager.cpp:221: undefined reference to `iniCommit'
classDataSource.o(.text+0x7a8): In function `classDataSource::Init(int, char*, void*)':
/u/mmhome/sharkey/src/unixODBC-cvs/unixODBC/DataManager/classDataSource.cpp:85: undefined reference to `iniElement'
classDataSource.o(.text+0x80e):/u/mmhome/sharkey/src/unixODBC-cvs/unixODBC/DataManager/classDataSource.cpp:87: undefined reference to `iniElement'
classDataSources.o(.text+0x8da): In function `classDataSources::setOpen(bool)':
/u/mmhome/sharkey/src/unixODBC-cvs/unixODBC/DataManager/classDataSources.cpp:84: undefined reference to `iniElement'
classDriver.o(.text+0x606): In function `classDriver::Init(char*, void*)':
/u/mmhome/sharkey/src/unixODBC-cvs/unixODBC/DataManager/classDriver.cpp:62: undefined reference to `iniElement'
collect2: ld returned 1 exit status

I don't see how you were able to do your build.

Eric



More information about the unixODBC-support mailing list