I've downloaded the Jabber package from the contribs section to evaluate it but I'm having a problem compiling the nsjabber module. When I run 'make' I hit a problem with the first compile which seems to be related to the jabber.h include. The output is about 14k but starts like this:
gcc -I../include/xode -I../../include -I../include/jabber -I../include -I../../nsd -I../../include -D_REENTRANT=1 -DNDEBUG=1 -g -fPIC -Wall -Wno-unused -mcpu=i586 -DHAVE_CMMSG=1 -DUSE_FIONREAD=1 -DHAVE_COND_EINTR=1 -c -o jpacket.o jpacket.c
In file included from jpacket.c:20:
../include/jabber/jabber.h:59: parse error before "pool"
../include/jabber/jabber.h:59: warning: no semicolon at end of struct or union
../include/jabber/jabber.h:65: parse error before '}' token
../include/jabber/jabber.h:65: warning: type defaults to `int' in declaration of `jid'
../include/jabber/jabber.h:65: warning: data definition has no type or storage class
../include/jabber/jabber.h:67: parse error before "jid_new"
../include/jabber/jabber.h:67: parse error before "p"
../include/jabber/jabber.h:67: warning: type defaults to `int' in declaration of `jid_new'
../include/jabber/jabber.h:67: warning: data definition has no type or storage class
../include/jabber/jabber.h:68: parse error before "id"
../include/jabber/jabber.h:69: parse error before "id"
../include/jabber/jabber.h:70: parse error before "a"
../include/jabber/jabber.h:71: parse error before "a"
../include/jabber/jabber.h:72: parse error before "jid_append"
../include/jabber/jabber.h:72: parse error before "a"
../include/jabber/jabber.h:72: warning: type defaults to `int' in declaration of `jid_append'
../include/jabber/jabber.h:72: warning: data definition has no type or storage class
../include/jabber/jabber.h:73: parse error before "jid_xres"
../include/jabber/jabber.h:73: parse error before "id"
../include/jabber/jabber.h:73: warning: type defaults to `int' in declaration of `jid_xres'
../include/jabber/jabber.h:73: warning: data definition has no type or storage class
../include/jabber/jabber.h:74: parse error before "jid_nodescan"
../include/jabber/jabber.h:74: parse error before "id"
../include/jabber/jabber.h:74: warning: type defaults to `int' in declaration of `jid_nodescan'
../include/jabber/jabber.h:74: warning: data definition has no type or storage class
.
.
.
There's plenty more of that if its required. I'm using gmake version 3.79.1 on Linux. My C skills aren't up to this so any assistance would be appreciated.
Thanks
Steve
Request notifications