Retroshare compilation with Qt



  • Hello, If anyone has tried compiling retroshare with Qt please let me know. I am repeatedly getting an error and dont know what is the cause. I downloaded the code from the svc.

    If anyone can help me compile this code will highly appreciate his skills
    http://retroshare.sourceforge.net/wiki/index.php/Win32CompileQtCreator

    I am a newbie in this field though.

    I got the following error when it stopped compiling and numerous warnings. Can any one please help.

    @...
    mingw32-make[2]: Leaving directory C:/Development/RetroShare-build-desktop/retroshare-gui/src' mingw32-make[1]: Leaving directoryC:/Development/RetroShare-build-desktop/retroshare-gui/src'
    Warning: .drectve -aligncomm:"_OPENSSL_ia32cap_P",2' unrecognized Warning: .drectve-aligncomm:"_sigx_app",2 ' unrecognized
    Warning: .drectve -aligncomm:"_sig_app",2' unrecognized *c:/qt/2010.05/mingw/bin/../lib/gcc/mingw32/4.4.0/../../../../mingw32/bin/ld.exe: Dwarf Error: Offset (24704) greater than or equal to (null) size (4954657).* ../../../lib/libbz2.a(bzlib.o):bzlib.c:(.text+0x22b3): undefined reference to__chkstk_ms'
    c:/qt/2010.05/mingw/bin/../lib/gcc/mingw32/4.4.0/../../../../mingw32/bin/ld.exe: Dwarf Error: Offset (29876) greater than or equal to (null) size (4954657).
    ../../../lib/libbz2.a(blocksort.o):blocksort.c:(.text+0x937): undefined reference to __chkstk_ms' c:/qt/2010.05/mingw/bin/../lib/gcc/mingw32/4.4.0/../../../../mingw32/bin/ld.exe: Dwarf Error: Offset (1452) greater than or equal to (null) size (4954657). ../../../lib/libbz2.a(huffman.o):huffman.c:(.text+0xa): undefined reference to__chkstk_ms'
    ../../../lib/libcrypto.a(bss_file.o):bss_file.c:(.text+0x74d): undefined reference to __chkstk_ms' ../../../lib/libcrypto.a(cryptlib.o):cryptlib.c:(.text+0x53d): undefined reference to__chkstk_ms'
    ../../../lib/libcrypto.a(err_prn.o):err_prn.c:(.text+0x8a): more undefined references to __chkstk_ms' follow collect2: ld returned 1 exit status mingw32-make[2]: *** [debug\RetroShare.exe] Error 1 mingw32-make[1]: *** [debug] Error 2 mingw32-make: Leaving directoryC:/Development/RetroShare-build-desktop'
    mingw32-make: *** [sub-retroshare-gui-src-retroshare-gui-pro-make_default] Error 2
    The process "C:/Qt/2010.05/mingw/bin/mingw32-make.exe" exited with code %2.
    Error while building project RetroShare (target: Desktop)
    When executing build step 'Make'
    @



  • The

    @
    undefined reference to `__chkstk_ms'
    @

    is a linker error (many others at http://richelbilderbeek.nl/CppLinkError.htm ). You must link to the library '__chkstk_ms' belongs too, but this is where my knowledge falls short. Perhaps a Windows programmer knows?

    Good luck, Bilderbikkel


Log in to reply
 

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