[neomutt-users] Can't build Neomutt anymore

Joseph Graham joseph at xylon.me.uk
Tue Aug 25 11:10:43 CEST 2020


On Tue, Aug 25, 2020 at 07:04:05AM +0000, Pietro Cerutti wrote:
> On Aug 25 2020, 06:27 UTC, Joseph Graham <joseph at xylon.me.uk> wrote:
> > Hi,
> 
> Hi,
> 
> > 
> > When tryng to build new Neomutt I get an ld error.
> > 
> > I'm using these settings:
> > ./configure --notmuch --gnutls --lua --tokyocabinet --sasl --gpgme
> > 
> > Here is the end out the build output:
> > cc -o neomutt browser.o commands.o command_parse.o complete.o compose.o conststrings.o context.o copy.o editmsg.o enriched.o enter.o flags.o functions.o git_ver.o handler.o hdrline.o help.o hook.o icommands.o index.o init.o keymap.o mailcap.o maillist.o main.o menu.o muttlib.o mutt_account.o mutt_attach.o mutt_body.o mutt_commands.o mutt_config.o mutt_header.o mutt_history.o mutt_logging.o mutt_mailbox.o mutt_parse.o mutt_signal.o mutt_socket.o mutt_thread.o mx.o myvar.o opcodes.o pager.o postpone.o progress.o recvattach.o recvcmd.o resize.o rfc3676.o score.o sort.o state.o status.o system.o version.o mutt_lua.o monitor.o  libpop.a libnntp.a libcompmbox.a libstore.a libpattern.a libgui.a libhelpbar.a  libmbox.a libnotmuch.a libmaildir.a libncrypt.a libimap.a libconn.a libhcache.a   libsidebar.a libbcache.a libhistory.a libalias.a libsend.a libcore.a libconfig.a libemail.a libaddress.a libmutt.a -L/usr/lib  -ltokyocabinet -lidn -lgnutls -lncursesw -ltinfo -lnotmuch -llua5.3 -lsasl2 -lgpgme -lanl  -L/usr/lib/x86_64-linux-gnu -lgpgme -lassuan -lgpg-error -L/usr/lib/x86_64-linux-gnu -lgpg-error
> > /usr/bin/ld: libpop.a(pop_lib.o): in function `pop_error':
> > /home/joseph/Builds/neomutt/pop/pop_lib.c:143: undefined reference to `mutt_str_strfcpy'
> > /usr/bin/ld: libpop.a(pop_lib.o): in function `check_uidl':
> > /home/joseph/Builds/neomutt/pop/pop_lib.c:602: undefined reference to `mutt_str_strcmp'
> > /usr/bin/ld: libpop.a(pop_lib.o): in function `pop_query_d':
> > /home/joseph/Builds/neomutt/pop/pop_lib.c:486: undefined reference to `mutt_str_strlen'
> > /usr/bin/ld: libpop.a(pop_lib.o): in function `pop_logout':
> > /home/joseph/Builds/neomutt/pop/pop_lib.c:452: undefined reference to `mutt_str_strfcpy'
> > /usr/bin/ld: /home/joseph/Builds/neomutt/pop/pop_lib.c:446: undefined reference to `mutt_str_strfcpy'
> > /usr/bin/ld: libpop.a(pop_lib.o): in function `pop_fetch_data':
> > /home/joseph/Builds/neomutt/pop/pop_lib.c:527: undefined reference to `mutt_str_strfcpy'
> > /usr/bin/ld: /home/joseph/Builds/neomutt/pop/pop_lib.c:553: undefined reference to `mutt_str_strfcpy'
> > /usr/bin/ld: libpop.a(pop_lib.o): in function `pop_capabilities':
> > /home/joseph/Builds/neomutt/pop/pop_lib.c:226: undefined reference to `mutt_str_strfcpy'
> > /usr/bin/ld: libpop.a(pop_lib.o):/home/joseph/Builds/neomutt/pop/pop_lib.c:226: more undefined references to `mutt_str_strfcpy' follow
> > collect2: error: ld returned 1 exit status
> > make: *** [Makefile:463: neomutt] Error 1
> 
> Can you reproduce within a fresh clone? I suspect you have dangling object
> files laying around.
> 
> -- 
> Pietro Cerutti

Ah yeah sorry I always forget to run make clean.

Works now thanks!


More information about the neomutt-users mailing list