Mahmood Naderan writes:

> Hi,
> With gcc-4.6.3 and g++-4.6.3, I get this error:

> Checking for C header file fenv.h... yes
> Reading SConsopts
> ValueError: need more than 2 values to unpack:
>   File "/home/mahmood/gem5/SConstruct", line 898:
>     variant_dir = joinpath(build_root, 'libelf'))
>   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/mahmood/gem5/build/libelf/SConscript", line 94:
>     major,minor,dot = [int(x) for x in m4env['GCC_VERSION'].split('.')]

You could add a "print m4env['GCC_VERSION']" in line 93 of file
/home/mahmood/gem5/build/libelf/SConscript to see what exactly is the version
being used.

>From the error I'd say it contains 2 numbers instead of 3.


Lluis

-- 
 "And it's much the same thing with knowledge, for whenever you learn
 something new, the whole world becomes that much richer."
 -- The Princess of Pure Reason, as told by Norton Juster in The Phantom
 Tollbooth
_______________________________________________
gem5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Reply via email to