[JDEV] Building 1.4.2-test on cygwin

Thomas Muldowney temas at box5.net
Thu Dec 6 11:33:35 CST 2001


I think this has been cleared up in CVS.  Could you give that a shot?

--temas


On Wed, Dec 05, 2001 at 02:25:52PM -0700, Brian Brown wrote:
> Greetings!
> 
> I'm trying to build the Jabber server on cygwin and have run into a few
> problems. The first one was dealing with not having the pth-1.4.0
> distribution, so that was easily solved.
> 
> The one I'm currently battling is on the following:
> dllwrap --def ../cygwin/pthsock_client.def --driver-name gcc -o
> pthsock_client.dll client.o dllinit.o ../jabberd/jabberd.a client.o: In
> function `pthsock_client':
> /cygdrive/c/dist/jabber-1.4.2-test/pthsock/client.c:485: undefined reference
> to `KARMA_DEF_RATE_T'
> /cygdrive/c/dist/jabber-1.4.2-test/pthsock/client.c:486: undefined reference
> to `KARMA_DEF_RATE_P'
> /cygdrive/c/dist/jabber-1.4.2-test/pthsock/client.c:532: undefined reference
> to `KARMA_DEF_RATE_T'
> /cygdrive/c/dist/jabber-1.4.2-test/pthsock/client.c:533: undefined reference
> to `KARMA_DEF_RATE_P'
> /cygdrive/c/dist/jabber-1.4.2-test/pthsock/client.c:538: undefined reference
> to `KARMA_DEF_INIT'
> /cygdrive/c/dist/jabber-1.4.2-test/pthsock/client.c:544: undefined reference
> to `KARMA_DEF_RESETMETER'
> collect2: ld returned 1 exit status
> dllwrap: gcc exited with status 1
> make[1]: *** [pthsock_client] Error 1
> make[1]: Leaving directory `/cygdrive/c/dist/jabber-1.4.2-test/pthsock'
> make: *** [all-recursive] Error 1
> 
> ---------------------
> I found those defs in jabberd/lib/lib.h and included that directly in
> client.c via #include, but the #ifndef that surrounds those delarations is
> keeping them from being used. I'll try commenting out the #ifndef, but I'm
> sure that's probably not the right way to do it!
> 
> Any ideas?
> 
> Thanks!
> Brian
> 
> 
> _______________________________________________
> jdev mailing list
> jdev at jabber.org
> http://mailman.jabber.org/listinfo/jdev

-- 
Thomas Muldowney
email/jabber: temas at jabber.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 232 bytes
Desc: not available
URL: <http://mail.jabber.org/pipermail/jdev/attachments/20011206/143d3e61/attachment-0002.pgp>


More information about the JDev mailing list