Skip to content

Error Compiling on CentOS 6 #11

Description

@aris1978

Good day. Can you help me with compiling the mcm-0.83 on my Centos 6.4 machine? It's giving me the following error when I type ./make.sh:

In file included from CyclicBuffer.hpp:29,
from Detector.hpp:30,
from CM.hpp:29,
from CM.cpp:24:
Util.hpp: In function 'void printIndexedArray(const std::string&, const T&)':
Util.hpp:147: error: expected initializer before ':' token
In file included from Range.hpp:29,
from Huffman.hpp:33,
from CM.hpp:32,
from CM.cpp:24:
Model.hpp:31: error: expected primary-expression before end of line
Model.hpp:31: error: expected ';' before end of line
Model.hpp:31: error: expected primary-expression before end of line
Model.hpp:31: error: expected ')' before end of line
Model.hpp:31: error: expected primary-expression before end of line
Model.hpp:31: error: expected ';' before end of line
Model.hpp:31: error: expected '}' before end of line
Model.hpp: At global scope:
Model.hpp:31: error: expected declaration before end of line
In file included from CyclicBuffer.hpp:29,
from Detector.hpp:30,
from CM.hpp:29,
from Archive.hpp:29,
from Archive.cpp:24:
Util.hpp: In function 'void printIndexedArray(const std::string&, const T&)':
Util.hpp:147: error: expected initializer before ':' token
In file included from Range.hpp:29,
from Huffman.hpp:33,
from CM.hpp:32,
from Archive.hpp:29,
from Archive.cpp:24:
Model.hpp:31: error: expected primary-expression before end of line
Model.hpp:31: error: expected ';' before end of line
Model.hpp:31: error: expected primary-expression before end of line
Model.hpp:31: error: expected ')' before end of line
Model.hpp:31: error: expected primary-expression before end of line
Model.hpp:31: error: expected ';' before end of line
Model.hpp:31: error: expected '}' before end of line
Model.hpp: At global scope:
Model.hpp:31: error: expected declaration before end of line
In file included from Stream.hpp:6,
from Compressor.hpp:38,
from Huffman.hpp:31,
from Huffman.cpp:24:
Util.hpp: In function 'void printIndexedArray(const std::string&, const T&)':
Util.hpp:147: error: expected initializer before ':' token
In file included from Range.hpp:29,
from Huffman.hpp:33,
from Huffman.cpp:24:
Model.hpp:31: error: expected primary-expression before end of line
Model.hpp:31: error: expected ';' before end of line
Model.hpp:31: error: expected primary-expression before end of line
Model.hpp:31: error: expected ')' before end of line
Model.hpp:31: error: expected primary-expression before end of line
Model.hpp:31: error: expected ';' before end of line
Model.hpp:31: error: expected '}' before end of line
Model.hpp: At global scope:
Model.hpp:31: error: expected declaration before end of line
In file included from CyclicBuffer.hpp:29,
from Detector.hpp:30,
from CM.hpp:29,
from Archive.hpp:29,
from MCM.cpp:33:
Util.hpp: In function 'void printIndexedArray(const std::string&, const T&)':
Util.hpp:147: error: expected initializer before ':' token
In file included from Range.hpp:29,
from Huffman.hpp:33,
from CM.hpp:32,
from Archive.hpp:29,
from MCM.cpp:33:
Model.hpp:31: error: expected primary-expression before end of line
Model.hpp:31: error: expected ';' before end of line
Model.hpp:31: error: expected primary-expression before end of line
Model.hpp:31: error: expected ')' before end of line
Model.hpp:31: error: expected primary-expression before end of line
Model.hpp:31: error: expected ';' before end of line
Model.hpp:31: error: expected '}' before end of line
Model.hpp: At global scope:
Model.hpp:31: error: expected declaration before end of line
In file included from Memory.hpp:27,
from Memory.cpp:27:
Util.hpp: In function 'void printIndexedArray(const std::string&, const T&)':
Util.hpp:147: error: expected initializer before ':' token
Memory.cpp:83: error: expected primary-expression at end of input
Memory.cpp:83: error: expected ';' at end of input
Memory.cpp:83: error: expected primary-expression at end of input
Memory.cpp:83: error: expected ')' at end of input
Memory.cpp:83: error: expected statement at end of input
Memory.cpp:83: error: expected '}' at end of input
In file included from Util.cpp:1:
Util.hpp: In function 'void printIndexedArray(const std::string&, const T&)':
Util.hpp:147: error: expected initializer before ':' token
Util.cpp:98: error: expected primary-expression at end of input
Util.cpp:98: error: expected ';' at end of input
Util.cpp:98: error: expected primary-expression at end of input
Util.cpp:98: error: expected ')' at end of input
Util.cpp:98: error: expected statement at end of input
Util.cpp:98: error: expected '}' at end of input
In file included from Stream.hpp:6,
from Compressor.hpp:38,
from Compressor.cpp:24:
Util.hpp: In function 'void printIndexedArray(const std::string&, const T&)':
Util.hpp:147: error: expected initializer before ':' token
Compressor.cpp:124: error: expected primary-expression at end of input
Compressor.cpp:124: error: expected ';' at end of input
Compressor.cpp:124: error: expected primary-expression at end of input
Compressor.cpp:124: error: expected ')' at end of input
Compressor.cpp:124: error: expected statement at end of input
Compressor.cpp:124: error: expected '}' at end of input
In file included from CyclicBuffer.hpp:29,
from LZ.hpp:27,
from LZ.cpp:24:
Util.hpp: In function 'void printIndexedArray(const std::string&, const T&)':
Util.hpp:147: error: expected initializer before ':' token
In file included from LZ.hpp:30,
from LZ.cpp:24:
Model.hpp:31: error: expected primary-expression before end of line
Model.hpp:31: error: expected ';' before end of line
Model.hpp:31: error: expected primary-expression before end of line
Model.hpp:31: error: expected ')' before end of line
Model.hpp:31: error: expected primary-expression before end of line
Model.hpp:31: error: expected ';' before end of line
Model.hpp:31: error: expected '}' before end of line
Model.hpp: At global scope:
Model.hpp:31: error: expected declaration before end of line

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions