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

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



>Number:         2844
>Notify-List:    
>Category:       mutt
>Synopsis:       mutt 1.4.2.2 doesn't link under Solaris 8/Sparc
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    mutt-dev
>State:          open
>Keywords:       
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Mar 14 15:25:09 +0100 2007
>Originator:     Ignatios Souvatzis
>Release:        1.4.2.2
>Organization:
Bonn University, CS Dept.
>Environment:
ignatios@theory 25 % uname -a
SunOS theory 5.8 Generic_117350-19 sun4u sparc SUNW,Ultra-5_10
ignatios@theory 26 % gcc -v
Reading specs from /usr/local/lib/gcc/sparc-sun-solaris2.8/3.4.2/specs
Configured with: ../configure --with-as=/usr/ccs/bin/as 
--with-ld=/usr/ccs/bin/ld --disable-nls --disable-libgcj 
--enable-languages=c,c++
Thread model: posix
gcc version 3.4.2
>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
>Add-To-Audit-Trail:

>Unformatted: