From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <102653649621604.tru64-unix-managers.marc@archive.invalid> From: Noboom2 () aol ! com Date: Fri, 01 Jun 2001 16:55:21 +0000 To: tru64-unix-managers Subject: cxx compiler error X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=102653649621604 Hello all- Has anyone successfully used C++ under Tru64 to build a library and then include that C++ library in subsequent links? I had no problem building the library, but when I try to use it I'm getting a bunch of linker errors (which appear below). I've called this on in to Compaq, but they were unable to solve the problem. It looks like my library may be pulling in something from the standard C++ library, but when subsequent programs try to link to the same they fail. I have a work around of just including the source of everything in one .cpp (or .C) file, but I'd rather not have to continue working this way. Thanks for any responses, and I will summarize to the list. # make cxx -lmynewlib myprog.C -g -DPROMPT -I/usr/local/adm/include -L/usr/local/adm/lib \ -o myprog -lldapssl40 -lpq -lsecurity -lmynewlib ld: Unresolved: is_valid_form(char*) get_single_ptree_record(const char*, char*) std::basic_ifstream >::basic_ifstream(void) std::basic_ifstream >::open(const char*, int, long) std::basic_ifstream >::~basic_ifstream(void) std::basic_ostringstream, std::allocator >::basic_ostringstream(int) std::basic_ostringstream, std::allocator >::str(void) const std::basic_ostringstream, std::allocator >::~basic_ostringstream(void) std::basic_string, std::allocator >::_RWclone(void) _RWrwstd::rw_extract_string(std::basic_istream >&, std::basic_string, std::allocator >&, std::char_traits) std::getline(std::basic_istream >&, std::basic_string, std::allocator >&, char) *** Exit 1 Stop.