Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. QtTelnet error in compilation
Qt 6.11 is out! See what's new in the release blog

QtTelnet error in compilation

Scheduled Pinned Locked Moved General and Desktop
4 Posts 2 Posters 4.8k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • G Offline
    G Offline
    gronerth
    wrote on last edited by
    #1

    Hello everyone,

    I am trying to compile "qttelnet-2.1_1-opensource" but i am having some issues:

    C:\QtProjects\qttelnet-2.1_1-opensource\qttelnet-2.1_1-opensource>make
    cd buildlib\ && mingw32-make -f Makefile
    mingw32-make[1]: Entering directory C:/QtProjects/qttelnet-2.1_1-opensource/qttelnet-2.1_1-opensource/buildlib' mingw32-make -f Makefile.Debug mingw32-make[2]: Entering directory C:/QtProjects/qttelnet-2.1_1-opensource/qttelnet-2.1_1-opensource/buildlib'
    g++ -enable-stdcall-fixup -Wl,-enable-auto-import -Wl,-enable-runtime-pseudo-reloc -mthreads -Wl -Wl,-subsystem,windows -o debug\Jose.exe -L"c:\Qt\2010.05-rc1\qt\lib" -lmingw32 -lqtmaind -lQtGuid4 -lQtCored4
    c:\Qt\2010.05-rc1\qt\lib/libqtmaind.a(qtmain_win.o): In function WinMain@16': C:\qt-greenhouse\Trolltech\Code_less_create_more\Trolltech\Code_less_create_more\Troll\4.6\qt\src\winmain/qtmain_win.cpp:131: undefined reference to qMain(int, char**)'
    collect2: ld returned 1 exit status
    mingw32-make[2]: *** [debug\Jose.exe] Error 1
    mingw32-make[2]: Leaving directory C:/QtProjects/qttelnet-2.1_1-opensource/qtte lnet-2.1_1-opensource/buildlib' mingw32-make[1]: *** [debug] Error 2 mingw32-make[1]: Leaving directory C:/QtProjects/qttelnet-2.1_1-opensource/qtte
    lnet-2.1_1-opensource/buildlib'
    mingw32-make: *** [sub-buildlib-make_default-ordered] Error 2

    Thanks in advance for ur help,

    José T.


    JETG

    1 Reply Last reply
    0
    • G Offline
      G Offline
      goetz
      wrote on last edited by
      #2

      From what google gives me as results, it could be that there are multiple versions of gcc/g++ are installed: one from the SDK, one or more that you did install yourself. Did you check, that your lib did grab the right one?

      http://www.catb.org/~esr/faqs/smart-questions.html

      1 Reply Last reply
      0
      • G Offline
        G Offline
        gronerth
        wrote on last edited by
        #3

        I have compile the library from the "Qt Command Prompt", so it just have a single version of mingw, and a single version of Qt. Have you test before to try compile it?


        JETG

        1 Reply Last reply
        0
        • G Offline
          G Offline
          goetz
          wrote on last edited by
          #4

          Hm, sorry, never had to deal with MinGW. It was only some google research on the error message. Maybe someone else, e.g. from the Qt Windows group, can help you further.

          http://www.catb.org/~esr/faqs/smart-questions.html

          1 Reply Last reply
          0

          • Login

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • Users
          • Groups
          • Search
          • Get Qt Extensions
          • Unsolved