QtTelnet error in compilation



  • 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 directoryC:/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 toqMain(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 directoryC:/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.



  • 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?



  • 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?



  • 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.


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.