[IRCServices] DreamForge 4.6.7

Lonewolf lonewolf at lagnet.org.za
Mon Jan 3 13:33:46 PST 2000


On Mon, Jan 03, 2000 at 10:03:25PM +0200, Michael Smith wrote:
> Nopes, did what u said, get tonnes of messages...

[ snip. ]
> /usr/local/ircd/src/df467/src/res.c:528: undefined reference to `res_mkquery'
> res.o: In function `proc_answer':
> /usr/local/ircd/src/df467/src/res.c:617: undefined reference to `dn_expand'
> /usr/local/ircd/src/df467/src/res.c:622: undefined reference to `_getshort'
> /usr/local/ircd/src/df467/src/res.c:624: undefined reference to `_getshort'
> /usr/local/ircd/src/df467/src/res.c:626: undefined reference to `_getlong'
> /usr/local/ircd/src/df467/src/res.c:628: undefined reference to `_getshort'
> /usr/local/ircd/src/df467/src/res.c:665: undefined reference to `dn_expand'
These are from libresolv.

> s_user.o: In function `m_oper':
> /usr/local/ircd/src/df467/src/s_user.c:2642: undefined reference to `crypt'
> collect2: ld returned 1 exit status
These are from libcrypt.

[ snip. ]

The "./Config" script will ask you if you need any "extra libraries", put
"-lresolv -lcrypt".

Once that's done, apply the following to include/sys.h:
--- include/sys.h.old   Mon Jan  3 23:31:07 2000
+++ include/sys.h       Mon Jan  3 23:26:12 2000
@@ -103,9 +103,9 @@
 #endif
 
 /*
- * Different name on NetBSD, FreeBSD, and BSDI
+ * Different name on NetBSD, FreeBSD, and BSDI and now Linux!
  */
-#if defined(__NetBSD__) || defined(__FreeBSD__) || defined(__bsdi__)
+#if defined(__NetBSD__) || defined(__FreeBSD__) || defined(__bsdi__) || defined(__linux__)
 #define dn_skipname  __dn_skipname
 #endif

It should then compile, though messily.

--
lonewolf at lagnet.org.za
---------------------------------------------------------------
To unsubscribe, send email to majordomo at ender.shadowfire.org
with "unsubscribe ircservices" in the body, without the quotes.