help-cgicc
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: GNUMakefile problem with cgicc


From: Stephen Booth
Subject: Re: GNUMakefile problem with cgicc
Date: Sun, 19 Aug 2001 09:47:49 +0800

What version of gcc are you using?  I saw errors like these when I tried to 
install gcc-3.0 but installation failed in the middle.  I had to reinstall the 
compiler to fix the errors.  


> Hello,
> 
> I was able to compile a simple cgicc C++ program  using:
> 
>      g++ -o ipstest ipstest.cpp iplib.cpp
> -I/home/ehlvest/files/cgicc_inst/include/
> -L/home/ehlvest/files/cgicc_inst/lib -lcgicc
> 
> I tried to use GNUMake file:
> 
>      program_modules= ipstest
>      compiled_modules= iplib
> 
>      ipstest: ipstest.o iplib.o
>           cc -o ipstest ipstest.o iplib.o
> -I/home/ehlvest/files/cgicc_inst/include/
> -L/home/ehlvest/files/cgicc_inst/lib -lcgicc
> 
>      iplib.o: iplib.cpp iplib.h
>           cc -c iplib.cpp -I/home/ehlvest/files/cgicc_inst/include/
> -L/home/ehlvest/files/cgicc_inst/lib -lcgicc
> 
>      ipstest.o: ipstest.cpp iplib.h
>           cc -c ipstest.cpp -I/home/ehlvest/files/cgicc_inst/include/
> -L/home/ehlvest/files/cgicc_inst/lib -lcgicc
> 
> and make
> 
> but I'm getting the errors:
> 
>      .....
>      iplib.o(.cgicc::comment::gnu.linkonce.t.render(ostream &) const+0x98):
> undefined reference to `ostream:
>      :operator<<(char const *)'
>      iplib.o(.cgicc::comment::gnu.linkonce.t.render(ostream &) const+0xac):
> undefined reference to `cgicc::H
>      TMLElement::getData(void) const'
>      iplib.o(.cgicc::comment::gnu.linkonce.t.render(ostream &) const+0xbe):
> undefined reference to `ostream:
>      :operator<<(char const *)'
>      iplib.o(.cgicc::comment::gnu.linkonce.t.render(ostream &) const+0xd4):
> undefined reference to `ostream:
>      :operator<<(char const *)'
>      ...
> 
> Any idea ? Please help.
-- 

_______________________________________________
Get your free email from http://webmail.earthlink.net




reply via email to

[Prev in Thread] Current Thread [Next in Thread]