This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Compilation Error- Seems a gcc Problem


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]