On 8 Apr 2000 w3m-dev-en@mips.rhein-neckar.de wrote:
> Ismael Cordeiro <ismael@cordeiro.com> wrote:
>
> > I tried to compile w3m-0.1.8 on FreeBSD 3.4 and got this warning:
> >
> > gcc -O2 -I./gc -I/home/ismael/ssl/include/openssl
> > -I/home/ismael/ssl/include -I. -c menu.c
> > menu.c:18: warning: `sysm_process_menu_mouse' declared `static' but
> > never defined
>
> This is indicative that USE_SYSMOUSE was defined, but MOUSE wasn't...
>
> > and then it stopped with:
> >
> > gcc -O2 -I./gc -I/home/ismael/ssl/include/openssl
> > -I/home/ismael/ssl/include -I. -c terms.c
> > terms.c: In function `do_getch':
> > terms.c:1493: `is_xterm' undeclared (first use this function)
> > terms.c:1493: (Each undeclared identifier is reported only once
> > terms.c:1493: for each function it appears in.)
> > *** Error code 1
>
> ... and this is, too.
>
> How can this happen? Oh, I see. MOUSE is chosen manually as part of the
> "model" query of the configure script; USE_SYSMOUSE is set automatically on
> FreeBSD.
>
> If you include mouse support in your configuration, the problem should go
> away.
>
> This patch makes configure define USE_SYSMOUSE only if MOUSE has also been
> defined:
Defining or undefining both, or using your patch, works fine.
Thanks.
Ismael
--
________________________________________________________________
| |
| ISMAEL CORDEIRO | mailto:ismael@cordeiro.com |
| Production sound mixer | http://www.pubnix.net/~ismael |
| Montréal - Québec - Canada | ftp://ftp.pubnix.net/users/ismael |
|________________________________________________________________|
This archive was generated by hypermail 2b29 : Wed Jul 19 2000 - 10:30:43 CDT