SourceForge has been redesigned. Learn more.

build problem with qt-4.3.0

  • Treeve Jelbert

    Treeve Jelbert - 2007-06-20

    trying to build openrpt-2.1.0

    g++ -Wl,-rpath,/usr/lib -o ../bin/metasql tmp/metasql.o tmp/booledit.o
    tmp/doubleedit.o tmp/intedit.o tmp/listedit.o tmp/logoutput.o
    tmp/mqledit.o tmp/newvariant.o tmp/parameteredit.o tmp/resultsoutput.o
    tmp/stringedit.o tmp/qlistboxvariant.o tmp/data.o tmp/main.o
    tmp/moc_booledit.o tmp/moc_doubleedit.o tmp/moc_intedit.o
    tmp/moc_listedit.o tmp/moc_logoutput.o tmp/moc_mqledit.o
    tmp/moc_newvariant.o tmp/moc_parameteredit.o tmp/moc_resultsoutput.o
    tmp/moc_stringedit.o tmp/qrc_OpenRPTMetaSQL.o    -L/usr/lib -L../lib
    -lcommon -lQt3Support -L/usr/firebird/lib -L/usr/lib -pthread -pthread
    -pthread -pthread -lQtXml -pthread -pthread -pthread -pthread
    -L/usr/X11R6/lib -pthread -pthread -pthread -pthread -lQtNetwork
    -pthread -pthread -pthread -pthread -pthread -pthread -lQtSql -pthread
    -pthread -lQtGui -lpng -lSM -lICE -pthread -pthread -lXi -lXrender
    -lXrandr -lXfixes -lXcursor -lXinerama -lfreetype -lfontconfig -lXext
    -lX11 -lQtCore -lsqlite3 -lz -lm -pthread -lgthread-2.0 -lrt -lglib-2.0
    -ldl -lpthread
    tmp/mqledit.o: In function `MQLEdit::fileDatabaseConnect()':
    mqledit.cpp:(.text+0x2cc): undefined reference to
    `login::set(ParameterList const&, QSplashScreen*)'
    collect2: ld returned 1 exit status
    make[1]: *** [../bin/metasql] Error 1
    make[1]: Leaving directory `/usr/src/openrpt-2.1.0-src/MetaSQL'

    • Chris Ryan

      Chris Ryan - 2007-06-25

      I am baffled by the reported error. I am not using 4.3 however know someone who compiled the source with 4.3 and they did not report any problems. I can't decipher any cause that would be related to 4.3 specifically either. The best I can think of is possibly that there is a library conflict and the wrong library is being loaded at link time. The library is named common so it is possible another installed library could conflict. This is just a guess however. As a test for this you could try modifying the makefile to reference the file by path instead of letting it search for it.

      I don't know if any of this helps. Let us know if you figure something out or have some other information that might help us understand the problem.

    • Treeve Jelbert

      Treeve Jelbert - 2007-07-17

      problem solved.

      it was finding an old version of openrpt rather the new one being built.

      after removing the old version, everything builds correctly

      • Chris Ryan

        Chris Ryan - 2007-07-17

        I am glad to hear that you were able to resolve your problem. Thank you for sharing your solution.



Log in to post a comment.