compiling mumble on windows

Help
Hellis
2007-10-27
2012-10-30
  • Hellis
    Hellis
    2007-10-27

    So I've got to the last step (finally) but I can't figure out how to compile Mumble.

    This:
    cd \dev\mumble
    qmake
    make clean
    make

    Returns:
    C:\dev\mumble>cd \dev\mumble

    C:\dev\mumble>qmake
    'qmake' is not recognized as an internal or external command,
    operable program or batch file.

    C:\dev\mumble>make clean
    'make' is not recognized as an internal or external command,
    operable program or batch file.

    C:\dev\mumble>make
    'make' is not recognized as an internal or external command,
    operable program or batch file.

    C:\dev\mumble>

    Which is fine because I know how to get around this just use mingw32-make and such but for some reason cd'ing over to \dev\mumble then using the mingw32-make outputs:

    C:\dev\mumble>mingw32-make
    mingw32-make: *** No targets specified and no makefile found. Stop.

    So what am I doing wrong, obviously I need to generate a makefile, which is probably in some other directory, why? It's because I need to cd over to the directory with the executable in it and then use the path to mumble.

    Could someone please help me.

     
    • Hellis
      Hellis
      2007-11-01

      AudioOutput.cpp:189: error: at this point in file
      ../../../Qt4.3.1/include/QtCore/../../src/corelib/tools/qhash.h: In member funct
      ion 'typename QHash<Key, T>::iterator QMultiHash<Key, T>::insert(const Key&, con
      st T&) [with Key = const ClientPlayer, T = AudioOutputPlayer]':
      AudioOutput.cpp:249: instantiated from here
      ../../../Qt4.3.1/include/QtCore/../../src/corelib/tools/qhash.h:888: warning: de
      claration of 'value' shadows a member of 'this'
      ../../../Qt4.3.1/include/QtCore/../../src/corelib/tools/qhash.h:888: warning: de
      claration of 'key' shadows a member of 'this'
      ../../../Qt4.3.1/include/QtCore/../../src/corelib/tools/qhash.h: In member funct
      ion 'typename QHash<Key, T>::iterator QMultiHash<Key, T>::replace(const Key&, co
      nst T&) [with Key = const ClientPlayer, T = AudioOutputPlayer]':
      AudioOutput.cpp:261: instantiated from here
      ../../../Qt4.3.1/include/QtCore/../../src/corelib/tools/qhash.h:885: warning: de
      claration of 'value' shadows a member of 'this'
      ../../../Qt4.3.1/include/QtCore/../../src/corelib/tools/qhash.h:885: warning: de
      claration of 'key' shadows a member of 'this'
      make[2]: [debug\AudioOutput.o] Error 1
      make[2]: Leaving directory C:/dev/mumble/src/mumble' make[1]: *** [debug] Error 2 make[1]: Leaving directoryC:/dev/mumble/src/mumble'
      make:
      [sub-src-mumble-make_default] Error 2

      I finally got the SSL to compile but this is what I'm getting now.

       
    • Either your Qt compile failed or c:\dev\qt4.3.1\bin is not in your path.

       
    • Hellis
      Hellis
      2007-10-27

      It's there yet nothing works unless I execute from the directory, which I guess would still work, right?

       
      • If you have qmake.exe in c:\dev\qt4.3.1\bin and you also have that in your PATH then it will find qmake.

         
    • Hellis
      Hellis
      2007-10-27

      That's exactly how its setup right now.

       
      • Then you're doing something wrong, or your windows installation is more broken than I've ever heard of.

        If a executable is in %PATH% and you type it's name, it gets found and executed.

        BTW; I noticed it can't find "make" either, but it can find mingw32-make. The instructions we've posted explicitly state to copy mingw32-make.exe to make.exe. Make sure there aren't any other steps you've skipped.

         
    • Hellis
      Hellis
      2007-10-27

      Everything is in place, I followed the guide to the T and made some modifications due to it being so out of date.

      I just re-did the copying of the mingw32-make.exe (it asked to overwrite so I know it was already done).

       
      • From your compile prompt, type

        set

        and paste the entire output here.

         
    • Hellis
      Hellis
      2007-10-27

      C:\dev\MinGW\bin>set
      ALLUSERSPROFILE=C:\Documents and Settings\All Users
      APPDATA=C:\Documents and Settings\Kyle\Application Data
      CLASSPATH=.;C:\Program Files\Java\jre1.6.0_02\lib\ext\QTJava.zip
      CLIENTNAME=Console
      CommonProgramFiles=C:\Program Files\Common Files
      COMPUTERNAME=KYLE-8BFC2C9E30
      ComSpec=C:\WINDOWS\system32\cmd.exe
      DXSDK_DIR=C:\Program Files\Microsoft DirectX SDK (August 2007)\ FP_NO_HOST_CHECK=NO
      HOMEDRIVE=C:
      HOMEPATH=\Documents and Settings\Kyle
      LOGONSERVER=\KYLE-8BFC2C9E30
      NUMBER_OF_PROCESSORS=1
      OS=Windows_NT
      Path=C:\Perl\bin;C:\Program Files\Microsoft DirectX SDK (August 2007)\Utilities\ Bin\x86;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files
      \IDM Computer Solutions\UltraEdit-32;C:\Program Files\QuickTime\QTSystem\;C:\Pro
      gram Files\Microsoft SQL Server\90\Tools\binn\;C:\Program Files\CMake 2.4\bin;C:
      \MinGW\bin
      PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH
      PROCESSOR_ARCHITECTURE=x86
      PROCESSOR_IDENTIFIER=x86 Family 6 Model 13 Stepping 8, GenuineIntel
      PROCESSOR_LEVEL=6
      PROCESSOR_REVISION=0d08
      ProgramFiles=C:\Program Files
      PROMPT=$P$G
      QTJAVA=C:\Program Files\Java\jre1.6.0_02\lib\ext\QTJava.zip
      SESSIONNAME=Console
      SystemDrive=C:
      SystemRoot=C:\WINDOWS
      TEMP=C:\DOCUME~1\Kyle\LOCALS~1\Temp
      TMP=C:\DOCUME~1\Kyle\LOCALS~1\Temp
      USERDOMAIN=KYLE-8BFC2C9E30
      USERNAME=Kyle
      USERPROFILE=C:\Documents and Settings\Kyle
      VS80COMNTOOLS=C:\Program Files\Microsoft Visual Studio 8\Common7\Tools\ VS90COMNTOOLS=C:\Program Files\Microsoft Visual Studio 9.0\Common7\Tools\ windir=C:\WINDOWS
      __COMPAT_LAYER=EnableNXShowUI

      C:\dev\MinGW\bin>

       
      • Your %PATH% does not include c:\dev\qt4.3.1.. or c:\dev\mingw.. or c:\dev\cmake..
        Nor any of the other environment variables needed.

        Have you run the prep.bat file?

        Also, your path does contain links to numerous other locations with mingw and cmake. This will likely cause you problems.

         
    • Hellis
      Hellis
      2007-10-27

      > Have you run the prep.bat file?
      Yes, many times.

       
      • From the same command line that you're using to compile? If so, check it's contents, because it's not being used.

         
    • Hellis
      Hellis
      2007-10-27

      Oh my god, its cleaning, now its making...

      Thanks so very much!

       
    • Hellis
      Hellis
      2007-10-27

      OR not...

      <more stuff here>
      tion)
      ..\speex\libspeex\cb_search.c:353: warning: passing argument 6 of 'compute_weigh
      ted_codebook' makes pointer from integer without a cast
      ..\speex\libspeex\cb_search.c:353: error: too many arguments to function 'comput
      e_weighted_codebook'
      make[2]: [debug\cb_search.o] Error 1
      make[2]: Leaving directory C:/dev/mumble/speexbuild' make[1]: *** [debug] Error 2 make[1]: Leaving directoryC:/dev/mumble/speexbuild'
      make:
      [sub-speexbuild-make_default] Error 2

       
      • more context, please.

        But.. If you've made Qt and the rest of the dependencies without having run prep.bat before starting their compile, they will likely be misconfigured and give you all kinds of trouble.

         
    • Hellis
      Hellis
      2007-10-27

      • That Qt hasn't had it's mkspec modified. That probably means it doesn't have the other Qt patches either. Is this a g++3 compiled Qt (the g++ from the mingw installer)? If so, it will never work.

        You probably have to clean your environment (including uninstalling your installed mingw and cmake) and start over :(

         
    • Hellis
      Hellis
      2007-10-28

      I reinstalled everything and executed prep.bat preceding every command section I'm using revision 823 of mumble and it isn't compiling (as in there's some error in the scripts of mumble I would imagine)...

      The output:

      C:\dev\mumble>make
      cd speexbuild\ && make -f Makefile
      make[1]: Entering directory C:/dev/mumble/speexbuild' make -f Makefile.Debug make[2]: Entering directoryC:/dev/mumble/speexbuild'
      gcc -c -g -Wall -DUNICODE -DQT_LARGEFILE_SUPPORT -DNDEBUG -DHAVE_CONFIG_H -DWIN3
      2 -D_WINDOWS -D_USE_SSE -DVAR_ARRAYS -I"..\speex\include" -I"..\speex\libspeex"
      -I"..\speex\win32" -I"." -I"....\Qt4.3.1\mkspecs\default" -o debug\bits.o ..\sp
      eex\libspeex\bits.c
      gcc -c -g -Wall -DUNICODE -DQT_LARGEFILE_SUPPORT -DNDEBUG -DHAVE_CONFIG_H -DWIN3
      2 -D_WINDOWS -D_USE_SSE -DVAR_ARRAYS -I"..\speex\include" -I"..\speex\libspeex"
      -I"..\speex\win32" -I"." -I"....\Qt4.3.1\mkspecs\default" -o debug\cb_search.o
      ..\speex\libspeex\cb_search.c
      In file included from ..\speex\libspeex\/vq.h:45,
      from ..\speex\libspeex\cb_search.c:39:
      c:/dev/mingw/bin/../lib/gcc/mingw32/4.2.1/include/xmmintrin.h:35:3: error: #erro
      r "SSE instruction set not enabled"
      In file included from ..\speex\libspeex\cb_search.c:39:
      ..\speex\libspeex\/vq.h:46: warning: type defaults to 'int' in declaration of '_
      _m128'
      ..\speex\libspeex\/vq.h:46: error: expected ';', ',' or ')' before '' token
      ..\speex\libspeex\/vq.h:48: warning: type defaults to 'int' in declaration of '_
      _m128'
      ..\speex\libspeex\/vq.h:48: error: expected ';', ',' or ')' before '
      ' token
      In file included from ..\speex\libspeex\cb_search.c:45:
      ..\speex\libspeex\/cb_search_sse.h:37: error: expected ')' before 'U'
      ..\speex\libspeex\/cb_search_sse.h:54: error: expected declaration specifiers or
      '...' before 'm128'
      ..\speex\libspeex\/cb_search_sse.h:54: error: expected declaration specifiers or
      '...' before '
      m128'
      ..\speex\libspeex\/cb_search_sse.h: In function 'compute_weighted_codebook':
      ..\speex\libspeex\/cb_search_sse.h:57: error: 'm128' undeclared (first use in
      this function)
      ..\speex\libspeex\/cb_search_sse.h:57: error: (Each undeclared identifier is rep
      orted only once
      ..\speex\libspeex\/cb_search_sse.h:57: error: for each function it appears in.)
      ..\speex\libspeex\/cb_search_sse.h:57: error: expected ';' before 'resj'
      ..\speex\libspeex\/cb_search_sse.h:60: error: expected ';' before 'r'
      ..\speex\libspeex\/cb_search_sse.h:61: error: expected ';' before 'shape'
      ..\speex\libspeex\/cb_search_sse.h:63: error: 'r' undeclared (first use in this
      function)
      ..\speex\libspeex\/cb_search_sse.h:63: warning: implicit declaration of function
      '_mm_load_ps1'
      ..\speex\libspeex\/cb_search_sse.h:68: error: 'EE' undeclared (first use in this
      function)
      ..\speex\libspeex\/cb_search_sse.h:68: warning: implicit declaration of function
      '_mm_setzero_ps'
      ..\speex\libspeex\/cb_search_sse.h:71: error: 'shape' undeclared (first use in t
      his function)
      ..\speex\libspeex\/cb_search_sse.h:71: warning: implicit declaration of function
      '_mm_setr_ps'
      ..\speex\libspeex\/cb_search_sse.h:75: error: 'resj' undeclared (first use in th
      is function)
      ..\speex\libspeex\/cb_search_sse.h:77: warning: implicit declaration of function
      '_mm_add_ps'
      ..\speex\libspeex\/cb_search_sse.h:77: warning: implicit declaration of function
      '_mm_mul_ps'
      ..\speex\libspeex\/cb_search_sse.h:78: warning: implicit declaration of function
      '_spx_mm_getr_ps'
      ..\speex\libspeex\/cb_search_sse.h:79: error: 'resp2' undeclared (first use in t
      his function)
      ..\speex\libspeex\/cb_search_sse.h:82: error: 'E' undeclared (first use in this
      function)
      ..\speex\libspeex\cb_search.c: In function 'split_cb_search_shape_sign_N1':
      ..\speex\libspeex\cb_search.c:141: error: '
      m128' undeclared (first use in this
      function)
      ..\speex\libspeex\cb_search.c:141: error: expected ';' before 'resp2'
      ..\speex\libspeex\cb_search.c:142: error: expected ';' before 'E'
      ..\speex\libspeex\cb_search.c:154: error: 'resp2' undeclared (first use in this
      function)
      ..\speex\libspeex\cb_search.c:154: error: 'E' undeclared (first use in this func
      tion)
      ..\speex\libspeex\cb_search.c:154: warning: passing argument 6 of 'compute_weigh
      ted_codebook' makes pointer from integer without a cast
      ..\speex\libspeex\cb_search.c:154: error: too many arguments to function 'comput
      e_weighted_codebook'
      ..\speex\libspeex\cb_search.c:161: warning: implicit declaration of function 'vq
      _nbest_sign'
      ..\speex\libspeex\cb_search.c:163: warning: implicit declaration of function 'vq
      _nbest'
      ..\speex\libspeex\cb_search.c: In function 'split_cb_search_shape_sign':
      ..\speex\libspeex\cb_search.c:314: error: '__m128' undeclared (first use in this
      function)
      ..\speex\libspeex\cb_search.c:314: error: expected ';' before 'resp2'
      ..\speex\libspeex\cb_search.c:315: error: expected ';' before 'E'
      ..\speex\libspeex\cb_search.c:353: error: 'resp2' undeclared (first use in this
      function)
      ..\speex\libspeex\cb_search.c:353: error: 'E' undeclared (first use in this func
      tion)
      ..\speex\libspeex\cb_search.c:353: warning: passing argument 6 of 'compute_weigh
      ted_codebook' makes pointer from integer without a cast
      ..\speex\libspeex\cb_search.c:353: error: too many arguments to function 'comput
      e_weighted_codebook'
      make[2]: [debug\cb_search.o] Error 1
      make[2]: Leaving directory C:/dev/mumble/speexbuild' make[1]: *** [debug] Error 2 make[1]: Leaving directoryC:/dev/mumble/speexbuild'
      make:
      [sub-speexbuild-make_default] Error 2

      Thanks.

       
      • This is still an unpatched Qt.

        Could you cut&paste c:\dev\qt4.3.1\mkspecs\win32-g++\qmake.conf ?
        Also make sure that qmake.conf is the exact same as in c:\dev\qt4.3.1\mkspecs\default\

         
    • Hellis
      Hellis
      2007-10-28

      qmake configuration for win32-g++

      Written for MinGW

      MAKEFILE_GENERATOR = MINGW
      TEMPLATE = app
      CONFIG += qt warn_on release link_prl copy_dir_files debug_and_release debug_and_release_target precompile_header
      QT += core gui
      DEFINES += UNICODE QT_LARGEFILE_SUPPORT
      QMAKE_COMPILER_DEFINES += GNUC WIN32

      QMAKE_EXT_OBJ = .o
      QMAKE_EXT_RES = _res.o

      QMAKE_CC = gcc
      QMAKE_LEX = flex
      QMAKE_LEXFLAGS =
      QMAKE_YACC = byacc
      QMAKE_YACCFLAGS = -d
      QMAKE_CFLAGS =
      QMAKE_CFLAGS_DEPS = -M
      QMAKE_CFLAGS_WARN_ON = -Wall
      QMAKE_CFLAGS_WARN_OFF = -w
      QMAKE_CFLAGS_RELEASE = -O2
      QMAKE_CFLAGS_DEBUG = -g
      QMAKE_CFLAGS_YACC = -Wno-unused -Wno-parentheses

      QMAKE_CXX = g++
      QMAKE_CXXFLAGS = $$QMAKE_CFLAGS
      QMAKE_CXXFLAGS_DEPS = $$QMAKE_CFLAGS_DEPS
      QMAKE_CXXFLAGS_WARN_ON = $$QMAKE_CFLAGS_WARN_ON
      QMAKE_CXXFLAGS_WARN_OFF = $$QMAKE_CFLAGS_WARN_OFF
      QMAKE_CXXFLAGS_RELEASE = $$QMAKE_CFLAGS_RELEASE
      QMAKE_CXXFLAGS_DEBUG = $$QMAKE_CFLAGS_DEBUG
      QMAKE_CXXFLAGS_YACC = $$QMAKE_CFLAGS_YACC
      QMAKE_CXXFLAGS_THREAD = $$QMAKE_CFLAGS_THREAD
      QMAKE_CXXFLAGS_RTTI_ON = -frtti
      QMAKE_CXXFLAGS_RTTI_OFF = -fno-rtti
      QMAKE_CXXFLAGS_EXCEPTIONS_ON = -fexceptions -mthreads
      QMAKE_CXXFLAGS_EXCEPTIONS_OFF = -fno-exceptions

      QMAKE_INCDIR =
      QMAKE_INCDIR_QT = $$[QT_INSTALL_HEADERS]
      QMAKE_LIBDIR_QT = $$[QT_INSTALL_LIBS]

      QMAKE_RUN_CC = $(CC) -c $(CFLAGS) $(INCPATH) -o $obj $src
      QMAKE_RUN_CC_IMP = $(CC) -c $(CFLAGS) $(INCPATH) -o $@ $<
      QMAKE_RUN_CXX = $(CXX) -c $(CXXFLAGS) $(INCPATH) -o $obj $src
      QMAKE_RUN_CXX_IMP = $(CXX) -c $(CXXFLAGS) $(INCPATH) -o $@ $<

      QMAKE_LINK = g++
      QMAKE_LFLAGS = -enable-stdcall-fixup -Wl,-enable-auto-import -Wl,-enable-runtime-pseudo-reloc
      QMAKE_LFLAGS_EXCEPTIONS_ON = -mthreads -Wl
      QMAKE_LFLAGS_EXCEPTIONS_OFF =
      QMAKE_LFLAGS_RELEASE = -Wl,-s
      QMAKE_LFLAGS_DEBUG =
      QMAKE_LFLAGS_CONSOLE = -Wl,-subsystem,console
      QMAKE_LFLAGS_WINDOWS = -Wl,-subsystem,windows
      QMAKE_LFLAGS_DLL = -shared
      QMAKE_LINK_OBJECT_MAX = 10
      QMAKE_LINK_OBJECT_SCRIPT= object_script

      QMAKE_LIBS =
      QMAKE_LIBS_CORE = -lkernel32 -luser32 -lshell32 -luuid -lole32 -ladvapi32 -lws2_32
      QMAKE_LIBS_GUI = -lgdi32 -lcomdlg32 -loleaut32 -limm32 -lwinmm -lwinspool -lws2_32 -lole32 -luuid -luser32 -ladvapi32
      QMAKE_LIBS_NETWORK = -lws2_32
      QMAKE_LIBS_OPENGL = -lopengl32 -lglu32 -lgdi32 -luser32
      QMAKE_LIBS_COMPAT = -ladvapi32 -lshell32 -lcomdlg32 -luser32 -lgdi32 -lws2_32
      QMAKE_LIBS_QT_ENTRY = -lmingw32 -lqtmain

      !isEmpty(QMAKE_SH) {
      MINGW_IN_SHELL = 1
      QMAKE_DIR_SEP = /
      QMAKE_COPY = cp
      QMAKE_COPY_DIR = xcopy /s /q /y /i
      QMAKE_MOVE = mv
      QMAKE_DEL_FILE = rm
      QMAKE_MKDIR = mkdir
      QMAKE_DEL_DIR = rmdir
      QMAKE_CHK_DIR_EXISTS = test -d
      } else {
      QMAKE_COPY = copy /y
      QMAKE_COPY_DIR = xcopy /s /q /y /i
      QMAKE_MOVE = move
      QMAKE_DEL_FILE = del
      QMAKE_MKDIR = mkdir
      QMAKE_DEL_DIR = rmdir
      QMAKE_CHK_DIR_EXISTS = if not exist
      }

      QMAKE_MOC = $$[QT_INSTALL_BINS]$${DIR_SEPARATOR}moc.exe
      QMAKE_UIC = $$[QT_INSTALL_BINS]$${DIR_SEPARATOR}uic.exe
      QMAKE_IDC = $$[QT_INSTALL_BINS]$${DIR_SEPARATOR}idc.exe

      QMAKE_IDL = midl
      QMAKE_LIB = ar -ru
      QMAKE_RC = windres
      QMAKE_ZIP = zip -r -9

      QMAKE_STRIP = strip
      QMAKE_STRIPFLAGS_LIB += --strip-unneeded
      load(qt_config)

      There's a difference between the two files...
      C:\dev\Qt4.3.1\mkspecs\default\qmake.conf has this at the end:
      "
      QMAKESPEC_ORIGINAL=C:/dev/Qt4.3.1/mkspecs/win32-g++" while the other file does not.

       
    • Hellis
      Hellis
      2007-10-28

      When I try to patch Qt this is what happens:

      C:\dev\Qt4.3.1>patch -p0 < /dev/qt431.patch
      patching file ./mkspecs/win32-g++/qmake.conf
      Assertion failed: hunk, file ../patch-2.5.9-src/patch.c, line 354

      This application has requested the Runtime to terminate it in an unusual way.
      Please contact the application's support team for more information.

       
    • Hellis
      Hellis
      2007-10-29

      Ok, I think I've got it to compile, well kind of in C:\dev\mumble\src\mumble\debug I have many <filename>.o's and a file named mumble_pch.h.gch which contains c++ (its a file). Here's the last bunch of lines from doing the "make" command for Mumble:

      cs\default" -o debug\moc_DXAudioOutput.o debug\moc_DXAudioOutput.cpp
      C:/dev/Qt4.3.1/bin\moc.exe -DUNICODE -DQT_LARGEFILE_SUPPORT -DWIN32 -DQT_THREAD_
      SUPPORT -DQT_DLL -DQT_SQL_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_NET
      WORK_LIB -DQT_CORE_LIB -I"......\Qt4.3.1\include\QtCore" -I"......\Qt4.3.1\i
      nclude\QtCore" -I"......\Qt4.3.1\include\QtNetwork" -I"......\Qt4.3.1\includ
      e\QtNetwork" -I"......\Qt4.3.1\include\QtGui" -I"......\Qt4.3.1\include\QtGu
      i" -I"......\Qt4.3.1\include\QtOpenGL" -I"......\Qt4.3.1\include\QtOpenGL" -
      I"......\Qt4.3.1\include\QtXml" -I"......\Qt4.3.1\include\QtXml" -I"......
      \Qt4.3.1\include\QtSql" -I"......\Qt4.3.1\include\QtSql" -I"......\Qt4.3.1\i
      nclude" -I"......\Qt4.3.1\include\QtDBus" -I".." -I"....\speex\include" -I"..
      ....\dxsdk\Include" -I"......\SpeechSDK\include" -I"......\Boost\include\b
      oost-1_34_1" -I"......\openssl\outinc" -I"debug" -I"......\Qt4.3.1\include\A
      ctiveQt" -I"." -I"......\Qt4.3.1\mkspecs\default" -DGNUC -DWIN32 DXConfigD
      ialog.h -o debug\moc_DXConfigDialog.cpp
      g++ -c -include debug\mumble_pch.h -Wshadow -Woverloaded-virtual -Wold-style-cas
      t -Wconversion -Wsign-compare -Wall -Wextra -msse -mmmx -O2 -fno-inline -g -marc
      h=pentium3 -mtune=generic -mmmx -msse -Wall -frtti -fno-exceptions -DUNICODE -DQ
      T_LARGEFILE_SUPPORT -DWIN32 -DQT_THREAD_SUPPORT -DQT_DLL -DQT_SQL_LIB -DQT_XML_L
      IB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I"......\Qt4.3
      .1\include\QtCore" -I"......\Qt4.3.1\include\QtCore" -I"......\Qt4.3.1\inclu
      de\QtNetwork" -I"......\Qt4.3.1\include\QtNetwork" -I"......\Qt4.3.1\include
      \QtGui" -I"......\Qt4.3.1\include\QtGui" -I"......\Qt4.3.1\include\QtOpenGL"
      -I"......\Qt4.3.1\include\QtOpenGL" -I"......\Qt4.3.1\include\QtXml" -I"..\ ....\Qt4.3.1\include\QtXml" -I"......\Qt4.3.1\include\QtSql" -I"......\Qt4.
      3.1\include\QtSql" -I"......\Qt4.3.1\include" -I"......\Qt4.3.1\include\QtDB
      us" -I".." -I"....\speex\include" -I"......\dxsdk\Include" -I"......\Speech
      SDK\include" -I"......\Boost\include\boost-1_34_1" -I"......\openssl\outinc"
      -I"debug" -I"......\Qt4.3.1\include\ActiveQt" -I"." -I"......\Qt4.3.1\mkspe
      cs\default" -o debug\moc_DXConfigDialog.o debug\moc_DXConfigDialog.cpp
      C:/dev/Qt4.3.1/bin\moc.exe -DUNICODE -DQT_LARGEFILE_SUPPORT -DWIN32 -DQT_THREAD_
      SUPPORT -DQT_DLL -DQT_SQL_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_NET
      WORK_LIB -DQT_CORE_LIB -I"......\Qt4.3.1\include\QtCore" -I"......\Qt4.3.1\i
      nclude\QtCore" -I"......\Qt4.3.1\include\QtNetwork" -I"......\Qt4.3.1\includ
      e\QtNetwork" -I"......\Qt4.3.1\include\QtGui" -I"......\Qt4.3.1\include\QtGu
      i" -I"......\Qt4.3.1\include\QtOpenGL" -I"......\Qt4.3.1\include\QtOpenGL" -
      I"......\Qt4.3.1\include\QtXml" -I"......\Qt4.3.1\include\QtXml" -I"......
      \Qt4.3.1\include\QtSql" -I"......\Qt4.3.1\include\QtSql" -I"......\Qt4.3.1\i
      nclude" -I"......\Qt4.3.1\include\QtDBus" -I".." -I"....\speex\include" -I"..
      ....\dxsdk\Include" -I"......\SpeechSDK\include" -I"......\Boost\include\b
      oost-1_34_1" -I"......\openssl\outinc" -I"debug" -I"......\Qt4.3.1\include\A
      ctiveQt" -I"." -I"......\Qt4.3.1\mkspecs\default" -DGNUC -DWIN32 GlobalSho
      rtcut_win.h -o debug\moc_GlobalShortcut_win.cpp
      g++ -c -include debug\mumble_pch.h -Wshadow -Woverloaded-virtual -Wold-style-cas
      t -Wconversion -Wsign-compare -Wall -Wextra -msse -mmmx -O2 -fno-inline -g -marc
      h=pentium3 -mtune=generic -mmmx -msse -Wall -frtti -fno-exceptions -DUNICODE -DQ
      T_LARGEFILE_SUPPORT -DWIN32 -DQT_THREAD_SUPPORT -DQT_DLL -DQT_SQL_LIB -DQT_XML_L
      IB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I"......\Qt4.3
      .1\include\QtCore" -I"......\Qt4.3.1\include\QtCore" -I"......\Qt4.3.1\inclu
      de\QtNetwork" -I"......\Qt4.3.1\include\QtNetwork" -I"......\Qt4.3.1\include
      \QtGui" -I"......\Qt4.3.1\include\QtGui" -I"......\Qt4.3.1\include\QtOpenGL"
      -I"......\Qt4.3.1\include\QtOpenGL" -I"......\Qt4.3.1\include\QtXml" -I"..\ ....\Qt4.3.1\include\QtXml" -I"......\Qt4.3.1\include\QtSql" -I"......\Qt4.
      3.1\include\QtSql" -I"......\Qt4.3.1\include" -I"......\Qt4.3.1\include\QtDB
      us" -I".." -I"....\speex\include" -I"......\dxsdk\Include" -I"......\Speech
      SDK\include" -I"......\Boost\include\boost-1_34_1" -I"......\openssl\outinc"
      -I"debug" -I"......\Qt4.3.1\include\ActiveQt" -I"." -I"......\Qt4.3.1\mkspe
      cs\default" -o debug\moc_GlobalShortcut_win.o debug\moc_GlobalShortcut_win.cpp
      c:\dev\Qt4.3.1\bin\rcc.exe -name mumble mumble.qrc -o debug\qrc_mumble.cpp
      g++ -c -include debug\mumble_pch.h -Wshadow -Woverloaded-virtual -Wold-style-cas
      t -Wconversion -Wsign-compare -Wall -Wextra -msse -mmmx -O2 -fno-inline -g -marc
      h=pentium3 -mtune=generic -mmmx -msse -Wall -frtti -fno-exceptions -DUNICODE -DQ
      T_LARGEFILE_SUPPORT -DWIN32 -DQT_THREAD_SUPPORT -DQT_DLL -DQT_SQL_LIB -DQT_XML_L
      IB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I"......\Qt4.3
      .1\include\QtCore" -I"......\Qt4.3.1\include\QtCore" -I"......\Qt4.3.1\inclu
      de\QtNetwork" -I"......\Qt4.3.1\include\QtNetwork" -I"......\Qt4.3.1\include
      \QtGui" -I"......\Qt4.3.1\include\QtGui" -I"......\Qt4.3.1\include\QtOpenGL"
      -I"......\Qt4.3.1\include\QtOpenGL" -I"......\Qt4.3.1\include\QtXml" -I"..\ ....\Qt4.3.1\include\QtXml" -I"......\Qt4.3.1\include\QtSql" -I"......\Qt4.
      3.1\include\QtSql" -I"......\Qt4.3.1\include" -I"......\Qt4.3.1\include\QtDB
      us" -I".." -I"....\speex\include" -I"......\dxsdk\Include" -I"......\Speech
      SDK\include" -I"......\Boost\include\boost-1_34_1" -I"......\openssl\outinc"
      -I"debug" -I"......\Qt4.3.1\include\ActiveQt" -I"." -I"......\Qt4.3.1\mkspe
      cs\default" -o debug\qrc_mumble.o debug\qrc_mumble.cpp
      windres -i mumble.rc -o debug\mumble_res.o --include-dir=.
      g++ -enable-stdcall-fixup -Wl,-enable-auto-import -Wl,-enable-runtime-pseudo-rel
      oc -L../../debug -Wl,-subsystem,console -o "....\debug\mumble.exe" object_scrip
      t.mumble.Debug -L"c:\dev\Qt4.3.1\lib" -lopengl32 -lglu32 -lgdi32 -luser32 debug
      \mumble_res.o -Llib -L. -lspeex -L/dev/SpeechSDK/Lib/i386 -ldsound -ldxguid -ldi
      nput8 -lsapi -lole32 -lws2_32 -L/dev/openssl/out -leay32 -lQtDBusd4 -lQtSqld4 -l
      QtXmld4 -lQtOpenGLd4 -lQtGuid4 -lQtNetworkd4 -lQtCored4
      c:/dev/mingw/bin/../lib/gcc/mingw32/4.2.1/../../../../mingw32/bin/ld.exe: cannot
      find -leay32
      collect2: ld returned 1 exit status
      make[2]: [....\debug\mumble.exe] Error 1
      make[2]: Leaving directory C:/dev/mumble/src/mumble' make[1]: *** [debug] Error 2 make[1]: Leaving directoryC:/dev/mumble/src/mumble'
      make:
      [sub-src-mumble-make_default] Error 2

      I think I found the problem with the patch after a ton of tinkering, it was just something about a malformed patch but I'm pretty sure I got around it and QT compiled a-ok... because I've not got this far until now.

       
      • It can't find libeay32.lib, which is part of the openssl compilation.

        BTW: Why are you trying to compile mumble yourself?

         
    • Hellis
      Hellis
      2007-10-29

      Here's the output when I ran the ms\mingw32 command bit:

      gcc -o tmp\set_key.o -Ioutinc -Itmp -DL_ENDIAN -DDSO_WIN32 -fomit-frame-pointer
      -O3 -march=i486 -Wall -DBN_ASM -DMD5_ASM -DSHA1_ASM -DOPENSSL_BN_ASM_PART_WORDS
      -DOPENSSL_NO_CAMELLIA -DOPENSSL_NO_SEED -DOPENSSL_NO_RC5 -DOPENSSL_NO_MDC2 -DOP
      ENSSL_NO_TLSEXT -DOPENSSL_NO_KRB5 -DOPENSSL_NO_DYNAMIC_ENGINE -c .\crypto\d
      es\set_key.c
      .\crypto\des\set_key.c:68: error: static declaration of '_hide_DES_check_key' fo
      llows non-static declaration
      .\crypto\des\set_key.c:68: error: previous declaration of '_hide_DES_check_key'
      was here
      mingw32-make: *** [tmp\set_key.o] Error 1

      PS. That's a clean version of openssl version openssl-0.9.8g.tar.gz which is the latest.