Menu

#642 1.0.1 compilation issue on gcc 4.1.2 and SuSe 10.2

open
5
2006-12-20
2006-12-20
No

tvtime 1.0.1 failed to compile on SuSe 10.2:

2.6.18.2-34-default #2 Sun Dec 17 07:13:24 EET 2006 i686 athlon i386 GNU/Linux

gcc:
version 4.1.2 20061115 (prerelease) (SUSE Linux)

Here is the output:

make[2]: Entering directory `~/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 `/work/users/install/tvtime/tvtime-1.0.1/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/work/users/install/tvtime/tvtime-1.0.1'
make: *** [all] Error 2

Discussion

  • Nobody/Anonymous

    Logged In: NO

    To resolve this problem remove DScalerFilterGreedyH:: from this file.

     
  • EWTech

    EWTech - 2007-01-18

    Logged In: YES
    user_id=1341834
    Originator: NO

    Which file? The C++ file, the asm file or the header, or all of them. There is a large C++ class that calls the function in the assembler file. The error seems to appear in the assembler file.

    Is there a way to set options on this to do away with this plug-in at compile time? That would be the best choice for a Suse linux setup until the source gets straightened out. At first I thought it was a problem with the architecture but the error indicates an issue with the version 4.1.2 that comes with openSuse 10.2. In my case on an AMD-64 platform.

    Bob

     
  • Adam Sampson

    Adam Sampson - 2007-01-20

    Logged In: YES
    user_id=995469
    Originator: NO

    I've just run into this as well -- here's a patch:

    http://offog.org/stuff/tvtime-1.0.1-overqual.diff

     
  • EWTech

    EWTech - 2007-01-21

    Logged In: YES
    user_id=1341834
    Originator: NO

    Many thanks Adam. This works perfectly.

    Bob

     
  • Alex Lukin

    Alex Lukin - 2007-01-23

    Logged In: YES
    user_id=807378
    Originator: NO

    This shit happens due to new syntax rules for asm and cpp files in gcc 4.1.x so this bug is not a bug really. You can compile source with gcc34-compat rpm installed.
    Just say in your shell before running configure:

    export CC=gcc34
    export CXX=gcc34

    then
    configure
    make
    make install

     

Log in to post a comment.