Re: Building GDB with MinGW (3)

Cavit Cahit VURAL
2004-10-01T15:16:14Z

And,

real problem. (READLINE)

Cannot compile readline with mingw

makefile:169: target `makefile' given more than once
in the same rule.
makefile:172: target `Makefiles' given more than once
in the same rule.
makefile:262: warning: overriding commands for target
`TAGS'
makefile:259: warning: ignoring old commands for
target `TAGS'
rm -f rltty.o
gcc -c -DHAVE_CONFIG_H -I. -I.
-DRL_LIBRARY_VERSION='"4.3"' -g -O2 rltty.c
In file included from rltty.c:44:
rltty.h:42:21: sgtty.h: No such file or directory
rltty.c:166: error: field `sgttyb' has incomplete type
rltty.c: In function `save_tty_chars':
rltty.c:203: error: structure has no member named
`tchars'
rltty.c:204: error: structure has no member named
`tchars'
rltty.c:205: error: structure has no member named
`tchars'
rltty.c:206: error: structure has no member named
`tchars'
rltty.c:207: error: structure has no member named
`tchars'
rltty.c:209: error: structure has no member named
`tchars'
rltty.c:214: error: structure has no member named
`ltchars'
rltty.c:215: error: structure has no member named
`ltchars'
rltty.c:216: error: structure has no member named
`ltchars'
rltty.c:217: error: structure has no member named
`ltchars'
rltty.c:218: error: structure has no member named
`ltchars'
rltty.c:219: error: structure has no member named
`ltchars'
rltty.c: In function `get_tty_settings':
rltty.c:236: error: `TIOCGETP' undeclared (first use
in this function)
rltty.c:236: error: (Each undeclared identifier is
reported only once
rltty.c:236: error: for each function it appears in.)
rltty.c: In function `set_tty_settings':
rltty.c:265: error: `TIOCSETN' undeclared (first use
in this function)
rltty.c: In function `prepare_terminal_settings':
rltty.c:302: error: `ECHO' undeclared (first use in
this function)
rltty.c:318: error: `CRMOD' undeclared (first use in
this function)
rltty.c:319: error: `CBREAK' undeclared (first use in
this function)
rltty.c:327: error: `EVENP' undeclared (first use in
this function)
rltty.c:327: error: `ODDP' undeclared (first use in
this function)
C:\MinGW\bin\make.exe: *** [rltty.o] Error 1

__________________________________
Do you Yahoo!?
Yahoo! Mail Address AutoComplete - You start. We finish.