Nios® V/II Embedded Design Suite (EDS)
Support for Embedded Development Tools, Processors (SoCs and Nios® V/II processor), Embedded Development Suites (EDSs), Boot and Configuration, Operating Systems, C and C++

Linux kernel, stdm++ error

Altera_Forum
Honored Contributor II
1,076 Views

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?
0 Kudos
0 Replies
Reply