Hi,

We have been trying to compile flexus but keep getting the same linking 
error. Below we have attached the output of make trying to compile the 
UniFlex target. We get the same error on all targets. It seems like it is 
trying to find a library libcore_v9_iface_gcc.so but no such file is to be 
found. Unlike the other directories the core directory doesn't seem to 
have any object files, etc. (.v9_iface_gcc_dep or .v9_iface_gcc_o).

Do you have any suggestions on how to get around this error?

Are we missing something simple?

Carsten

[a...@gs6180 flexus-2.1.1]$ make UniFlex
make -s  FLEXUS_ROOT=`pwd` UniFlex
Building UniFlex for v9_iface_gcc simics
Checking dependant component v9_iface_gcc Common
Checking dependant component v9_iface_gcc BPWarm
Checking dependant component v9_iface_gcc InorderSimicsFeeder
Checking dependant component v9_iface_gcc MemoryLoopback
Checking dependant component v9_iface_gcc MemoryMap
Checking dependant component v9_iface_gcc MagicBreak

Checking dependant component v9_iface_gcc IFetch
Checking dependant component v9_iface_gcc Execute
Checking dependant component v9_iface_gcc Cache
Checking simics v9_iface_gcc core
/usr/bin/g++ -shared -export-dynamic -Wl,--whole-archive *.v9_iface_gcc_o 
/home/arch/flexus-2.1.1/components/Common/Common.v9.iface.gcc.a 
/home/arch/flexus-2.1.1/components/BPWarm/BPWarm.v9.iface.gcc.a 
/home/arch/flexus-2.1.1/components/InorderSimicsFeeder/InorderSimicsFeeder.v9.iface.gcc.a
 
/home/arch/flexus-2.1.1/components/MemoryLoopback/MemoryLoopback.v9.iface.gcc.a 
/home/arch/flexus-2.1.1/components/MemoryMap/MemoryMap.v9.iface.gcc.a 
/home/arch/flexus-2.1.1/components/MagicBreak/MagicBreak.v9.iface.gcc.a 
/home/arch/flexus-2.1.1/components/IFetch/IFetch.v9.iface.gcc.a 
/home/arch/flexus-2.1.1/components/Execute/Execute.v9.iface.gcc.a 
/home/arch/flexus-2.1.1/components/Cache/Cache.v9.iface.gcc.a 
-L/home/arch/flexus-2.1.1/core -Wl,--whole-archive -lcore_v9_iface_gcc 
-lsimics_v9_iface_gcc -Wl,-no-whole-archive -lboost_date_time 
-lboost_regex -lboost_serialization -lboost_iostreams -lz -o 
libflexus_UniFlex_v9_iface_gcc.so
/usr/bin/ld: cannot find -lcore_v9_iface_gcc
collect2: ld returned 1 exit status
make[6]: *** [libflexus_UniFlex_v9_iface_gcc.so] Error 1
make[5]: *** [simics-v9] Error 2
make[4]: *** [UniFlex] Error 2
make[3]: *** [UniFlex] Error 2
make[2]: *** [UniFlex] Error 2
make[1]: *** [UniFlex] Error 2
make: *** [UniFlex] Error 2

Reply via email to