Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
15 years ago

Linux kernel, stdm++ error

Hi,I follow the "linux quick start" document to build the kernel, but have errors as follow:

------------------------------------------------------------------------------------------------

stdm++.cxx:1:18: error: stdm++: No such file or directory

stdm++.cxx:4: error: 'MATT' has not been declared

stdm++.cxx:4: error: expected constructor, destructor, or type conversion before '(' token

stdm++.cxx:21: error: 'MATT' has not been declared

stdm++.cxx:21: error: expected constructor, destructor, or type conversion before '::' token

stdm++.cxx:34: error: 'MATT' has not been declared

stdm++.cxx:34: error: 'int operator<<(char*)' must have an argument of class or enumerated type

stdm++.cxx:34: error: 'int operator<<(char*)' must take exactly two arguments

stdm++.cxx: In function 'int operator<<(char*)':

stdm++.cxx:36: error: invalid use of 'this' in non-member function

stdm++.cxx:36: error: 'fprintf' was not declared in this scope

stdm++.cxx: At global scope:

stdm++.cxx:41: error: 'MATT' has not been declared

stdm++.cxx:41: error: expected constructor, destructor, or type conversion before 'MATT'

------------------------------------------------------------------------------------------------

I found some session about this problem:

-------------------------------------------------------------------------------

There are some pieces missing from the test c++ apps. Find attached a patch........

----------------------------------------------------------------------------------------------------

Which patch would fix the error?
No RepliesBe the first to reply