Skip to main content

alphaWorks  >  Forums  >  Full System Simulator for IBM PowerPC 970  >  developerWorks

could not run simulator    Point your RSS reader here for a feed of the latest messages in this thread


     

 
 

My developerWorks
 Welcome, Guest
Sign in or register
Permlink Replies: 2 - Pages: 1 - Last Post: Jan 17, 2009 5:25 AM Last Post By: curiousDeveloper Threads: [ Previous | Next ]

Posts: 2
Registered: Aug 12, 2007 07:24:37 AM
could not run simulator
Posted: Aug 12, 2007 07:28:37 AM
Click to report abuse...   Click to reply to this thread Reply
Hi,

I successfully compiled the simulator of Fedora Cor 4 (x86_64).

When I try to run, I get the following error:

naresh@fedora4-64 linux$ sh -x ../run_cmdline
+ export SYSTEMSIM_TOP=../../..
+ SYSTEMSIM_TOP=../../..
+ exec ../../systemsim -gpul
/home/naresh/ibmsim/simulators/systemsim-gpul-release/run/gpul/linux/../../systemsim: line 205: /home/naresh/ibmsim/simulators/systemsim-gpul-release/run/gpul/linux/../../../bin/systemsim-gpul: cannot execute binary file
/home/naresh/ibmsim/simulators/systemsim-gpul-release/run/gpul/linux/../../systemsim: line 205: /home/naresh/ibmsim/simulators/systemsim-gpul-release/run/gpul/linux/../../../bin/systemsim-gpul: Success
naresh@fedora4-64 linux$ pwd
/home/naresh/ibmsim/simulators/systemsim-gpul-release/run/gpul/linux
naresh@fedora4-64 linux$ uname -a
Linux fedora4-64.test.com 2.6.11-1.1369_FC4 #1 Thu Jun 2 22:56:33 EDT 2005 x86_64 x86_64 x86_64 GNU/Linux
naresh@fedora4-64 linux$

Any suggestions to resolve this are welcome....
Thanks

Posts: 2
Registered: Aug 12, 2007 07:24:37 AM
Re: could not run simulator
Posted: Aug 12, 2007 01:39:43 PM   in response to: in response to: 's post
Click to report abuse...   Click to reply to this thread Reply
Further to the above condition,

I tried with Fedora Core 6 (x86) on the same machine, but I am still getting the same error:

naresh@fc6 ~$ cd ibmsim/simulators/systemsim-gpul-release/run/gpul/linux/
naresh@fc6 linux$ sh -x ../run_cmdline
+ export SYSTEMSIM_TOP=../../..
+ SYSTEMSIM_TOP=../../..
+ exec ../../systemsim -gpul
/home/naresh/ibmsim/simulators/systemsim-gpul-release/run/gpul/linux/../../systemsim: line 205: /home/naresh/ibmsim/simulators/systemsim-gpul-release/run/gpul/linux/../../../bin/systemsim-gpul: cannot execute binary file
/home/naresh/ibmsim/simulators/systemsim-gpul-release/run/gpul/linux/../../systemsim: line 205: /home/naresh/ibmsim/simulators/systemsim-gpul-release/run/gpul/linux/../../../bin/systemsim-gpul: Success
naresh@fc6 linux$ uname -a
Linux fc6.test.com 2.6.18-1.2798.fc6 #1 SMP Mon Oct 16 14:37:32 EDT 2006 i686 athlon i386 GNU/Linux
naresh@fc6 linux$

I don't know what I missed ?
I followed 3 steps which came without any errors.

Please suggest.

Thanks
curiousDeveloper

Posts: 4
Registered: Jan 16, 2009 02:18:56 AM
Re: could not run simulator
Posted: Jan 17, 2009 05:25:17 AM   in response to: in response to: 's post
Click to report abuse...   Click to reply to this thread Reply
Change your current working directory to ibmsim/simulators/systemsim-gpul-release/bin and type ldd systemsim-gpul | grep "not found". This will tell you what libs it can't find.

In my case, I was missing libtcl and libtk. I installed them and it still couldn't find them. I had /usr/lib/libtcl.so and it was looking for /usr/lib/libtcl.so.0. So, I made a symbolic link from /usr/lib/libtcl.so.0 to /usr/lib/libtcl.so. I did the same for libtk. This solved the problem and I was at least able to run systemsim-gpul.

Point your RSS reader here for a feed of the latest messages in all forums