<<< Date Index >>>     <<< Thread Index >>>

Re: current cvs version doesn't compile with slang support enabled



reopen 1697
thanks

I've just backed out the patch that's resonsible for this.

On 2004-02-05 08:47:14 -0500, Anthony R Iano-Fletcher wrote:
> From: Anthony R Iano-Fletcher <Anthony.Iano-Fletcher@xxxxxxx>
> To: Mutt Developers <mutt-dev@xxxxxxxx>
> Date: Thu, 5 Feb 2004 08:47:14 -0500
> Subject: Re: current cvs version doesn't compile with slang support enabled
> Mail-Followup-To: Mutt Developers <mutt-dev@xxxxxxxx>
> X-Spam-Level: 
> 
> Hello 
> 
> I saw the same thing on Solaris and Linux. I threw in the ncurses
> library libncurses.a and that resolved the unknowns on both platforms.
> Its a 'bug' somewhere.
> 
>               Anthony
> 
> On 05 Feb 2004 at 12:38:18, Thomas Glanzmann wrote:
> > Hi,
> > I am trying to compile a 'slanged' version of mutt on Solaris and Linux,
> > but I always get the following error:
> > 
> > ./configure --enable-slang
> > ...
> > make
> > ...
> > gcc  -Wall -pedantic -g -O2   -o mutt  patchlist.o addrbook.o alias.o 
> > attach.o base64.o browser.o buffy.o color.o crypt.o cryptglue.o commands.o 
> > complete.o compose.o copy.o curs_lib.o curs_main.o date.o edit.o enter.o 
> > flags.o init.o filter.o from.o getdomain.o handler.o hash.o hdrline.o 
> > headers.o help.o hook.o keymap.o main.o mbox.o menu.o mh.o mx.o pager.o 
> > parse.o pattern.o postpone.o query.o recvattach.o recvcmd.o rfc822.o 
> > rfc1524.o rfc2047.o rfc2231.o score.o send.o sendlib.o signal.o sort.o 
> > status.o system.o thread.o charset.o history.o lib.o muttlib.o editmsg.o 
> > utf8.o mbyte.o wcwidth.o url.o ascii.o mutt_idna.o pgp.o pgpinvoke.o 
> > pgpkey.o pgplib.o gnupgparse.o pgpmicalg.o pgppacket.o smime.o  resize.o   
> > -lslang -lm
> > muttlib.o: In function `mutt_adv_mktemp':
> > /scratch/mutt/muttlib.c:76: the use of `mktemp' is dangerous, better use 
> > `mkstemp'
> > menu.o: In function `print_enriched_string':
> > /scratch/mutt/menu.c:50: undefined reference to `PAIR_NUMBER'
> > /scratch/mutt/menu.c:50: undefined reference to `pair_content'
> > /scratch/mutt/menu.c:51: undefined reference to `PAIR_NUMBER'
> > /scratch/mutt/menu.c:51: undefined reference to `pair_content'
> > 
> > a quick search via cscope shows that PAIR_NUMBER is defined in:
> > 
> >    1    743  /usr/include/curses.h <<PAIR_NUMBER>>
> >              #define PAIR_NUMBER(a) (((a) & A_COLOR) >> NCURSES_ATTR_SHIFT)
> >    2    743  /usr/include/ncurses.h <<PAIR_NUMBER>>
> >              #define PAIR_NUMBER(a) (((a) & A_COLOR) >> NCURSES_ATTR_SHIFT)
> > 
> >     Thomas
> 
> -- 
> Anthony R Iano-Fletcher        Anthony.Iano-Fletcher@xxxxxxx
>                                http://cbel.cit.nih.gov/~arif
>                                CBEL, CIT, NIH, Bethesda, MD, USA.
>                                Phone: (+1) 301 402 1741.
> 

-- 
Thomas Roessler · Personal soap box at <http://log.does-not-exist.org/>.