pidgin-secondlife compiles on my system only if I add -m32 to the Makefile.
But, the plugin is then is ignored by my distro's copy of pidgin, which is all 64-bit.
When I tried to compile pidgin-secondlife on my 64-bit Linux, I received the following error:
% make
gcc -I/usr/include/libpurple -I/usr/local/include/libpurple -DPURPLE_PLUGINS -DENABLE_NLS -DHAVE_ZLIB -Wall -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/include/json-glib-1.0 -ljson-glib-1.0 -I. -g -O2 -pipe pidgin-secondlife.h pidgin-secondlife.c -o pidgin-secondlife.so -shared -fPIC -DPIC -m64
In file included from /usr/include/glib-2.0/glib/gasyncqueue.h:34:0,
from /usr/include/glib-2.0/glib.h:34,
from pidgin-secondlife.c:47:
/usr/include/glib-2.0/glib/gthread.h: In function 'g_once_init_enter':
/usr/include/glib-2.0/glib/gthread.h:347:3: error: size of unnamed array is negative
pidgin-secondlife.c: At top level:
pidgin-secondlife.c:761:21: warning: 'send_whisper' defined but not used
make: *** [pidgin-secondlife.so] Error 1
My system:
Fedora release 14 (Laughlin)
Linux localhost 2.6.35.11-83.fc14.x86_64 #1 SMP Mon Feb 7 07:06:44 UTC 2011 x86_64 x86_64 x86_64 GNU/Linux
I would like to ask to continue development on pidgin-secondlife and for 64-bit compile support.
Thanks much for the great project!