Getting mudos to work on Ubuntu 10.10
First.
Grab the MudOS code and unzip it into your folder of choice.
Go into the source code folder and edit local_options to set your configuration of choice.
My first error after typing ‘make’ was this:
No rule to make target obj/malloc.o. needed by ‘driver’. Stop
I just typed make again and it kept on going… interesting…
Second error:
Socket_efuns.c:1198: error: lvalue required as unary ‘&’ operand
This one was a little more interesting… the code looks like this on line 1198:
addr_in = &(local ? lpc_socks[fd].l_addr : lpc_socks[fd].r_addr);
Well, I googled around… saw something about a bug with getting a reference… anyhow I’m not expert on C but I modified the code to this and got the error to go away. I think it’s legit:
addr_in = local ? (&(lpc_socks[fd].l_addr)) : (&(lpc_socks[fd].r_addr));
typed make again… and away I went.
Then it got to the linker and I got this error:
/usr/bin/ld: cannot find –lbsd
collect2: ld returned 1 exit status
after some googling around I found out that means that my ld command cannot find the bsd lib *.a file…
after some looking around I found that there is some config for it (described a bit here http://www.eyrie.org/~eagle/notes/rpath.html)
/etc/ld.so.conf to be precise.
Well /etc/ld.so.conf said this:
Include /etc/ld.so.conf.d/*.conf
So I went in that folder and found a bunch of conf…
One of them looked like this inside:
/usr/lib/mesa
Cool… and another:
/usr/lib/i686-linux-gnu
/usr/lib/i686-linux-gnu
Cool… so I need to make one for me… call it bsd I guess. But where is bsd at… so I looked around on my box and found this
/usr/lib/libbsd-compat.a
So I ran this command
Sudo cp /usr/lib/libbsd-compat.a /usr/lib/libbsd.a
And ran make again. Finished. Cool!
And then I telnetted into my mud. Ah memories.

EDIT: some news. I'm getting 'back' into LP Muds and i found out that people have moved over to FluffOS http://www.fluffos.myzen.co.uk/
So i switched over to the latest version of FluffOS and built that. it seems to build and run fine for my version of the DarkeLIB.
http://lpmuds.net/forum/index.php?topic=1172.0