Lordwin Posted March 9, 2015 Report Share Posted March 9, 2015 hi i am getting the following error while running makefile lord@lord-Inspiron-N5050:~/systemc-2.3.1/examples/sysc$ gmake -f Makefile.all TARGET_ARCH=linux64 rungmake[1]: Entering directory `/home/lord/systemc-2.3.1/examples/sysc/fir'gmake[2]: Entering directory `/home/lord/systemc-2.3.1/examples/sysc/fir'../Makefile.rules:99: *** SystemC library [/usr/local/systemc230//lib-linux64] not found. Please update Makefile.config. Stop.gmake[2]: Leaving directory `/home/lord/systemc-2.3.1/examples/sysc/fir'gmake[2]: Entering directory `/home/lord/systemc-2.3.1/examples/sysc/fir'../Makefile.rules:99: *** SystemC library [/usr/local/systemc230//lib-linux64] not found. Please update Makefile.config. Stop.gmake[2]: Leaving directory `/home/lord/systemc-2.3.1/examples/sysc/fir'gmake[1]: *** [run] Error 2gmake[1]: Leaving directory `/home/lord/systemc-2.3.1/examples/sysc/fir'gmake: *** [run] Error 2 Quote Link to comment Share on other sites More sharing options...
kartikkg Posted March 9, 2015 Report Share Posted March 9, 2015 You might be missing the PATH to SystemC Library . In makefile please check for the variable which is used to mention Library Paths and add it. You can also edit your .bashrc file export LD_SYSTEMC=/home/systemC/systemc-2.2.0/lib-linux/export CPLUS_INCLUDE_PATH=/home/systemC/systemc-2.2.0/include/ Quote Link to comment Share on other sites More sharing options...
David Black Posted March 9, 2015 Report Share Posted March 9, 2015 @kartikkg is correct; however, which variables are missing is highly dependent on your makefile. Many systemc designs I encounter have the variables SYSTEMC or SYSTEMC_HOME and TARGET_ARCH. Also, if you are using csh or tcsh, then the .bashrc file won't help because you need to modify the .cshrc file with something like: setenv SYSTEMC /path/to/your/systemc/installation/directory setenv TARGET_ARCH linux ;#<< or linux64 For Linux, SystemC must be compiled and installed per the instructions in the download. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.