using strings within the Sun Internet Mail SDK
807574Sep 15 2004 — edited Feb 20 2020Hello,
I'm currently building a channel master programm for the iMS 5.2 using the Sun Internet Mail SDK. I would like to use string(s) within that C/C++ program. Buf if I include <string.h> and define a string within the code I get a core dump when the master program excecutes.
The core file is in log/imta. It seems that there are problems with libstdc++ and libmee.so (shipped with the ims) as I get the following message when I include -lmee within the makefile (link).
ld: warning: symbol `clog' has differing sizes:
(file /appl/sunone/ims5/bin/msg/lib/libmee.so value=0x68; file /usr/local/lib/libstdc++.a(stdstreams.o) value=0x28);
/usr/local/lib/libstdc++.a(stdstreams.o) definition taken
ld: warning: symbol `cout' has differing sizes:
(file /appl/sunone/ims5/bin/msg/lib/libmee.so value=0x68; file /usr/local/lib/libstdc++.a(stdstreams.o) value=0x28);
/usr/local/lib/libstdc++.a(stdstreams.o) definition taken
ld: warning: symbol `cin' has differing sizes:
(file /appl/sunone/ims5/bin/msg/lib/libmee.so value=0x74; file /usr/local/lib/libstdc++.a(stdstreams.o) value=0x30);
/usr/local/lib/libstdc++.a(stdstreams.o) definition taken
ld: warning: symbol `cerr' has differing sizes:
(file /appl/sunone/ims5/bin/msg/lib/libmee.so value=0x68; file /usr/local/lib/libstdc++.a(stdstreams.o) value=0x28);
/usr/local/lib/libstdc++.a(stdstreams.o) definition taken
When I do not include -lmee I do not get this message during the link-step but I have in both cases a core dump during runtime.
Another question is, if there is more information available about the Sun Internet Mail SDK? All I have is the introduction (http://docs.sun.com/source/816-6089-10/)
Thanks in advance
Thomas