You are not logged in.

#1 2008-12-14 17:21:46

delmonico
Member
Registered: 2004-06-27
Posts: 82

Linking problem while building mutt

Hiya smile

I'm trying to build a custom version of mutt, but even if I don't change anything in the PKGBUILD, I can't compile it on my machine. The problem is that somewhere during the build, the automake stuff generates this gcc command:

gcc  -Wall -pedantic -march=i686 -mtune=generic -O2 -pipe  -L/usr/lib -L/usr/lib -L/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 mutt_idna.o crypt-mod.o patchlist.o crypt-gpgme.o crypt-mod-pgp-gpgme.o crypt-mod-smime-gpgme.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 dotlock.o pop.o pop_lib.o pop_auth.o smtp.o bcache.o account.o mutt_socket.o mutt_tunnel.o mutt_ssl.o mutt_sasl.o hcache.o md5.o  regex.o -Limap -limap -lslang -lm -lssl -lcrypto -lz -lsasl2 -lgdbm    -lgpgme -lgpg-error

As you can see, some of the linking switches are at the end of the command instead of in the middle with the other switches (thanks to Xilon for pointing this out) and this causes the linker to fail and the build process to abort.

Is this a problem with my installation or can someone reproduce this and/or provide a solution?

Chris

Offline

#2 2008-12-14 19:23:06

dolby
Member
From: 1992
Registered: 2006-08-08
Posts: 1,581

Re: Linking problem while building mutt

Can you post all the output of the build and especially the reason it fails?


There shouldn't be any reason to learn more editor types than emacs or vi -- mg (1)
[You learn that sarcasm does not often work well in international forums.  That is why we avoid it. -- ewaller (arch linux forum moderator)

Offline

#3 2008-12-15 16:29:20

delmonico
Member
Registered: 2004-06-27
Posts: 82

Re: Linking problem while building mutt

ooops forgot to post the link, here you go: http://rafb.net/p/uXTK9O94.html

Last edited by delmonico (2008-12-15 16:29:43)

Offline

#4 2008-12-16 08:49:02

delmonico
Member
Registered: 2004-06-27
Posts: 82

Re: Linking problem while building mutt

I don't get it. Just tried it on a different arch machine and it builds without problems... wtf?!

Offline

#5 2008-12-16 10:16:13

bangkok_manouel
Member
From: indicates a starting point
Registered: 2005-02-07
Posts: 1,556

Re: Linking problem while building mutt

how does your makepkg.conf look like ?

Offline

#6 2008-12-19 09:47:28

delmonico
Member
Registered: 2004-06-27
Posts: 82

Re: Linking problem while building mutt

I'm using an unmodified makepkg.conf, just deleted the file and reinstalled the pacman package, didn't help hmm

Last edited by delmonico (2008-12-19 09:50:12)

Offline

#7 2008-12-19 09:57:00

Snowman
Developer/Forum Fellow
From: Montreal, Canada
Registered: 2004-08-20
Posts: 5,212

Re: Linking problem while building mutt

delmonico wrote:

ooops forgot to post the link, here you go: http://rafb.net/p/uXTK9O94.html

link doesn't work .

Offline

#8 2008-12-24 09:51:10

delmonico
Member
Registered: 2004-06-27
Posts: 82

Re: Linking problem while building mutt

Offline

Board footer

Powered by FluxBB