Compilation Error- Seems a gcc Problem

Joe Buck jbuck@synopsys.com
Thu Dec 4 23:04:00 GMT 2003


On Thu, Dec 04, 2003 at 10:10:17PM -0000, Luis Gonçalves wrote:
>     This error appears any time to anyone?

Normally the information you give would be insufficient to help, but
it appears that your problem is that you linked with gcc and not g++,
so you aren't getting the C++ standard library, which contains the
routines for complex numbers that you are missing.

> gcc  sc_main_ref_v0_chain_xl.o -L/home/lgoncalves/SimC/V0_SISO_simC/lib -lsysC -lC_sysC_link -lC_code -lsimCCpp -L/opt/systemc-2.0.1/lib-linux -lsystemc -lm -L/opt/xerces-c-src2_2_0/lib -lxerces-c  -o /home/lgoncalves/SimC/V0_SISO_simC/bin/ref_v0_chain_xl.x 2>&1 | c++filt

Replace "gcc" with "g++" in the above command.



More information about the Gcc mailing list