static linking of cgi
Cecil Westerhof <[email protected]> 31 Jan 2004 23:48:26 +0100
| Newsgroups | gmane.comp.gcc.cgicc.general |
|---|---|
| Message-ID | <[email protected]> |
I would like to static link the cgicc library. I try this with g++ -O2 -L/usr/lib/mysql/ -lmysqlclient /usr/lib/libcgicc.a select.o WebDB.o -o select But then I get a lot of messages like: WebDB.o: In function `WebDB::DisplayParameters(char const*, char const*)': /home/cecil/zzz/WebDB.cpp:60: undefined reference to `cgicc::HTMLElement::set(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)' What am I doing wrong? -- Cecil Westerhof <[email protected]>