Elvis Shera Posted April 29, 2018 Report Share Posted April 29, 2018 Hi, installing the SystemC-AMS Poc on a new machine with ubuntu-18.04 LTS. All other programs install without issues. SystemC also nicely installing and working. When I try to compile the SystemC-AMS now it gives me error: ========================================================================================================= make: Entering directory '/home/elvis/mProgram/systemc-ams-2.1/src/scams/impl/predefined_moc/tdf' CXX sca_ct_delay_buffer.lo CXX sca_delay_buffer_base.lo CXX sca_tdf_ct_ltf_nd_proxy.lo sca_tdf_ct_ltf_nd_proxy.cpp: In member function 'void sca_tdf::sca_implementation::sca_ct_ltf_nd_proxy::setup_equation_system()': sca_tdf_ct_ltf_nd_proxy.cpp:292:2: error: 'memset' was not declared in this scope memset((void*) (num2_ltf), 0, new_memsize * sizeof(double)); //set all to zero ^~~~~~ sca_tdf_ct_ltf_nd_proxy.cpp:292:2: note: suggested alternative: 'wmemset' memset((void*) (num2_ltf), 0, new_memsize * sizeof(double)); //set all to zero ^~~~~~ wmemset sca_tdf_ct_ltf_nd_proxy.cpp:316:3: error: 'memcpy' was not declared in this scope memcpy((void*) num2_ltf, (void*) num_ltf, num_size * sizeof(double)); ^~~~~~ sca_tdf_ct_ltf_nd_proxy.cpp:316:3: note: suggested alternative: 'wmemcpy' memcpy((void*) num2_ltf, (void*) num_ltf, num_size * sizeof(double)); ^~~~~~ wmemcpy Makefile:491: recipe for target 'sca_tdf_ct_ltf_nd_proxy.lo' failed make: *** [sca_tdf_ct_ltf_nd_proxy.lo] Error 1 ========================================================================================================= I get from other colleagues who try (also in other distributions having issues on the -AMS installation part (never on the SC part). Maybe the SC-AMS folks need to do some more testing over several environments. Does anyone have an understanding on my error? what can i do to fixed it? I have followed the guidelines (as in the other machines/distribution I used it) 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.