From: Eugene Prokopiev <prokopiev@stc.donpac.ru> To: ALT Devel discussion list <devel@lists.altlinux.org> Subject: Re: [devel] Сборка heartbeat с --as-needed Date: Wed, 27 Sep 2006 14:41:29 +0400 Message-ID: <451A5559.5070304@stc.donpac.ru> (raw) In-Reply-To: <679044850609270329w6773dc5aq29ffe5a0d167508b@mail.gmail.com> Damir Shayhutdinov пишет: >>>Одну из них. Какая полностью покрывает все undefined symbol, такую и брать. >> >>Бывает, что ни одна не покрывает? И тогда мне брать ту которая покрывает >>больше всего + еще какую(какие)-нибудь? > > Угу, бывает надо несколько библиотек прилинковать, чтобы все > зависимости закрыть. Процесс итеративный, хотя о том, какие библиотеки > нужны иногда можно догадаться по именам символов и тогда добавить > сразу все. > > Например, если символы в библиотеке libfoo.so начинаются с foo_ > (например, foo_bar), а символы в библиотеке libbar.so начинаются с > bar_, тогда если в выводе "ldd -r" какой-то третьей библиотеки > появляются символы с префиксами foo_ и bar_, то ясно что > прилинковывать надо обе :) Первый раз, когда я имел дело с --as-needed, именно так и оказалось, поэтому тот опыт мне не пригодился :) >>Вот я меняю Makefile.am, делаю только make clean, ./configure, make без >>autoreconf -fisv и вижу, что дело движется ... Почему? В моем случае это >>исключение, а обычно без autoreconf -fisv толку нет? От чего это зависит? > > От даты модификации файлов "Makefile", "Makefile.in и Makefile.am". > autoreconf -fisv нужно обязательно делать при изменении configure.in > или configure.ac. > > >>Makefile.in вроде генерируется на основе Makefile.am с помощью >>./configure, а ./configure я не менял. > > Нет, Makefile.in генерируется из Makefile.am с помощью automake (эта > команда в числе прочих вызывается при autoreconf). > > А с помощью configure из Makefile.in генерируется финальный Makefile. > > >>Значит autoreconf -fisv в таком случае не нужен? Или я не прав? > > В принципе достаточно сделать automake. Но autoreconf надежнее :) а каким тогда образом у меня после make clean, ./configure, make Makefile.am все же перегенеровался (или нет)? Это сделал ./configure, вызвав automake у себя внутри? -- С уважением, Прокопьев Евгений
next prev parent reply other threads:[~2006-09-27 10:41 UTC|newest] Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top 2006-09-27 6:21 Eugene Prokopiev 2006-09-27 6:30 ` Alexey I. Froloff 2006-09-27 6:52 ` Eugene Prokopiev 2006-09-27 7:39 ` Konstantin A. Lepikhov 2006-09-27 8:01 ` Eugene Prokopiev 2006-09-27 8:12 ` Damir Shayhutdinov 2006-09-27 9:20 ` Eugene Prokopiev 2006-09-27 9:39 ` Damir Shayhutdinov 2006-09-27 10:07 ` Eugene Prokopiev 2006-09-27 10:29 ` Damir Shayhutdinov 2006-09-27 10:41 ` Eugene Prokopiev [this message] 2006-09-27 11:26 ` Damir Shayhutdinov 2006-09-27 10:06 ` Konstantin A. Lepikhov 2006-09-27 10:28 ` Eugene Prokopiev 2006-09-27 10:46 ` Konstantin A. Lepikhov 2006-09-27 10:07 ` Eugene Prokopiev 2006-09-27 10:21 ` Damir Shayhutdinov 2006-09-27 10:35 ` Eugene Prokopiev 2006-09-27 10:23 ` Eugene Prokopiev 2006-09-27 10:29 ` Igor Zubkov 2006-09-27 10:29 ` Led 2006-09-27 10:30 ` Igor Zubkov 2006-09-27 10:11 ` Konstantin A. Lepikhov
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=451A5559.5070304@stc.donpac.ru \ --to=prokopiev@stc.donpac.ru \ --cc=devel@lists.altlinux.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
ALT Linux Team development discussions This inbox may be cloned and mirrored by anyone: git clone --mirror http://lore.altlinux.org/devel/0 devel/git/0.git # If you have public-inbox 1.1+ installed, you may # initialize and index your mirror using the following commands: public-inbox-init -V2 devel devel/ http://lore.altlinux.org/devel \ devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru public-inbox-index devel Example config snippet for mirrors. Newsgroup available over NNTP: nntp://lore.altlinux.org/org.altlinux.lists.devel AGPL code for this site: git clone https://public-inbox.org/public-inbox.git