[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
GNUMakefile problem with cgicc
From: |
Rafal Furdzik |
Subject: |
GNUMakefile problem with cgicc |
Date: |
Mon, 13 Aug 2001 14:23:40 -0400 |
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.
********************************NOTICE*************************************
This transmittal and/or attachments may be a confidential attorney-client
communication or may otherwise be privileged or confidential. If you are
not the intended recipient, you are hereby notified that you have received
this transmittal in error; any review, dissemination, distribution or
copying of this transmittal is strictly prohibited. If you have received
this transmittal and/or attachments in error, please notify us immediately
by reply or by telephone (call us collect at +1 212-848-8400) and
immediately delete this message and all its attachments.
Thank you.
- GNUMakefile problem with cgicc,
Rafal Furdzik <=