qt433.patch

Help
McFly
2008-02-14
2012-10-30
  • McFly

    McFly - 2008-02-14

    Hello,

    i'am trying to compile Mumble on my Win32 System. I follow the wiki instruction but i have one problem at the QT point.
    It is necessary to patch QT 4.3.3. But the link with the patchfile ist dead.
    Is there any other way to get that file?

    Thanks for reply.

    cu...

     
    • McFly

      McFly - 2008-02-15

      Sorry for multiple Posting. But i think the whole Output is better:

      G:\Dev\mumble>make
      cd speexbuild\ && make -f Makefile
      make[1]: Entering directory G:/Dev/mumble/speexbuild' make -f Makefile.Debug make[2]: Entering directoryG:/Dev/mumble/speexbuild'
      gcc -c -g -Wall -DUNICODE -DQT_LARGEFILE_SUPPORT -DNDEBUG -DHAVE_CONFIG_H -DWIN32 -D_WINDOWS -D_USE_SSE -DVAR_ARRAYS -I"
      ..\speex\include" -I"..\speex\libspeex" -I"..\speex\win32" -I"." -I"....\qt4.3.3\mkspecs\default" -o debug\cb_search.o
      ..\speex\libspeex\cb_search.c
      In file included from ..\speex\libspeex\/vq.h:44,
      from ..\speex\libspeex\cb_search.c:39:
      g:/dev/mingw/bin/../lib/gcc/mingw32/4.2.2/include/xmmintrin.h:36:3: error: #error "SSE instruction set not enabled"
      In file included from ..\speex\libspeex\cb_search.c:39:
      ..\speex\libspeex\/vq.h:45: warning: type defaults to 'int' in declaration of 'm128'
      ..\speex\libspeex\/vq.h:45: error: expected ';', ',' or ')' before '*' token
      ..\speex\libspeex\/vq.h:47: warning: type defaults to 'int' in declaration of '
      m128'
      ..\speex\libspeex\/vq.h:47: 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 reported 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 this 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 this 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 this 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:153: error: 'resp2' undeclared (first use in this function)
      ..\speex\libspeex\cb_search.c:153: error: 'E' undeclared (first use in this function)
      ..\speex\libspeex\cb_search.c:153: warning: passing argument 6 of 'compute_weighted_codebook' makes pointer from integer
      without a cast
      ..\speex\libspeex\cb_search.c:153: error: too many arguments to function 'compute_weighted_codebook'
      ..\speex\libspeex\cb_search.c:160: warning: implicit declaration of function 'vq_nbest_sign'
      ..\speex\libspeex\cb_search.c:162: warning: implicit declaration of function 'vq_nbest'
      ..\speex\libspeex\cb_search.c: In function 'split_cb_search_shape_sign':
      ..\speex\libspeex\cb_search.c:313: error: '__m128' undeclared (first use in this function)
      ..\speex\libspeex\cb_search.c:313: error: expected ';' before 'resp2'
      ..\speex\libspeex\cb_search.c:314: error: expected ';' before 'E'
      ..\speex\libspeex\cb_search.c:351: error: 'resp2' undeclared (first use in this function)
      ..\speex\libspeex\cb_search.c:351: error: 'E' undeclared (first use in this function)
      ..\speex\libspeex\cb_search.c:351: warning: passing argument 6 of 'compute_weighted_codebook' makes pointer from integer
      without a cast
      ..\speex\libspeex\cb_search.c:351: error: too many arguments to function 'compute_weighted_codebook'
      make[2]: [debug/cb_search.o] Error 1
      make[2]: Leaving directory G:/Dev/mumble/speexbuild' make[1]: *** [debug] Error 2 make[1]: Leaving directoryG:/Dev/mumble/speexbuild'
      make:
      [sub-speexbuild-make_default] Error 2

      cu...

       
      • Thorvald Natvig

        Thorvald Natvig - 2008-02-15

        In file included from ..\speex\libspeex\/vq.h:44,
        from ..\speex\libspeex\cb_search.c:39:
        g:/dev/mingw/bin/../lib/gcc/mingw32/4.2.2/include/xmmintrin.h:36:3: error: #error "SSE instruction set not enabled"

        This is the first error, and the one that's important. You need the CXXFLAGS and CFLAGS to include -msse.

        BTW; the 432 patch is still available, and works with a bit of tweaking on 4.3.3

         
    • McFly

      McFly - 2008-02-14

      I tried to compile without the patch. But i get many errors from cb_search.c and cb_search_sse.h.
      Maybe it depeand on the Qt Patch. But i don't think so.
      All other steps had no problems.

      Thanks for your help.

      cu...

       
    • McFly

      McFly - 2008-02-15

      Here the messages where the compile fails:

      ..\speex\libspeex\cb_search.c:351: error: 'resp2' undeclared (first use in this function)
      ..\speex\libspeex\cb_search.c:351: error: 'E' undeclared (first use in this function)
      ..\speex\libspeex\cb_search.c:351: warning: passing argument 6 of 'compute_weighted_codebook' makes pointer from integer
      without a cast
      ..\speex\libspeex\cb_search.c:351: error: too many arguments to function 'compute_weighted_codebook'
      make[2]: [debug/cb_search.o] Error 1
      make[2]: Leaving directory G:/Dev/mumble/speexbuild' make[1]: *** [debug] Error 2 make[1]: Leaving directoryG:/Dev/mumble/speexbuild'
      make:
      [sub-speexbuild-make_default] Error 2

      Thanks for your help.

      cu...

       
      • Thorvald Natvig

        Thorvald Natvig - 2008-02-15

        If we are to have any chance of helping you, you need to post the entire compile log for that file, not just parts of it.

         

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks