> I encountered some problems when linking KDE programs with FAM. The problem
> is caused by libfam containing "Client" as class. This collides with
> programs which define such a class as well.
I just tried a little test program containing its own Client class
(including some of the same methods as the Client class in libfam), and
was able to link it with libfam; then I tried moving the client class into
a separate shared library and linking with that, so the program was linking
with two different libraries containing classes called Client, and it all
linked & ran OK on both Linux & IRIX. (On IRIX I got warnings about the
multiple definitions, though.) I can send you the little test if you want
to see whether it works on your machine, but you're right that it should be
fixed.
libfam should export only the symbols listed in fam.h. I know how to do
this with SGI compilers; does anyone know how to do it with g++/GNU ld?
--Rusty
--
Source code, list archive, and docs: http://oss.sgi.com/projects/fam/
To unsubscribe: echo unsubscribe fam | mail majordomo@xxxxxxxxxxx
|