Skip Nav
Home » Forums » SystemC Forum

Icon - KMLM List KMLM List

View email archives for the history of this mailing list.

List Home All Archives Dates Threads Authors Subjects
systemc-forum - sc_utils_ids.cpp error: ‘getenv’ is not a member of ‘std’ Message Thread: Previous | Next
  • To: systemc-forum@xxxxxxxxxxxxxxxxx
  • From: Martin d'Anjou <martin.danjou14@xxxxxxxxx>
  • Date: Sun, 26 Jun 2011 00:34:51 -0400
Send Email to
Send new message
Reply to this message

On Linux Mint 11 (gcc (Ubuntu/Linaro 4.5.2-8ubuntu4) 4.5.2), I get this error when I type make:

make[3]: Entering directory `/home/martin/Downloads/systemc-2.2.0/objdir/src/sysc/utils'
g++ -I. -I. -I../../../../src/sysc/utils -I../../../../src -Wall -DSC_INCLUDE_FX -O3 -c -o sc_utils_ids.o `test -f '../../../../src/sysc/utils/sc_utils_ids.cpp' || echo '../../../../src/sysc/utils/'`../../../../src/sysc/utils/sc_utils_ids.cpp
../../../../src/sysc/utils/sc_utils_ids.cpp: In function ‘int sc_core::initialize()’:
../../../../src/sysc/utils/sc_utils_ids.cpp:110:36: error: ‘getenv’ is not a member of ‘std’
../../../../src/sysc/utils/sc_utils_ids.cpp:111:69: error: ‘strcmp’ was not declared in this scope
../../../../src/sysc/utils/sc_utils_ids.cpp: At global scope:
../../../../src/sysc/utils/sc_utils_ids.cpp:119:12: warning: ‘sc_core::forty_two’ defined but not used

How can this be fixed?


By Date: Previous | Next Current Thread By Thread: Previous | Next