tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
From: Noboom2 () aol ! com
To: tru64-unix-managers
Subject: cxx compiler error
Date: Fri, 01 Jun 2001 16:55:21 +0000	[thread overview]
Message-ID: <102653649621604.tru64-unix-managers.marc@archive.invalid> (raw)

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<char, std::char_traits<char> >::basic_ifstream(void)
std::basic_ifstream<char, std::char_traits<char> >::open(const char*, int, 
long)
std::basic_ifstream<char, std::char_traits<char> >::~basic_ifstream(void)
std::basic_ostringstream<char, std::char_traits<char>, std::allocator<char> 
>::basic_ostringstream(int)
std::basic_ostringstream<char, std::char_traits<char>, std::allocator<char> 
>::str(void) const 
std::basic_ostringstream<char, std::char_traits<char>, std::allocator<char> 
>::~basic_ostringstream(void)
std::basic_string<char, std::char_traits<char>, std::allocator<char> 
>::_RWclone(void)
_RWrwstd::rw_extract_string(std::basic_istream<char, std::char_traits<char> 
>&, std::basic_string<char, std::char_traits<char>, std::allocator<char> >&, 
std::char_traits<char>)
std::getline(std::basic_istream<char, std::char_traits<char> >&, 
std::basic_string<char, std::char_traits<char>, std::allocator<char> >&, char)
*** Exit 1
Stop.

             reply	other threads:[~2001-06-01 16:55 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-06-01 16:55 Noboom2 [this message]
  -- strict thread matches above, loose matches on Subject: below --
1997-11-21 19:06 cxx compiler error Matt Moore
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox