web-dev-qa-db-fra.com

Erreur lors de l'installation de Gem 5 en mode système complet

En donnant la commande ci-dessous dans le répertoire gem5

**build/ARM/gem5.opt configs/example/fs.py --disk-image=/home/pradnya/full_system_images/aarch-system-2014-10/disks/aarch64-ubuntu-trusty-headless.img** 
gem5 Simulator System.  http://gem5.org
gem5 is copyrighted software; use the --copyright option for details.

gem5 compiled Feb 17 2015 18:02:39
gem5 started Apr  4 2015 11:06:36
gem5 executing on ubuntu
command line: build/ARM/gem5.opt configs/example/fs.py --disk-image=/home/pradnya/full_system_images/aarch-system-2014-10/disks/aarch64-ubuntu-trusty-headless.img
Traceback (most recent call last):
  **File "<string>", line 1, in <module>
  File "/home/pradnya/gem5/src/python/m5/main.py", line 388, in main
    exec filecode in scope
  File "configs/example/fs.py", line 326, in <module>
    test_sys = build_test_system(np)
  File "configs/example/fs.py", line 101, in build_test_system
    cmdline=cmdline)
  File "/home/pradnya/gem5/configs/common/FSConfig.py", line 272, in makeArmSystem
    self.kernel = binary('vmlinux.aarch32.ll_20131205.0-gem5')
  File "/home/pradnya/gem5/configs/common/SysPaths.py", line 49, in binary
    return searchpath(binary.path, filename)
  File "/home/pradnya/gem5/configs/common/SysPaths.py", line 41, in searchpath
    raise IOError, "Can't find file '%s' on path." % filename
IOError: Can't find file 'vmlinux.aarch32.ll_20131205.0-gem5' on path**

Je reçois l'erreur ci-dessus. Je vous prie aider moi avec ceci

3
Pradnya Ingole

Veuillez définir votre variable d’environnement M5_PATH à l’aide de la commande suivante:

echo "export M5_PATH=/path/to/full_system_for_gem­5/" >> ~/.bashrc
1
tod