On Thu, Sep 04, 2008 at 07:30:48PM +0200, Miroslav Lichvar wrote: > On Thu, Sep 04, 2008 at 06:11:51PM +0200, Patrice Dumas wrote: > > I have a package that fails to build since gcc 4.3, libnc-dap, and I am > > lost about what could be wrong. It is basically a library and a utility > > built on top of the library. When linking the utility, it gets: > > > > ../.libs/libnc-dap.so: undefined reference to `Connections<NCConnect*>::operator[](int)' > > The problem is that the function isn't used only in Dnc.cc (where > Connections.cc is included). Probably the easiest fix is to add the > following line somewhere in Dnc.cc and make it visible for other > modules. > > template NCConnect* & Connections<NCConnect *>::operator[](int i); Many thanks, it worked. Well, in fact I included the .cc file everywhere, now I'll let upstream do what they want to. -- Pat -- fedora-devel-list mailing list fedora-devel-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/fedora-devel-list