What version of the source are you using? Have you changed anything? Is there a file called build/X86_FS/cpu/thread_context.do (or similar) in the build directory? Was it included in the files that were linked together at the end? I'm assuming that's the command that produced this error. Were there any earlier error messages? I'm pretty confident this isn't because of M5 itself and is specific to your machine or your version of the source, so you might want to try deleting the build directory and starting from scratch there in case something got stuck in a funny state. If you haven't done any work on the source, you could try downloading it again in case a file was accidentally deleted or modified somehow.
Gabe wagner meneguzzi pinto wrote: > Hello everyone, > I'm having some problems building the M5 simulator. More specifically > in the construction of m5.debug.bin as follows: > > scons: done reading SConscript files. > scons: Building targets ... > g + +-o build/X86_FS/m5.debug.bin build/X86_FS/python/swig/pyevent.do > build/X86_FS/python/swig/pyobject.do build/X86_FS/dev/baddev.do > build/X86_FS/dev/disk_image .'s (...) > > When referencing the file simple_thread.do, occurs the following errors: > > build/X86_FS/cpu/simple_thread.do: In function `ThreadContext: > ThreadContext () ': > simple_thread.cc: (. text._ZN13ThreadContextC2Ev [ThreadContext: > ThreadContext ()] +0 x8): undefined reference to `vtable for > ThreadContext ' > build/X86_FS/cpu/simple_thread.do: (. > rodata._ZTI18ProxyThreadContextI12SimpleThreadE [typeinfo for > ProxyThreadContext <SimpleThread>] +0 x8): undefined reference to > `typeinfo for ThreadContext ' > collect2: ld returned 1 exit status > scons: *** [build/X86_FS/m5.debug.bin] Error 1 > scons: building terminated because of errors. > > I am using Ubuntu 10.04. > I appreciate a lot if someone can help. > > > > ------------------------------------------------------------------------ > > _______________________________________________ > m5-users mailing list > [email protected] > http://m5sim.org/cgi-bin/mailman/listinfo/m5-users _______________________________________________ m5-users mailing list [email protected] http://m5sim.org/cgi-bin/mailman/listinfo/m5-users
