UltimateIRCd Support > UltimateIRCd 3.0 Support

UltimateIRCd-3.00.a22 on IRIX/UNIX

(1/1)

Lancelot:
Heya ... i hope this is the right place to post help for compiling Uircd on IRIX MIPS ^^
I'm running IRIX 6.5.9 on my private SGI computer (o2 with MIPS)
ok.. here we go:
./configure < runs with no problems
make < gives the following error:

s_bsd.c: In function `init_sys':
s_bsd.c:521: too many arguments to function `setpgrp'
*** Error code 1 (bu21)
*** Error code 1 (bu21)

If you get this on your SGI goto /src/ and edit the file s_bsd.c

Comment Line 1585 and insert (void)setsid();
Example:

#if defined(SOL20) || defined(DYNIXPTX) || \
    defined(_POSIX_SOURCE) || defined(SVR4)
      (void) setsid ();
#else
//      (void) setpgrp (0, (int) getpid ());
       (void) setsid ();
#endif

ok ..this was the first error.. next one follows:
If you get over 50 warnings (like me 2 days ago *g*) then check if it is a linker problem.
Looks like this:

ld32: WARNING 84: /usr/lib32/libsocket.so is not used for resolving any symbol.
ld32: WARNING 85: definition of _ffs in /usr/lib32/libnsl.so preempts that definition in /usr/lib32/mips3/libc.so.
ld32: Giving up after 50 warnings.

To solve this get into the /src/ folder and edit the Makefile:

CC=gcc
RM=/sbin/rm
IRCDLIBS= ../zlib/libz.a                    <<<<< remove the -lsocket and -lnsl and your doing fine
INCLUDEDIR=-I../include -I../zlib

That's all guys ..and i have to say ..it's the best IRCD Server i've seen :)

btw: I'm running epona services with the 3.00alpha22 and it works fine :))

ShadowMaster:
Moving this to support and making it a sticky although i doubt too many will be running on irix :)

I'll see about making it work out of the box on irix when i can find the time.

Navigation

[0] Message Index

Go to full version