Menu

#659 Compile error

open
5
2007-04-06
2007-04-06
Anonymous
No

I'm new to Linux and here's the error I get:

Making all in src
make[2]: Entering directory `/home/marino/TVtime/tvtime-1.0.1/src'
if g++ -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -MT greedyh.o -MD -MP -MF ".deps/greedyh.Tpo" \ -c -o greedyh.o `test -f '../plugins/greedyh.cpp' || echo './'`../plugins/greedyh.cpp; \ then mv -f ".deps/greedyh.Tpo" ".deps/greedyh.Po"; \ else rm -f ".deps/greedyh.Tpo"; exit 1; \ fi
../plugins/greedyh.asm:21: error: extra qualification ‘DScalerFilterGreedyH::’ on member ‘filterDScaler_SSE’
../plugins/greedyh.asm:21: error: extra qualification ‘DScalerFilterGreedyH::’ on member ‘filterDScaler_3DNOW’
../plugins/greedyh.asm:21: error: extra qualification ‘DScalerFilterGreedyH::’ on member ‘filterDScaler_MMX’
make[2]: *** [greedyh.o] Error 1
make[2]: Leaving directory `/home/marino/TVtime/tvtime-1.0.1/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/marino/TVtime/tvtime-1.0.1'
make: *** [all] Error 2

What to do?

Discussion

  • Nobody/Anonymous

    Logged In: NO

    Because it's included, you must remove the "DScalerFilterGreedyH::" qualifier at the function because this is (redundant and) not allowed anymore.

    Ciao, Andreas.

     
  • Nobody/Anonymous

    Logged In: NO

    The following should do that:

    diff -u --recursive tvtime-1.0.1_old/plugins/greedyh.asm tvtime-1.0.1/plugins/gr
    eedyh.asm
    --- tvtime-1.0.1_old/plugins/greedyh.asm 2005-08-14 18:16:43.000000000 +0
    200
    +++ tvtime-1.0.1/plugins/greedyh.asm 2007-06-16 23:21:44.250809053 +0200
    @@ -18,7 +18,7 @@

    #include "x86-64_macros.inc"

    -void DScalerFilterGreedyH::FUNCT_NAME(TDeinterlaceInfo* pInfo)
    +void FUNCT_NAME(TDeinterlaceInfo* pInfo)
    {
    int64_t i;
    bool InfoIsOdd = (pInfo->PictureHistory[0]->Flags & PICTURE_INTERLACED_ODD)
    ? 1 : 0;
    diff -u --recursive tvtime-1.0.1_old/plugins/tomsmocomp/TomsMoCompAll2.inc tvtim
    e-1.0.1/plugins/tomsmocomp/TomsMoCompAll2.inc
    --- tvtime-1.0.1_old/plugins/tomsmocomp/TomsMoCompAll2.inc 2004-10-20 17:31
    :05.000000000 +0200
    +++ tvtime-1.0.1/plugins/tomsmocomp/TomsMoCompAll2.inc 2007-06-16 23:23:41.2427
    68462 +0200
    @@ -5,9 +5,9 @@
    #endif

    #ifdef USE_STRANGE_BOB
    -#define SEARCH_EFFORT_FUNC(n) DScalerFilterTomsMoComp::SEFUNC(n##_SB)
    +#define SEARCH_EFFORT_FUNC(n) SEFUNC(n##_SB)
    #else
    -#define SEARCH_EFFORT_FUNC(n) DScalerFilterTomsMoComp::SEFUNC(n)
    +#define SEARCH_EFFORT_FUNC(n) SEFUNC(n)
    #endif

    int SEARCH_EFFORT_FUNC(0) // we don't try at all ;-)
    diff -u --recursive tvtime-1.0.1_old/plugins/tomsmocomp.cpp tvtime-1.0.1/plugins
    /tomsmocomp.cpp
    --- tvtime-1.0.1_old/plugins/tomsmocomp.cpp 2004-10-20 19:38:04.000000000 +0
    200
    +++ tvtime-1.0.1/plugins/tomsmocomp.cpp 2007-06-16 23:24:51.434611003 +0200
    @@ -31,7 +31,7 @@

    #define IS_MMX
    #define SSE_TYPE MMX
    -#define FUNCT_NAME DScalerFilterTomsMoComp::filterDScaler_MMX
    +#define FUNCT_NAME filterDScaler_MMX
    #include "tomsmocomp/TomsMoCompAll.inc"
    #undef IS_MMX
    #undef SSE_TYPE
    @@ -39,7 +39,7 @@

    #define IS_3DNOW
    #define SSE_TYPE 3DNOW
    -#define FUNCT_NAME DScalerFilterTomsMoComp::filterDScaler_3DNOW
    +#define FUNCT_NAME filterDScaler_3DNOW
    #include "tomsmocomp/TomsMoCompAll.inc"
    #undef IS_3DNOW
    #undef SSE_TYPE
    @@ -47,7 +47,7 @@

    #define IS_SSE
    #define SSE_TYPE SSE
    -#define FUNCT_NAME DScalerFilterTomsMoComp::filterDScaler_SSE
    +#define FUNCT_NAME filterDScaler_SSE
    #include "tomsmocomp/TomsMoCompAll.inc"
    #undef IS_SSE
    #undef SSE_TYPE

     
  • Nobody/Anonymous

    Logged In: NO

    Oh, sorry, this is a dupe to: 1619454

     
  • Nobody/Anonymous

    Logged In: NO

    Could someone get this in the cvs and closed please? (1619454's the same)

     

Log in to post a comment.