Page 1 of 1

[Solved]error while building orxonox on Ubuntu edgy eft 6.10

Posted: Sat Nov 25, 2006 5:45 pm
by Edrundor
If I try to build Orxonox on Ubuntu I get en error (see below). I did install all the required packages given on the wiki page. I copied the msr.h file from /asm to /asm-i386. As a result this error was solved but the one with startBenchmarks() I couldn't solve.

Code: Select all

In file included from subprojects/benchmark.cc:37:
/usr/include/asm/msr.h:7:28: error: asm-i386/msr.h: No such file or directory
subprojects/benchmark.cc: In function 'int startBenchmarks()':
subprojects/benchmark.cc:59: error: 'rdtscl' was not declared in this scope
make[3]: *** [orxonox-benchmark.o] Fehler 1
make[3]: Verlasse Verzeichnis '/home/psachs/Orxonox/0.3.6_alpha/src'
make[2]: *** [all-recursive] Fehler 1
make[2]: Verlasse Verzeichnis '/home/psachs/Orxonox/0.3.6_alpha/src'
make[1]: *** [all-recursive] Fehler 1
make[1]: Verlasse Verzeichnis '/home/psachs/Orxonox/0.3.6_alpha'
make: *** [all] Fehler 2

Posted: Sat Nov 25, 2006 6:21 pm
by Marc
You copied the wrong one. There is a different asm folder in a different scope (will give you the correct folder) from which you have to copy the msr.h file. It is actually not an error in Orxonox, but the headers for some strange reason are broken. (if you need it right now, search will only give very few files :) )

Posted: Sat Nov 25, 2006 9:08 pm
by Edrundor
Thank you for the fast help. For those who had the same problem: I found the right msr.h-file in the directory /usr/src/linux-headers-2.6.17-10/include/asm-i386/

To get it to the right place open a terminal and ...

Code: Select all

sudo cp /usr/src/linux-headers-2.6.17-10/include/asm-i386/msr.h /usr/include/asm-i386/msr.h

Posted: Mon Dec 04, 2006 6:00 pm
by Nowic
thx! That solved my problem too. Ubuntu Edgy Eft really has some ugly bugs! I'm disappointed... :(