ciccio.greco88 Posted November 12, 2012 Report Share Posted November 12, 2012 Hi guys, i've a problem with the simulation of my SystemC code using Cadence's NC-SC Simulator. The error is the following: make: *** [iNCA_libs/ncsc_obj/main.o] Error 1 "/usr/include/gentoo-multilib/amd64/bits/waitstatus.h", line 67: error: invalid redeclaration of type name "wait" (declared at line 67 of "/usr/include/gentoo-multilib/x86/bits/waitstatus.h") union wait ^ "/usr/include/gentoo-multilib/amd64/bits/sched.h", line 24: catastrophic error: #error directive: "Never include <bits/sched.h> directly; use <sched.h> instead." # error "Never include <bits/sched.h> directly; use <sched.h> instead." ^ ncsc: Error executing: $CDSROOT/tools/systemc/gcc/4.1-x86_64/bin/g++ -DNCSC -DCADENCE -DLNX86 -I$CDSROOT/tools/systemc/include_pch/64bit -o INCA_libs/ncsc_obj/main.o -I$CDSROOT/tools/systemc/include/tlm2 -DNCSC -I$CDSROOT/tools/systemc/include_pch -I$CDSROOT/tools/tbsc/include -I$CDSROOT/tools/vic/include -I$CDSROOT/tools/ovm/sc/src -I$CDSROOT/tools/systemc/include/tlm -fPIC -c -x c++ -Wall -O0 -g $TESTDIR/main.cpp ncsc_run: *E,TBBLDF: Failed to generate object INCA_libs/ncsc_obj/main.o I don't know what is referred to it!Help me, please! :-) Thanks. Quote Link to comment Share on other sites More sharing options...
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.