Quoting Aastha Mehta <[email protected]>:
hi,
i wanted to install marss x86 on my linux machine. i am getting the
following error on running scons -Q command.
*u...@user-optiplex-380:~/marss$* scons -Q
running with -j4
NameError: name 'HELPER_CLFAGS' is not defined:
File "/home/user/marss/SConstruct", line 144:
qemu_bin = SConscript(qemu_compile_script)
File "/usr/lib/scons/SCons/Script/SConscript.py", line 614:
return method(*args, **kw)
File "/usr/lib/scons/SCons/Script/SConscript.py", line 551:
return _SConscript(self.fs, *files, **subst_kw)
File "/usr/lib/scons/SCons/Script/SConscript.py", line 260:
exec _file_ in call_stack[-1].globals
File "/home/user/marss/qemu/SConstruct", line 57:
HELPER_CLFAGS += " -fomit-frame-pointer"
i checked the qemu/SConstruct file and the HELPER_CFLAGs = " " line is
mentioned at the appropriate place. however it is not able to identify the
variable in the line immediately after it, i.e. in the if condition's body.
please tell me how to resolve the problem.
thanks and regards,
Aastha.
--
Aastha Mehta
4th Year, B.E. (Hons.) Computer Science,
Birla Institute of Technology and Science, Pilani
Pilani - 333031
Rajasthan
E-mail: [email protected]
(M): +91-9950676030
Note that the variable defined is called HELPER_CFLAGS but the variable
that is used later is called HELPER_CLFAGS. Change the line 57 of the
file qemu/SConstruct with this one:
HELPER_CFLAGS += " -fomit-frame-pointer"
Everything should work correctly now.
Best regards,
Jose
_______________________________________________
http://www.marss86.org
Marss86-Devel mailing list
[email protected]
https://www.cs.binghamton.edu/mailman/listinfo/marss86-devel