Menu

#2 Compiling and working IMspector on FreeBSD

open
nobody
5
2009-05-19
2009-05-19
Vadeg
No

Hi.
I tried to compile IMspector src's (imspector-20090518.tar.gz ) on FreeBSD 6.3.
The first error when i run "gmake" was:

g++ -Wall -O2 -fPIC -I/usr/include/openssl -DHAVE_SSL icqprotocolplugin.cpp -c
icqprotocolplugin.cpp: In function `int getmessage(char**, char*, int, std::string&, int&, int&)':
icqprotocolplugin.cpp:676: error: invalid conversion from `char**' to `const char**'
icqprotocolplugin.cpp:676: error: initializing argument 2 of `size_t libiconv(void*, const char**, size_t*, char**, size_t*)'
gmake: *** [icqprotocolplugin.o] Error 1

I 've fix it :

icqprotocolplugin.cpp, s. 671 const char *inbuf = string;

Then IMspector was succesfully built and installed, but when i' ve tried start it "imspector -d" i've got error :

imspector: Creating certs on demand into: /var/lib/imspector
/libexec/ld-elf.so.1: /usr/local/lib/imspector/icqprotocolplugin.so: Undefined symbol "libiconv_open"

What i should to do ? how to fix it ?
Sorry for my bad english, need a slightly more practice =)

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.