From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <102653649621743.tru64-unix-managers.marc@archive.invalid> From: Noboom2 () aol ! com Date: Fri, 08 Jun 2001 22:30:04 +0000 To: tru64-unix-managers Subject: Summary: cxx compiler error X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=102653649621743 Greetings all- I'm happy to summarize that the problem was a foolish mistake on my part, and that my cxx code is now working to specification. My question concerned a lot of linker errors I was receiving when trying to link functions from several libraries, some of which were C and some were C++. It turns out that when creating a library in c++ it is important to include the object files the compiler puts into the cxx_repository, which are the instantiated templates of objects in the standard library, among other things. By adding the following to the 'ar' command when creating the library cxx_repository/*.o ar included the instantiations and I was able to correct the linker problems when trying to create programs. Thanks to several people who replied (some of whom I may have lost the email address for -- sorry), who included: Hugues.Talbot@cmis.CSIRO.AU lola@gene.COM tom@radar.tu-graz.ac.at