Lei,
Apologies for the delay in reply, I was travelling last week.
On Sun, 25 Jun 2006, Lei Jin wrote:
> Hello, Tomas,
>
> I am installing Simflex 2.1.0. I use gcc 4.1.0, boost 1.33.1 and simics
> 2.2.19. But when I run ./create-initial-flexusppoint TraceFlex, loading
> module "flexus-TraceFlex-v9-iface-gcc" failed. The error message is:
>
> Error loading module 'flexus-TraceFlex-v9-iface-gcc': Failed to load module
> 'flexus-TraceFlex-v9-iface-gcc'
> ('/afs/cs.pitt.edu/projects/cast/jinlei/SimFlex/flexus-2.1.0/flexus-test-app/runs/jinlei-TraceFlex-25Jun06-141943/simics/x86-linux/lib/libflexus_TraceFlex_v9_iface_gcc.so'):
>
> "/afs/cs.pitt.edu/projects/cast/jinlei/SimFlex/flexus-2.1.0/flexus-test-app/runs/jinlei-TraceFlex-25Jun06-141943/simics/x86-linux/lib/libflexus_TraceFlex_v9_iface_gcc.so:
>
> undefined symbol: _ZN6Flexus11SharedTypes19memoryMessageSerialEv"
This error indicates that there was a problem linking the TraceFlex
simulator (simulators/TraceFlex/libflexus_TraceFlex_v9_iface_gcc.so).
The symbol you mention above is defined in components/Common. I am not
certain why the linker is failing to pick up this component.
First, try the following:
make all-clobber
make TraceFlex
This will completely rebuild TraceFlex from scratch, to ensure that you
are not getting the link error because of a broken build.
If the error persists, then there is some incompatibility between Flexus
and your Linux distribution. The problem would likely disappear if you
can upgrade to Fedora Core 4 or Fedora Core 5. We might be able to narrow
the problem down with some more info (command lines to get the answers
follow each question):
What Linux distribution are you using?
cat /etc/*-release
What version of the binutils package is installed?
rpm -q binutils
What version of GNU make are you using (we require 3.79.1 or newer)?
make -v
Regards,
-Tom Wenisch
Computer Architecture Lab
Carnegie Mellon University