Found a bug? Report it here.
Moderator: PPS-Leaders
-
Edrundor
- Noxonian Warkmrghon
- Posts: 17
- Joined: Sat Nov 25, 2006 3:29 pm
- Location: Wohlen
-
Contact:
Post
by Edrundor » Sat Nov 25, 2006 5:45 pm
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
-
Marc
- Human Space Navy Major
- Posts: 41
- Joined: Tue Oct 24, 2006 7:45 pm
-
Contact:
Post
by Marc » Sat Nov 25, 2006 6:21 pm
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
)
-
Edrundor
- Noxonian Warkmrghon
- Posts: 17
- Joined: Sat Nov 25, 2006 3:29 pm
- Location: Wohlen
-
Contact:
Post
by Edrundor » Sat Nov 25, 2006 9:08 pm
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
-
Nowic
- Thanathon, God of the lower Planes
- Posts: 186
- Joined: Tue Oct 03, 2006 7:53 pm
- Location: Zürich
-
Contact:
Post
by Nowic » Mon Dec 04, 2006 6:00 pm
thx! That solved my problem too. Ubuntu Edgy Eft really has some ugly bugs! I'm disappointed...
"I've always lived cheaply. I live like a student, basically. And I like that because it means that money is not telling me what to do. I can do what I think is important for me to do. It freed me to do what seemed worth doing." -- Richard Stallman
Who is online
Users browsing this forum: No registered users and 52 guests