[AGENT++] Problem compiling SNMP++ 3.2.10a on Solaris 9 w gcc 2.95
Jochen Katz
katz at agentpp.com
Sun Mar 21 22:08:14 CET 2004
Hi,
> It seems that g++ (and gcc for that matter) 'ignores' some of the
> methods that are implemented in the header files. For example, a lot of
> the methods in target.h are not present in libsnmp++.a (and
> libsnmp++.so).
from my knowledge this is ok, as the methods implemented in the header
are inlined into any object file that uses these methods. So no object
file should have these methods as external unresolved symbol.
> This, of course, causes link errors and I cannot use the lib.
> Any ideas?
Did you use different compiler switches for building the lib and your code?
What OS and g++ version are you using?
Regards,
Jochen
More information about the AGENTPP
mailing list