[prev in list] [next in list] [prev in thread] [next in thread] 

List:       mico-devel
Subject:    RE: Templates and MICO
From:       "fred patrick" <fpatrick () net1 ! net>
Date:       2000-11-22 9:15:44
[Download RAW message or body]

I assume you are using the Solaris SC4.2 compiler. We made it work by using
the -pto option which I believe forces the templates to be included in each
compilation unit. If you do not do that then one approach may be to build a
library from the object files in the Templates.DB directory. The whole
business is very confusing, at least for us.
Fred Patrick

> -----Original Message-----
> From: mico-devel@inf.ethz.ch [mailto:mico-devel@inf.ethz.ch]On Behalf Of
> Suven Pillay
> Sent: Tuesday, November 21, 2000 6:32 AM
> To: Multiple recipients of list
> Subject: Templates and MICO
>
>
> Hello all.
>
> I am trying to use C++ templates and MICO and have tested the templates in
> isolation in normal programs and they work fine.  The problem
> arises when I
> try to create my server executable.  To create this I need to link in the
> object file of my template but I always get a unresolved external symbol
> when linking.
>
> The template class is definitely working in isolation.  Is there something
> else I need to do with MICO in order to link to the templates.  I am
> developing on Sun/Solaris combination and when I use templates I get a
> Templates.DB directory with all sorts of .o files in it.  Does these files
> have something to do with it.
>
> Please help.
>
> Thanks in advance.
>
> Suven
>

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic