On Wed, 29 Jan 2003 18:12:06 +0000 Keith Matthews <keith_m@sweeney.demon.co.uk> wrote: > On Wed, 29 Jan 2003 17:52:57 +0000 > Andrew Hughes <hughes2002@btinternet.com> wrote: > > > On Wed, 29 Jan 2003 11:17:52 +0000 > > Keith Matthews <keith_m@sweeney.demon.co.uk> wrote: > > > > > I'm having trouble compiling wine on a newish box. > > > > > > The problem is a missing symbol 'acs_map' cropping up in > > > dlls/ttydrv/graphics.o. The symbol is not directly in the relevant > > > source file so it seems to be from a macro or typedef but extensive > > > grepping has not identified the source. I suspect the problem is a > > > package missing in the distro (dRock 1.6.0) but have not been able > > > to identify which one as I cannot track down where this symbol is > > > coming from. > > > > > > > > acs_map appears to be part of ncurses. It is defined in curses.h. > > You're either missing the headers or the ncurses library to link with. > > Adding missing ncurses packages should solve it (possibly the .a > > library and headers from the development package). What seems strange > > is that the configure script must have detected the header(s) in order > > to try and include them (they are #ifdefed). > > They are there all right (thought I had checked in /usr/include as well > b*****r it). Problem now is why configure is not passing the reference > correctly. Never did properly understand autoconf. > _______________________________________________ > wine-users mailing list > wine-users@winehq.com > http://www.winehq.com/mailman/listinfo/wine-users When does the compile error occur? Is it when you compile graphics.c into graphics.o or when you link the lot together to get the dll.so? If its the former, then you won't have any later objects such as user.o, but if it occurs during the linking, you will. If it does occur when graphics.o is created, then it would appear that the header isn't being included. This seems strange because AFAICS graphics.c never references acs_map. It seems more likely that the header is included, references acs_map, but that the library which actually properly defines acs_map (libncurses) is never linked to. Have you checked config.log which should be in the same directory as configure? This will check that both the headers can be found and the library can be linked to as below: configure:8501: checking ncurses.h usability configure:8514: gcc -c -O6 -march=athlon-xp -mcpu=athlon-xp conftest.c >&5 configure:8517: $? = 0 configure:8520: test -s conftest.o configure:8523: $? = 0 configure:8533: result: yes configure:8537: checking ncurses.h presence configure:8548: gcc -E conftest.c configure:8554: $? = 0 configure:8573: result: yes configure:8609: checking for ncurses.h configure:8616: result: yes configure:8624: checking for waddch in -lncurses configure:8655: gcc -o conftest -O6 -march=athlon-xp -mcpu=athlon-xp conftest.c -lncurses -lm >&5 configure:8658: $? = 0 configure:8661: test -s conftest configure:8664: $? = 0 configure:8676: result: yes -- Andrew :-) Please avoid sending me Word or PowerPoint attachments. See http://www.fsf.org/philosophy/no-word-attachments.html "Windows is the one true OS. MS invented the GUI. MS invented the 32 bit OS. MS is open and standard. MS loves you. We have always been at war with Oceania."
Attachment:
pgp00097.pgp
Description: PGP signature