[JDEV] Fix for cygwin 1.4.2-test & jabber2 compile errror re: KARMA_DEF_RATE_T...

Richard Muggle morrisrx at hotmail.com
Thu Nov 29 09:25:08 CST 2001


There seems to be a problem with the "jabber-1.4.2-test" and "jabber2" (cvs) 
makefiles for cygwin which results in
the following error messages (see end of message).

The problem appears to be with the file: "./cygwin/Makefile.jabberd" on line 
120 which exports the symbols of the "jabberd.a" library.

The line is:

nm $(jabberd_OBJECTS) $(jabberd_EXOBJECTS) $(PTHLIB) | grep '^........ [T] 
_' | sed 's/[^_]*_//' >> jabberd.def

This line should be (to export data symbols):

nm $(jabberd_OBJECTS) $(jabberd_EXOBJECTS) $(PTHLIB) | grep '^........ [TD] 
_' | sed 's/[^_]*_//' >> jabberd.def

Richard


-----------------------
Compilation Errors:

dllwrap --def ../cygwin/pthsock_client.def --driver-name gcc -o
pthsock_client.dll client.o dllinit.o ../jabberd/jabberd
.a -L/usr/local/lib
client.o: In function `pthsock_client':
/usr/local/jabber-1.4.2-test/pthsock/client.c:484: undefined reference to
`KARMA_DEF_RATE_T'
/usr/local/jabber-1.4.2-test/pthsock/client.c:485: undefined reference to
`KARMA_DEF_RATE_P'
/usr/local/jabber-1.4.2-test/pthsock/client.c:531: undefined reference to
`KARMA_DEF_RATE_T'
/usr/local/jabber-1.4.2-test/pthsock/client.c:532: undefined reference to
`KARMA_DEF_RATE_P'
/usr/local/jabber-1.4.2-test/pthsock/client.c:537: undefined reference to
`KARMA_DEF_INIT'
/usr/local/jabber-1.4.2-test/pthsock/client.c:543: undefined reference to
`KARMA_DEF_RESETMETER'


_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp




More information about the JDev mailing list