This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug preprocessor/38843] New: Problem with SystemC compilation using GCC 4.3.2
- From: "conanedo08 at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 14 Jan 2009 17:18:20 -0000
- Subject: [Bug preprocessor/38843] New: Problem with SystemC compilation using GCC 4.3.2
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
Hi ,
Dear Stuff,
Lastly I wanted to install SystemC on my linux Ubuntu 8.10(Intrepid) with
kernel 2.6.27-7, but I got some problems at compilation time with GCC 4.3.2:
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:113: error: 'getenv' is not a
member of 'std'
../../../../src/sysc/utils/sc_utils_ids.cpp: At global scope:
../../../../src/sysc/utils/sc_utils_ids.cpp:122: warning: 'sc_core::forty_two'
defined but not used
make[3]: *** [sc_utils_ids.o] Error 1
make[3]: Leaving directory
`/home/khalil/Projects/systemc-2.2.0/objdir/src/sysc/utils'
make[2]: *** [install-recursive] Error 1
make[2]: Leaving directory
`/home/khalil/Projects/systemc-2.2.0/objdir/src/sysc'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/home/khalil/Projects/systemc-2.2.0/objdir/src'
make: *** [install-recursive] Error 1
Please, can you give me any solution to this problem, because I'm really stuck!
What do you think of downgrading my GCC 4.3.2 to GCC 3.2.3?
Thank you for your time, I look to hear from you sooner.
Regards
--
Summary: Problem with SystemC compilation using GCC 4.3.2
Product: gcc
Version: 4.3.2
Status: UNCONFIRMED
Severity: blocker
Priority: P3
Component: preprocessor
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: conanedo08 at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38843