get error when I run nullclient

Stu Tomlinson stu at
Sat Jun 7 10:31:57 EDT 2008

On Sat, 2008-06-07 at 22:22 +0800, A.TNG wrote:
> Hi,
> I read source code of nullclient.c and try to write a protocol plugin
> and write a IM client with libpurple. Then I met some problems. After
> I compile the source code and run "./nullclient", I get following
> message:
> jiyu at beijing-atng /cygdrive/d/im/pidgin/src/pidgin-2.4.2/libpurple/example
> $ ./nullclient
> libpurple initialized.
> Select the protocol [0--1]:
> I don't know what does it mean about "Select the protocol" and I find
> "[0--1]" is totally wrong. Since the source code is :
> printf("Select the protocol [0-%d]: ", i-1);
> Please pay attention to the "[0-%d]". Because I get "[0--1]", so the
> value of "i" is 0.

You need to run "make install" so that the protocol plugins are
installed where nullclient is looking for them.



More information about the Devel mailing list