Re: Compiling? (win32 with mingw)



kcolrawyksthgin <kcolrawyksthgin@xxxxxxxxxxx> wrote in
news:fqpkq3t4jjbvq730836m30gd8948u1jesk@xxxxxxx:

Hi folks,

I've been trying to compile 3.4.3 using gcc and MinGW under WinXP.
I've got the TTY version working just fine, and I'll be very happy
with that, but it bugs me that I can't get the Windows/tiles version
going. I've applied the modification to rpcndr.h that I found on the
wiki, which removed the issues around redefining boolean, but now I
get a bunch of linker errors along the lines of the following:

======
o/options.o: In function `parseoptions':
E:/games/nh343win/source/patchbase3-4-3/src/../src/options.c:1714:
undefined reference to `load_keyboard_handler'
E:/games/nh343win/source/patchbase3-4-3/src/../src/options.c:2147:
undefined reference to `map_subkeyvalue'
o/restore.o: In function `mgetc':
E:/games/nh343win/source/patchbase3-4-3/src/../src/restore.c:1017:
undefined reference to `error'
======

I did a groups search on it, but I didn't find anything that looked
helpful. Not to mention that rolling-your-own Nethack on Windows seems
relatively rare. My C is rusty (and possibly cursed), so I don't dare
go messing with the source files blindly. Could someone who's
been-there-done-that point me in the right direction?

thanks in advance,

I assume you are doing this due to a patch? Try compiling the source
*without* the patch applied, and if it works, well, you know who to talk
to...


--
(setq (chuck nil) car(chuck) )
.



Relevant Pages

  • Re: Compiling? (win32 with mingw)
    ... I've been trying to compile 3.4.3 using gcc and MinGW under WinXP. ... bugs me that I can't get the Windows/tiles version going. ... but now I get a bunch of linker errors along the ... reference to `load_keyboard_handler' ...
    (rec.games.roguelike.nethack)
  • QT - missing library ?
    ... When trying to compile the first example of QT Tutorial1 (see ... source below) I happen to get a lot of linker errors. ... In function `main':: undefined reference to ...
    (comp.os.linux.development.apps)
  • Re: posix timer test program / glibc patch to make glibc posix compliant
    ... How to compile your program? ... I'm getting linker errors: ... : undefined reference to `clock_gettime' ... send the line "unsubscribe linux-kernel" in ...
    (Linux-Kernel)
  • Re: Prolog & C linking Problem
    ... >> I am trying to compile Prolog and C using plld. ... PL_initialise_ is an undefined reference ...
    (comp.lang.prolog)
  • Linker error: PE operations on non PE file
    ... I don't know if this group covers linker errors. ... All I'm trying to do is compile and link a simple kernel example so I can ... // This code is in the public domain, ...
    (alt.comp.lang.learn.c-cpp)