|
Post by ekolis on May 25, 2005 15:41:16 GMT -5
Usually Angband installations on Linux are fairly straightforward, but here I'm getting tons of build errors... But don't worry, I finally worked my way through it! I'm using "make -f MAKEFILE.ORG" to build, and the first set of errors I get is some stuff about "strchr" being redeclared in h-system.h. So if I comment out that declaration, everything goes fine for a while until I get to some "no rules to make target" errors which are rectified by renaming the uppercased .c files to lowercase. I run the make again and get "/usr/bin/ld: cannot find -lX11", so I add "-L/usr/X11R6/lib" to the LIBS line in MAKEFILE.ORG. Next there are a whole bunch of linker errors about undefined references... poking around a bit with what was being referred to, I found that the files "mongen.c" and "learn.c" were not being compiled and linked in! So, I added "mongen.c learn.c" to the SRCS line and "mongen.o learn.o" to the OBJS line, and right below this line levels.o: levels.c $(INCS) I added these two: mongen.o: mongen.c $(INCS) learn.o: learn.c $(INCS) Oh yeah, and in order to make the game actually work, you'll have to rename a bunch of files in various places in the lib directory to lowercase, since Linux is case sensitive Have fun!
|
|
|
Post by mhj on Sept 16, 2005 17:58:56 GMT -5
It seems strangely f**ked up, yes. I am sure it must be some kind of mistake.
I am getting the same errors. Also the uppercase and ~'s seem strange,
|
|
|
Post by Variaz on Sept 17, 2005 1:46:58 GMT -5
It's been a while since I actually compiled a Linux version of NewAngband, and so it might not be all that good. I will need to check these makefiles one day, though since my Linux system is down, it means reinstalling it to test everything.. not sure I have the time for that now. But I'll see about it once I get Linux running again.
|
|