On Tue, Mar 12, 2002 at 03:10:27PM -0800, Ken Weingold wrote:
> On Tue, Mar 12, 2002, Thomas Dickey wrote:
> > > Oh, so then maybe it's not related to why make crapped out.  Here's
> > > the error:
> > > 
> > > pgpkey.o: In function `pgp_ask_for_key':
> > > /tmp/hazmat/mutt-1.3.27/pgpkey.c:701: undefined reference to `beep'
> > 
> > beep() is a function in the curses (or ncurses) library.
> 
> Huh.  Would that cause make to error out?  I now get this.  I think
> the difference was using 'gcc3'.  I get "undefined reference" all over
> the place, btw.

yes - I don't see the whole log of course, but the warnings you're seeing
are due to the link either missing the curses library altogether or
having the wrong library.  The NetBSD curses library for instance is
an incomplete subset of X/Open curses (especially compared to ncurses ;-)

Perhaps the configure script didn't find ncurses (which is a port), or
was fooled into trying to use the NetBSD curses library (not recommended).

> 
> /tmp/hazmat/mutt-1.3.27/pgpkey.c:701: undefined reference to `beep'
> resize.o: In function `mutt_resize_screen':
> /tmp/hazmat/mutt-1.3.27/resize.c:79: undefined reference to
> `resizeterm'
> collect2: ld returned 1 exit status
> gmake[2]: *** [mutt] Error 1
> gmake[2]: Leaving directory `/tmp/hazmat/mutt-1.3.27'
> gmake[1]: *** [all-recursive] Error 1
> gmake[1]: Leaving directory `/tmp/hazmat/mutt-1.3.27'
> gmake: *** [all-recursive-am] Error 2
> 
> 
> 
> -Ken

-- 
Thomas E. Dickey <[EMAIL PROTECTED]>
http://invisible-island.net
ftp://invisible-island.net

Reply via email to