Closed SyedAbubakar closed 6 years ago
It's a typical compile time error(not related to your OS, that is Ubuntu 14), I think you need to tell the compiler(GCC) where to look for the right header files, have you done exactly as it's been described in my tutorial? please double check everything, especially this part:
# Building AccessNoxim{do this inside AccessNoxim_v0.3}
export SYSTEMC_HOME=/usr/local/systemc231
export SYSTEMC_HEADERS=$SYSTEMC_HOME/include
export C_INCLUDE_PATH=$SYSTEMC_HEADERS
export CPLUS_INCLUDE_PATH=$SYSTEMC_HEADERS
cd bin
make
hope it solves your problem.
I have followed the same procedure after that error came. What should i do now.
Sadly I don't have the time to resolve this issue right now, by as a short answer I guess something maybe is wrong with your compiler directives, mostly with the idea that your LINKING or INCLUDE path is wrong.
Did it worked properly on Debian 8.0.0 with given systemc-3.2.1? On Sep 3, 2015 4:29 PM, "hassan abedi" notifications@github.com wrote:
Sadly I don't have the time to resolve this issue right now, by as a short answer I guess something maybe is wrong with your compiler directives, mostly with the idea that your LINKING or INCLUDE path is wrong.
— Reply to this email directly or view it on GitHub https://github.com/habedi/SystemC-AccessNoxim/issues/1#issuecomment-137412432 .
Sorry I didn't test it on Debian 8.
After following the whole procedure when i goes to make, al lot of problems occur. In short make is not happening. Some last lines are shown below. ./NoximMain.o:NoximMain.cpp:(.text._ZN8NoximNoCC1EN7sc_core14sc_module_nameE[NoximNoC::NoximNoC(sc_core::sc_module_name)]+0xcbbd): more undefined references to
VTT for sc_core::sc_signal<bool>' follow ./thermal_IF.o: In function
static_initialization_and_destruction_0(int, int)': thermal_IF.cpp:(.text+0x3d): undefined reference tosc_core::sc_api_version_2_2_0::sc_api_version_2_2_0()' ./NoximVLink.o: In function
static_initialization_and_destruction_0(int, int)': NoximVLink.cpp:(.text+0xbd): undefined reference tosc_core::sc_api_version_2_2_0::sc_api_version_2_2_0()' ./NoximLog.o: In function
__static_initialization_and_destruction_0(int, int)': NoximLog.cpp:(.text+0x3d): undefined reference to `sc_core::sc_api_version_2_2_0::sc_api_version_2_2_0()' collect2: error: ld returned 1 exit status