Tonnerre LOMBARD wrote:
Salut, On Sat, Apr 11, 2009 at 10:07:16PM +0200, Thomas Klausner wrote:Looks good. Please also add a description to mk/defaults/options.description.Updated patch appended. Tonnerre
Hi Tonnerre, Hi Antoine,I tried to compile mutt-devel tonight, just adding mutt-sidebar to the PKG_OPTIONS.mutt. Something is broken in sidebar.c. I got the same error when trying to compile outside of pkgsrc from a pristine mutt-1.5.19 archive.
cc -DPKGDATADIR=\"/usr/pkg/share/mutt\" -DSYSCONFDIR=\"/usr/pkg/etc\" -DBINDIR=\"/usr/pkg/bin\" -DMUTTLOCALEDIR=\"/usr/pkg/share/locale\" -DHAVE_CONFIG_H=1 -I. -I. -I. -I./imap -Iintl -DHAVE_WCHAR=1 -I/usr/include -I/usr/include -I./intl -Wall -pedantic -Wno-long-long -O2 -DHAVE_WCHAR=1 -I/usr/include -MT md5.o -MD -MP -MF .deps/md5.Tpo -c -o md5.o md5.c
mv -f .deps/md5.Tpo .deps/md5.Pocc -Wall -pedantic -Wno-long-long -O2 -DHAVE_WCHAR=1 -I/usr/include -s -L/usr/lib -Wl,-R/usr/lib -Wl,-R/usr/pkg/lib -L/usr/lib -o mutt 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 group.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 rfc3676.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 mbyte.o url.o ascii.o crypt-mod.o sidebar.o patchlist.o pgp.o pgpinvoke.o pgpkey.o pgplib.o gnupgparse.o pgpmicalg.o pgppacket.o crypt-mod-pgp-classic.o smime.o crypt-mod-smime-classic.o resize.o pop.o pop_lib.o pop_auth.o bcache.o account.o mutt_socket.o mutt_tunnel.o mutt_ssl.o md5.o -Limap -limap -lncurses -lssl -lcrypto -lz -lintl lib.o: In function `safe_open': lib.c:(.text+0xa8e): warning: warning: mktemp() possibly used unsafely, use mkstemp() or mkdtemp()
sidebar.o: In function `draw_sidebar': sidebar.c:(.text+0x5c4): undefined reference to `mvchgat' *** Error code 1 Stop. make: stopped in /usr/pkgsrc/mail/mutt-devel/work/mutt-1.5.19 *** Error code 1 Stop. make: stopped in /usr/pkgsrc/mail/mutt-devel/work/mutt-1.5.19 *** Error code 1 Stop. make: stopped in /usr/pkgsrc/mail/mutt-devel/work/mutt-1.5.19 *** Error code 1 Stop. make: stopped in /usr/pkgsrc/mail/mutt-devel *** Error code 1 Stop. make: stopped in /usr/pkgsrc/mail/mutt-devel Thanks for your help. Guillaume.