Re: STL and Performer?

New Message Reply Date view Thread view Subject view Author view

Prakash Mahesh (prakash++at++drawcomp.com)
Wed, 06 May 1998 16:39:57 -0400


All you need to do is use -ptused option in the compile line. This makes
the template instantiations. For more details please read the man pages
on CC (especially -ptused).

Hope this helps.
-Prakash

>
> Are there any issues involved in using the Standard Template
> Library with Performer? I've spliced some code into Perfly
> that declares a pretty simple vector<int> x, but dies at
> runtime with the following unresolved symbols:
>
> 4248:perfly: rld: Error: unresolvable symbol in perfly:
> __node_allocator_lock__45__default_alloc_template__pt__13_XCiL11XCiL10
> 4248:perfly: rld: Error: unresolvable symbol in perfly:
> free_list__45__default_alloc_template__pt__13_XCiL11XCiL10
>
> This happens first thing at run time. The function containing
> the vector isn't yet called, the mere existance of the vector
> causes the problems. When I create a simple test program with
> a vector and compile using CC, things work fine. Is there some
> makefile/compiler voodo I need to change in the 'perfly' Makefile?
>
> I'm using the 'perfly' Makefile, running with C++ 7.1,
> IRIX 6.4 on an Octane, and looks to be Performer 2.1. I'm
> getting the same results compiling with PFSTYLE set to
> 32, N32, and 64.
>

-- 
  Prakash Mahesh                                     
  prakash++at++drawcomp.com
  	--or--
  prakash++at++openworlds.com
=======================================================================
List Archives, FAQ, FTP:  http://www.sgi.com/Technology/Performer/
            Submissions:  info-performer++at++sgi.com
        Admin. requests:  info-performer-request++at++sgi.com

New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:57:22 PDT

This message has been cleansed for anti-spam protection. Replace '++at++' in any mail addresses with the '@' symbol.