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

Re: [Mutt] #2844: mutt 1.4.2.2 doesn't link under Solaris 8/Sparc



#2844: mutt 1.4.2.2 doesn't link under Solaris 8/Sparc

Old description:

> {{{
> Here's the linker output:
>
> Making all in imap
> gcc  -Wall -pedantic -g -O2   -o mutt  patchlist.o addrbook.o alias.o
> attach.o base64.o browser.
> o  buffy.o color.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 mbyt
> e.o  wcwidth.o url.o ascii.o pgp.o pgpinvoke.o pgpkey.o pgplib.o
> gnupgparse.o pgpmicalg.o pgppack
> et.o dotlock.o account.o mutt_socket.o mutt_tunnel.o md5c.o  -Limap
> -limap -lncurses  -lintl -lic
> onv -liconv -lsocket -lnsl
> Undefined                       first referenced
>  symbol                             in file
>  initscr32                           main.o
>  w32addch                            curs_lib.o
>  w32attrset                          compose.o
>  acs32map                            menu.o
>  getcurx                             curs_lib.o
>  getcury                             curs_lib.o
>  ld: fatal: Symbol referencing errors. No output written to mutt
>  collect2: ld returned 1 exit status
>  *** Error code 1
>
> I looked around tryign to find those functions. It turned out they're
> created by
> preprocessor magic from Sun's /usr/include/curses.h
>
> Unfortunately, this also happens when I compile mutt out of the pkgsrc
> system
> (http://www.pkgsrc.org); where I wanted to use slang or ncurses. I
> suspect the
> ncurses/ncrusesw/slang detection doesn't work on my system.
>
> I'll be happy to provide more information, as needed.
>
>         -is
> >How-To-Repeat:
> configure --prefix=/usr/local --enable-imap; make
> >Fix:
> Unknown
> }}}

New description:

 Here's the linker output:
 {{{
 Making all in imap
 gcc  -Wall -pedantic -g -O2   -o mutt  patchlist.o addrbook.o alias.o
 attach.o base64.o browser.
 o  buffy.o color.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 mbyt
 e.o  wcwidth.o url.o ascii.o pgp.o pgpinvoke.o pgpkey.o pgplib.o
 gnupgparse.o pgpmicalg.o pgppack
 et.o dotlock.o account.o mutt_socket.o mutt_tunnel.o md5c.o  -Limap -limap
 -lncurses  -lintl -lic
 onv -liconv -lsocket -lnsl
 Undefined                       first referenced
  symbol                             in file
  initscr32                           main.o
  w32addch                            curs_lib.o
  w32attrset                          compose.o
  acs32map                            menu.o
  getcurx                             curs_lib.o
  getcury                             curs_lib.o
  ld: fatal: Symbol referencing errors. No output written to mutt
  collect2: ld returned 1 exit status
  *** Error code 1
 }}}
 I looked around tryign to find those functions. It turned out they're
 created by
 preprocessor magic from Sun's /usr/include/curses.h

 Unfortunately, this also happens when I compile mutt out of the pkgsrc
 system
 (http://www.pkgsrc.org); where I wanted to use slang or ncurses. I suspect
 the
 ncurses/ncrusesw/slang detection doesn't work on my system.

 I'll be happy to provide more information, as needed.

         -is
 >How-To-Repeat:
 configure --prefix=/usr/local --enable-imap; make
 >Fix:
 Unknown

Comment (by brendan):

 Can you try with tip, or a nightly snaphost like this one?
 http://dev.mutt.org/nightlies/mutt-20070330.tar.gz

-- 
Ticket URL: <http://dev.mutt.org/trac/ticket/2844#comment:1>