[unixODBC-dev] 2.2.11 doesn't build on Fedora Core 3

Tom Lane tgl at sss.pgh.pa.us
Fri Apr 8 03:39:38 BST 2005


Hi folks,
  I tried to update Red Hat's unixODBC distribution to 2.2.11, and found
that it fails to build.  It looks like the recent addition of an
export-symbols list to libodbcinst is preventing DataManager from
getting at the "ini" library routines.  How come no one but me is seeing
this?  Any thoughts on the cleanest fix?

			regards, tom lane

[ snip ]
Making all in DataManager
make[1]: Entering directory `/home/tgl/rpmwork/BUILD/unixODBC-2.2.11/DataManager'
[ snip ]
/bin/sh ../libtool --mode=link --tag=CXX g++  -O2 -g -pipe -m32 -march=i386 -mtune=pentium4   -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 -L/usr/lib/qt-3.3/lib -lqt-mt  -lXext -lX11  ../odbcinst/libodbcinst.la ../DriverManager/libodbc.la  -lpthread
mkdir .libs
g++ -O2 -g -pipe -m32 -march=i386 -mtune=pentium4 -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 -L/usr/lib/qt-3.3/lib -lqt-mt -lXext -lX11 ../odbcinst/.libs/libodbcinst.so ../DriverManager/.libs/libodbc.so /usr/lib/libltdl.so -ldl -lpthread
classDataManager.o(.text+0x1f3): In function `classDataManager::SaveState()':
/home/tgl/rpmwork/BUILD/unixODBC-2.2.11/DataManager/classDataManager.cpp:195: undefined reference to `iniOpen'
classDataManager.o(.text+0x25e):/home/tgl/rpmwork/BUILD/unixODBC-2.2.11/DataManager/classDataManager.cpp:198: undefined reference to `iniObjectSeekSure'
classDataManager.o(.text+0x26c):/home/tgl/rpmwork/BUILD/unixODBC-2.2.11/DataManager/classDataManager.cpp:199: undefined reference to `iniObjectDelete'
classDataManager.o(.text+0x282):/home/tgl/rpmwork/BUILD/unixODBC-2.2.11/DataManager/classDataManager.cpp:202: undefined reference to `iniObjectSeekSure'
classDataManager.o(.text+0x2ce):/home/tgl/rpmwork/BUILD/unixODBC-2.2.11/DataManager/classDataManager.cpp:204: undefined reference to `iniPropertyInsert'
classDataManager.o(.text+0x317):/home/tgl/rpmwork/BUILD/unixODBC-2.2.11/DataManager/classDataManager.cpp:207: undefined reference to `iniPropertyInsert'
classDataManager.o(.text+0x369):/home/tgl/rpmwork/BUILD/unixODBC-2.2.11/DataManager/classDataManager.cpp:210: undefined reference to `iniPropertyInsert'
classDataManager.o(.text+0x3d3):/home/tgl/rpmwork/BUILD/unixODBC-2.2.11/DataManager/classDataManager.cpp:213: undefined reference to `iniPropertyInsert'
classDataManager.o(.text+0x455):/home/tgl/rpmwork/BUILD/unixODBC-2.2.11/DataManager/classDataManager.cpp:216: undefined reference to `iniPropertyInsert'
classDataManager.o(.text+0x4d8):/home/tgl/rpmwork/BUILD/unixODBC-2.2.11/DataManager/classDataManager.cpp:219: more undefined references to `iniPropertyInsert' follow
classDataManager.o(.text+0x4e6): In function `classDataManager::SaveState()':
/home/tgl/rpmwork/BUILD/unixODBC-2.2.11/DataManager/classDataManager.cpp:221: undefined reference to `iniCommit'
classDataManager.o(.text+0x6df): In function `classDataManager::LoadState()':
/home/tgl/rpmwork/BUILD/unixODBC-2.2.11/DataManager/classDataManager.cpp:114: undefined reference to `iniOpen'
classDataManager.o(.text+0x6f5):/home/tgl/rpmwork/BUILD/unixODBC-2.2.11/DataManager/classDataManager.cpp:116: undefined reference to `iniObjectFirst'
classDataManager.o(.text+0x703):/home/tgl/rpmwork/BUILD/unixODBC-2.2.11/DataManager/classDataManager.cpp:179: undefined reference to `iniObjectEOL'
classDataManager.o(.text+0x738):/home/tgl/rpmwork/BUILD/unixODBC-2.2.11/DataManager/classDataManager.cpp:122: undefined reference to `iniObject'
classDataManager.o(.text+0x74b):/home/tgl/rpmwork/BUILD/unixODBC-2.2.11/DataManager/classDataManager.cpp:123: undefined reference to `iniPropertyFirst'
classDataManager.o(.text+0x841):/home/tgl/rpmwork/BUILD/unixODBC-2.2.11/DataManager/classDataManager.cpp:167: undefined reference to `iniPropertyNext'
classDataManager.o(.text+0x84f):/home/tgl/rpmwork/BUILD/unixODBC-2.2.11/DataManager/classDataManager.cpp:167: undefined reference to `iniPropertyEOL'
classDataManager.o(.text+0x870):/home/tgl/rpmwork/BUILD/unixODBC-2.2.11/DataManager/classDataManager.cpp:135: undefined reference to `iniProperty'
classDataManager.o(.text+0x89d):/home/tgl/rpmwork/BUILD/unixODBC-2.2.11/DataManager/classDataManager.cpp:138: undefined reference to `iniValue'
classDataManager.o(.text+0x8f4):/home/tgl/rpmwork/BUILD/unixODBC-2.2.11/DataManager/classDataManager.cpp:143: undefined reference to `iniValue'
classDataManager.o(.text+0x94d):/home/tgl/rpmwork/BUILD/unixODBC-2.2.11/DataManager/classDataManager.cpp:148: undefined reference to `iniValue'
classDataManager.o(.text+0x9a8):/home/tgl/rpmwork/BUILD/unixODBC-2.2.11/DataManager/classDataManager.cpp:153: undefined reference to `iniValue'
classDataManager.o(.text+0x9ff):/home/tgl/rpmwork/BUILD/unixODBC-2.2.11/DataManager/classDataManager.cpp:158: undefined reference to `iniValue'
classDataManager.o(.text+0xa53):/home/tgl/rpmwork/BUILD/unixODBC-2.2.11/DataManager/classDataManager.cpp:163: more undefined references to `iniValue' follow
classDataManager.o(.text+0xc29): In function `classDataManager::LoadState()':
/home/tgl/rpmwork/BUILD/unixODBC-2.2.11/DataManager/classDataManager.cpp:179: undefined reference to `iniObjectNext'
classDataSource.o(.text+0x34b): In function `classDataSource::Init(int, char*, void*)':
/home/tgl/rpmwork/BUILD/unixODBC-2.2.11/DataManager/classDataSource.cpp:85: undefined reference to `iniElement'
classDataSource.o(.text+0x3b5):/home/tgl/rpmwork/BUILD/unixODBC-2.2.11/DataManager/classDataSource.cpp:87: undefined reference to `iniElement'
classDataSources.o(.text+0x8af): In function `classDataSources::setOpen(bool)':
/home/tgl/rpmwork/BUILD/unixODBC-2.2.11/DataManager/classDataSources.cpp:84: undefined reference to `iniElement'
classDriver.o(.text+0x1df): In function `classDriver::Init(char*, void*)':
/home/tgl/rpmwork/BUILD/unixODBC-2.2.11/DataManager/classDriver.cpp:62: undefined reference to `iniElement'
collect2: ld returned 1 exit status
make[1]: *** [DataManager] Error 1
make[1]: Leaving directory `/home/tgl/rpmwork/BUILD/unixODBC-2.2.11/DataManager'
make: *** [all-recursive] Error 1



More information about the unixODBC-dev mailing list