Nios® II Embedded Design Suite (EDS)
Support for Embedded Development Tools, Processors (SoCs and Nios® II processor), Embedded Development Suites (EDSs), Boot and Configuration, Operating Systems, C and C++
Announcements
Intel Support hours are Monday-Fridays, 8am-5pm PST, except Holidays. Thanks to our community members who provide support during our down time or before we get to your questions. We appreciate you!

Need Forum Guidance? Click here
Search our FPGA Knowledge Articles here.

problem compiling mmu default

Altera_Forum
Honored Contributor II
918 Views

Hello, 

 

I have followed the steps in the wiki to download and setup the mmu branch. 

 

 

cd nios2-linux git clone git://sopc.et.ntust.edu.tw/git/toolchain-mmu.git cd linux-2.6 git fetch origin git branch nios2mmu origin/nios2mmu git checkout -f unstable-nios2mmu git clean -f -x -d cd .. cd uClinux-dist git fetch origin git branch trunk origin/trunk git checkout -f trunk git clean -f -x -d 

 

Then I tried to make the default and I get the following errors: 

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' 

make[5]: *** [stdm++.o] Error 1 

make[4]: *** [libs] Error 2 

make[4]: warning: jobserver unavailable: using -j1. Add `+' to parent make rule. 

make[4]: warning: jobserver unavailable: using -j1. Add `+' to parent make rule. 

make[4]: warning: jobserver unavailable: using -j1. Add `+' to parent make rule. 

make[4]: warning: jobserver unavailable: using -j1. Add `+' to parent make rule. 

make[4]: warning: jobserver unavailable: using -j1. Add `+' to parent make rule. 

dnsdomainname: Unknown host 

In file included from mkfs.ubifs/mkfs.ubifs.c:25: 

mkfs.ubifs/mkfs.ubifs.h:48:23: error: uuid/uuid.h: No such file or directory 

mkfs.ubifs/mkfs.ubifs.c: In function ‘write_data’: 

mkfs.ubifs/mkfs.ubifs.c:1654: warning: implicit declaration of function ‘time’ 

mkfs.ubifs/mkfs.ubifs.c: In function ‘write_super’: 

mkfs.ubifs/mkfs.ubifs.c:1967: warning: implicit declaration of function ‘uuid_generate_random’ 

mkfs.ubifs/mkfs.ubifs.c:1971: warning: implicit declaration of function ‘uuid_unparse_upper’ 

make[4]: *** [/home/horacio/nios2-linux/uClinux-dist/user/mtd-utils/build-36d8de81049c9c908740b690c664b5bd3703ccd6-host/mkfs.ubifs/mkfs.ubifs.o] Error 1 

make[3]: *** [all] Error 2 

make[2]: *** [mtd-utils] Error 2 

make[2]: *** Waiting for unfinished jobs.... 

make[1]: *** [all] Error 2 

make: *** [subdirs] Error 1 

 

 

What is wrong with this setup???? 

 

Thanks
0 Kudos
1 Reply
Altera_Forum
Honored Contributor II
117 Views

Had the same probelm using CentOS 6 -- 

 

Had to install some more packages: libuuid-devel uuid uuid-devel and uuidd  

You may need to install or update libuuid 

 

"yum install libuuid-devel uuid uuid-devel uuidd"
Reply