[ home | blog home | recent activity ]
I installed Mudos on my laptop which is running Ubuntu Edgy. I had two problems compiling the source for v22.2b14.
The first issue is this error when running make:
make: *** No rule to make target `obj/malloc.o', needed by `driver'. Stop.
The solution, bizarrely, is to just run make again. I
don't know what the issue is, but discovered this in the depths of the
mailing list archives.
The second issue I get when compiling is this error:
socket_efuns.c: In function 'get_socket_addres': socket_efuns.c:1198: error: invalid lvalue in unary '&' make: *** [obj/socket_efuns.o] Error 1
Doing this change fixes the issue:
$ diff socket_efuns.c.orig socket_efuns.c 1198c1198,1199 < addr_in = &(local ? lpc_socks[fd].l_addr : lpc_socks[fd].r_addr); --- > // addr_in = &(local ? lpc_socks[fd].l_addr : lpc_socks[fd].r_addr); > addr_in = local ? &lpc_socks[fd].l_addr : &lpc_socks[fd].r_addr;
After that, everything works wonderfully.
Comments:
Post a new comment:
Three things:
If you can't for some reason post a comment, send me an email: willg at bluesock dot org.
pyblosxom::1.5-dev git-master
Copyright 1996 to 2012, Will Guaraldi Kahn-Greene, under the Creative Commons BY-SA 3.0 license

Will's Blog by William Kahn-Greene is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.