Menu

SVN Compile Error

Help
2009-01-11
2013-04-25
  • Christopher

    Christopher - 2009-01-11

    When trying to compile from svn:

    ~/Downloads/Dev/unixodbc-gui-qt_svn/unixodbc-gui-qt/trunk$ make -f Makefile.svn
    *** Retrieving configure tests needed by configure.in
    *** Building Makefile templates (step one)
    configure.in:104: installing `./config.guess'
    configure.in:104: installing `./config.sub'
    configure.in:6: installing `./install-sh'
    configure.in:6: installing `./missing'
    ODBCCreateDataSourceQ4/Makefile.am: installing `./depcomp'
    configure.in:471: required file `gtrtstQ4/Makefile.in' not found
    make: *** [cvs] Error 1

    I did some searching, but I'm not sure of the issue.

     
    • Christopher

      Christopher - 2009-01-11

      Using qmake, I get undefined references:

      g++ -Wl,--no-undefined -shared -o libodbcinstQ4.so .tmp/CAbout.o .tmp/CAdvanced.o .tmp/CDataSourceNameList.o .tmp/CDataSourceNamesFile.o .tmp/CDataSourceNamesFileModel.o .tmp/CDataSourceNames.o .tmp/CDriverList.o .tmp/CDriverPrompt.o .tmp/CDSNWizardProperties.o .tmp/CDSNWizardDriver.o .tmp/CDSNWizardEntre.o .tmp/CDSNWizardFini.o .tmp/CDSNWizard.o .tmp/CDSNWizardType.o .tmp/CFileSelector.o .tmp/CHelp.o .tmp/CManageDataSourceNames.o .tmp/CManageDrivers.o .tmp/CODBCConfig.o .tmp/CODBCInst.o .tmp/CPage.o .tmp/CPooling.o .tmp/CPropertiesDelegate.o .tmp/CPropertiesDialog.o .tmp/CPropertiesModel.o .tmp/CMonitorHandleCounts.o .tmp/CMonitor.o .tmp/CMonitorProcesses.o .tmp/CThreading.o .tmp/CTracing.o .tmp/SQLManageDataSources.o .tmp/moc_CAbout.o .tmp/moc_CAdvanced.o .tmp/moc_CDataSourceNameList.o .tmp/moc_CDataSourceNamesFile.o .tmp/moc_CDataSourceNamesFileModel.o .tmp/moc_CDataSourceNames.o .tmp/moc_CDriverList.o .tmp/moc_CDriverPrompt.o .tmp/moc_CDSNWizardProperties.o .tmp/moc_CDSNWizardDriver.o .tmp/moc_CDSNWizardEntre.o .tmp/moc_CDSNWizardFini.o .tmp/moc_CDSNWizard.o .tmp/moc_CDSNWizardType.o .tmp/moc_CFileSelector.o .tmp/moc_CHelp.o .tmp/moc_CManageDataSourceNames.o .tmp/moc_CManageDrivers.o .tmp/moc_CMonitor.o .tmp/moc_CMonitorHandleCounts.o .tmp/moc_CMonitorProcesses.o .tmp/moc_CODBCConfig.o .tmp/moc_CPooling.o .tmp/moc_CPropertiesDelegate.o .tmp/moc_CPropertiesDialog.o .tmp/moc_CThreading.o .tmp/moc_CTracing.o   -L/usr/lib -L -lodbc -lodbcinst -L../lib -lini -lpthread -lQtGui -lQtCore
      .tmp/CDataSourceNamesFile.o: In function `CDataSourceNamesFile::getDefault()':
      CDataSourceNamesFile.cpp:(.text+0x2f): undefined reference to `_odbcinst_FileINI'
      .tmp/CDriverList.o: In function `CDriverList::slotLoad()':
      CDriverList.cpp:(.text+0x19c): undefined reference to `odbcinst_system_file_name'
      .tmp/CDriverList.o: In function `CDriverList::slotAdd()':
      CDriverList.cpp:(.text+0x194c): undefined reference to `odbcinst_system_file_name'
      .tmp/CDriverList.o: In function `CDriverList::slotDelete()':
      CDriverList.cpp:(.text+0x1bb0): undefined reference to `odbcinst_system_file_name'
      .tmp/CDriverList.o: In function `CDriverList::slotEdit()':
      CDriverList.cpp:(.text+0x2022): undefined reference to `odbcinst_system_file_name'
      .tmp/CODBCInst.o: In function `CODBCInst::saveDataSourceName(QWidget*, tODBCINSTPROPERTY*, CDSNWizardData::Type, QString const&)':
      CODBCInst.cpp:(.text+0x92f): undefined reference to `_odbcinst_FileINI'
      .tmp/CMonitorHandleCounts.o: In function `CMonitorHandleCounts::~CMonitorHandleCounts()':
      CMonitorHandleCounts.cpp:(.text+0x43): undefined reference to `uodbc_close_stats'
      .tmp/CMonitorHandleCounts.o: In function `CMonitorHandleCounts::~CMonitorHandleCounts()':
      CMonitorHandleCounts.cpp:(.text+0xa3): undefined reference to `uodbc_close_stats'
      .tmp/CMonitorHandleCounts.o: In function `CMonitorHandleCounts::~CMonitorHandleCounts()':
      CMonitorHandleCounts.cpp:(.text+0x113): undefined reference to `uodbc_close_stats'
      .tmp/CMonitorHandleCounts.o: In function `CMonitorHandleCounts::slotLoad()':
      CMonitorHandleCounts.cpp:(.text+0x1422): undefined reference to `uodbc_get_stats'
      CMonitorHandleCounts.cpp:(.text+0x1832): undefined reference to `uodbc_open_stats'
      .tmp/CMonitorProcesses.o: In function `CMonitorProcesses::~CMonitorProcesses()':
      CMonitorProcesses.cpp:(.text+0x43): undefined reference to `uodbc_close_stats'
      .tmp/CMonitorProcesses.o: In function `CMonitorProcesses::~CMonitorProcesses()':
      CMonitorProcesses.cpp:(.text+0xa3): undefined reference to `uodbc_close_stats'
      .tmp/CMonitorProcesses.o: In function `CMonitorProcesses::~CMonitorProcesses()':
      CMonitorProcesses.cpp:(.text+0x113): undefined reference to `uodbc_close_stats'
      .tmp/CMonitorProcesses.o: In function `CMonitorProcesses::slotLoad()':
      CMonitorProcesses.cpp:(.text+0xce1): undefined reference to `uodbc_get_stats'
      CMonitorProcesses.cpp:(.text+0xdb2): undefined reference to `uodbc_get_stats'
      CMonitorProcesses.cpp:(.text+0xfaf): undefined reference to `uodbc_open_stats'
      collect2: ld returned 1 exit status
      make[1]: *** [../lib/libodbcinstQ4.so] Error 1

       
    • Peter Harvey

      Peter Harvey - 2009-01-17

      This was caused from some missing files. The missing files have been uploaded. Please try again.

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.