Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Altera_Forum
Honored Contributor I
868 Views

problem compiling mmu default

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 I
67 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