Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#5 compile error on source tar.gz file

open
Peter C
par2cmdline (3)
5
2006-03-30
2006-03-30
Anonymous
No

Here are where the errors begin on make

reedsolomon.cpp:54: error: explicit specialization of
‘bool ReedSolomon<Galois<8u, 285u, unsigned char>
>::SetInput(const std::vector<bool,
std::allocator<bool> >&)’ must be introduced by
‘template <>’
reedsolomon.cpp:54: error: template-id ‘SetInput<>’ for
‘bool ReedSolomon<Galois<8u, 285u, unsigned char>
>::SetInput(const std::vector<bool,
std::allocator<bool> >&)’ does not match any template
declaration
reedsolomon.cpp:54: error: invalid function declaration
reedsolomon.cpp:83: error: explicit specialization of
‘bool ReedSolomon<Galois<8u, 285u, unsigned char>
>::SetInput(u32)’ must be introduced by ‘template <>’
reedsolomon.cpp:83: error: template-id ‘SetInput<>’ for
‘bool ReedSolomon<Galois<8u, 285u, unsigned char>
>::SetInput(u32)’ does not match any template declaration
reedsolomon.cpp:83: error: invalid function declaration
reedsolomon.cpp:104: error: explicit specialization of
‘bool ReedSolomon<Galois<8u, 285u, unsigned char>
>::Process(size_t, u32, const void*, u32, void*)’ must
be introduced by ‘template <>’
reedsolomon.cpp:104: error: template-id ‘Process<>’ for
‘bool ReedSolomon<Galois<8u, 285u, unsigned char>
>::Process(size_t, u32, const void*, u32, void*)’ does
not match any template declaration
reedsolomon.cpp:104: error: invalid function declaration
reedsolomon.cpp:192: error: explicit specialization of
‘bool ReedSolomon<Galois<16u, 69643u, short unsigned
int> >::SetInput(const std::vector<bool,
std::allocator<bool> >&)’ must be introduced by
‘template <>’
reedsolomon.cpp:192: error: template-id ‘SetInput<>’
for ‘bool ReedSolomon<Galois<16u, 69643u, short
unsigned int> >::SetInput(const std::vector<bool,
std::allocator<bool> >&)’ does not match any template
declaration
reedsolomon.cpp:192: error: invalid function declaration
reedsolomon.cpp:236: error: explicit specialization of
‘bool ReedSolomon<Galois<16u, 69643u, short unsigned
int> >::SetInput(u32)’ must be introduced by ‘template <>’
reedsolomon.cpp:236: error: template-id ‘SetInput<>’
for ‘bool ReedSolomon<Galois<16u, 69643u, short
unsigned int> >::SetInput(u32)’ does not match any
template declarationreedsolomon.cpp:236: error: invalid
function declaration
reedsolomon.cpp:270: error: explicit specialization of
‘bool ReedSolomon<Galois<16u, 69643u, short unsigned
int> >::Process(size_t, u32, const void*, u32, void*)’
must be introduced by ‘template <>’
reedsolomon.cpp:270: error: template-id ‘Process<>’ for
‘bool ReedSolomon<Galois<16u, 69643u, short unsigned
int> >::Process(size_t, u32, const void*, u32, void*)’
does not match any template declaration
reedsolomon.cpp:270: error: invalid function declaration
make[1]: *** [reedsolomon.o] Error 1
make[1]: Leaving directory `/homedir/share/par2cmdline-0.4'
make: *** [all] Error 2

FC4, amd xp3200+, gigabyte GA-7N400 Pro2, 2 Gig ddr 400
memory,
oldkawman1@cox.net

Discussion

  • Logged In: NO

    I have this problem too with FC5
    reedsolomon.cpp:54: error: explicit specialization of ‘bool
    ReedSolomon<Galois<8u, 285u, unsigned char>
    >::SetInput(const std::vector<bool, std::allocator<bool>
    >&)’ must be introduced by ‘template <>’
    reedsolomon.cpp:54: error: template-id ‘SetInput<>’ for
    ‘bool ReedSolomon<Galois<8u, 285u, unsigned char>
    >::SetInput(const std::vector<bool, std::allocator<bool>
    >&)’ does not match any template declaration
    reedsolomon.cpp:54: error: invalid function declaration
    reedsolomon.cpp:83: error: explicit specialization of ‘bool
    ReedSolomon<Galois<8u, 285u, unsigned char>
    >::SetInput(u32)’ must be introduced by ‘template <>’
    reedsolomon.cpp:83: error: template-id ‘SetInput<>’ for
    ‘bool ReedSolomon<Galois<8u, 285u, unsigned char>
    >::SetInput(u32)’ does not match any template declaration
    reedsolomon.cpp:83: error: invalid function declaration
    reedsolomon.cpp:104: error: explicit specialization of ‘bool
    ReedSolomon<Galois<8u, 285u, unsigned char>
    >::Process(size_t, u32, const void*, u32, void*)’ must be
    introduced by ‘template <>’
    reedsolomon.cpp:104: error: template-id ‘Process<>’ for
    ‘bool ReedSolomon<Galois<8u, 285u, unsigned char>
    >::Process(size_t, u32, const void*, u32, void*)’ does not
    match any template declaration
    reedsolomon.cpp:104: error: invalid function declaration
    reedsolomon.cpp:192: error: explicit specialization of ‘bool
    ReedSolomon<Galois<16u, 69643u, short unsigned int>
    >::SetInput(const std::vector<bool, std::allocator<bool>
    >&)’ must be introduced by ‘template <>’
    reedsolomon.cpp:192: error: template-id ‘SetInput<>’ for
    ‘bool ReedSolomon<Galois<16u, 69643u, short unsigned int>
    >::SetInput(const std::vector<bool, std::allocator<bool>
    >&)’ does not match any template declaration
    reedsolomon.cpp:192: error: invalid function declaration
    reedsolomon.cpp:236: error: explicit specialization of ‘bool
    ReedSolomon<Galois<16u, 69643u, short unsigned int>
    >::SetInput(u32)’ must be introduced by ‘template <>’
    reedsolomon.cpp:236: error: template-id ‘SetInput<>’ for
    ‘bool ReedSolomon<Galois<16u, 69643u, short unsigned int>
    >::SetInput(u32)’ does not match any template declaration
    reedsolomon.cpp:236: error: invalid function declaration
    reedsolomon.cpp:270: error: explicit specialization of ‘bool
    ReedSolomon<Galois<16u, 69643u, short unsigned int>
    >::Process(size_t, u32, const void*, u32, void*)’ must be
    introduced by ‘template <>’
    reedsolomon.cpp:270: error: template-id ‘Process<>’ for
    ‘bool ReedSolomon<Galois<16u, 69643u, short unsigned int>
    >::Process(size_t, u32, const void*, u32, void*)’ does not
    match any template declaration
    reedsolomon.cpp:270: error: invalid function declaration
    make: *** [reedsolomon.o] Error 1