From: Alexey Tourbin <at@altlinux.ru>
To: ALT Devel discussion list <devel@lists.altlinux.org>
Subject: Re: [devel] нужна помощь (похоже, --as-needed)
Date: Sun, 18 Jun 2006 15:51:35 +0400
Message-ID: <20060618115135.GF631@localhost.localdomain> (raw)
In-Reply-To: <20060618085935.GA14856@tacit.myxomop.com>
[-- Attachment #1: Type: text/plain, Size: 1916 bytes --]
On Sun, Jun 18, 2006 at 12:59:35PM +0400, Kirill Maslinsky wrote:
> Всем привет!
>
> Я тут взялся за сборку одного замшелого, но лингвистически интересного
> проекта -- emdros -- и, естественно, тут же натолкнулся на проблемы
> при сборке, скорее всего вызванные линковкой с --as-needed.
Короче, вот минимальный набор исправлений, с которым оно у меня
собралось (autoreconf -fisv; ./configure --with-sqlite):
--- ./MQL/Makefile.am- 2006-06-18 14:22:11 +0400
+++ ./MQL/Makefile.am 2006-06-18 15:46:27 +0400
@@ -61,7 +61,7 @@ pkglib_LTLIBRARIES = libmql.la
#
libmql_la_SOURCES = $(mqllib_src)
-libmql_la_LIBADD = @EMDFDEPS@
+libmql_la_LIBADD = @PCRE_DEP@ @EMDFDEPS@
libmql_la_DEPENDENCIES = @PCRE_DEP@ @EMDFDEPS@
libmql_la_LDFLAGS = -version-info \
@LIB_MQL_CURRENT@:@LIB_MQL_REVISION@:@LIB_MQL_AGE@ \
--- ./include/smart_vector.h- 2006-06-18 14:22:11 +0400
+++ ./include/smart_vector.h 2006-06-18 15:37:28 +0400
@@ -126,7 +126,7 @@ private:
std::vector<T*> m_vec;
bool m_bDelete;
public:
- static const short int no_element;
+ static const short int no_element = -1;
SmartVector(bool bDelete) : m_bDelete(bDelete) {};
~SmartVector(void);
// Returns index of value
@@ -137,7 +137,7 @@ public:
short int size(void) const { return m_vec.size(); };
};
-template<class T, class P> const short int SmartVector<T,P>::no_element = -1;
+//template<class T, class P> const short int SmartVector<T,P>::no_element = -1;
template <class T, class P> SmartVector<T,P>::~SmartVector(void)
{
--- ./include/pennflex.h- 2006-06-18 15:38:25 +0400
+++ ./include/pennflex.h 2006-06-18 15:49:17 +0400
@@ -57,7 +57,7 @@
#include <iostream>
# ifndef FLEX_STD
-# define FLEX_STD std::
+# define FLEX_STD
# endif
extern "C++" {
Дальше надо думать, как оторвать libpcre, которую он с собой таскает.
Но для /usr/local сойдет.
[-- Attachment #2: Type: application/pgp-signature, Size: 191 bytes --]
next prev parent reply other threads:[~2006-06-18 11:51 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-06-18 8:59 Kirill Maslinsky
2006-06-18 10:41 ` Sergey Vlasov
2006-06-18 11:06 ` Alexey Tourbin
2006-06-18 10:41 ` Alexey Tourbin
2006-06-18 11:24 ` Alexey Tourbin
2006-06-18 11:39 ` Alexey Tourbin
2006-06-18 11:51 ` Alexey Tourbin [this message]
2006-06-18 11:55 ` Alexey Tourbin
2006-06-18 13:42 ` Kirill Maslinsky
2006-06-18 13:53 ` Alexey Tourbin
2006-06-18 14:08 ` Kirill Maslinsky
2006-06-18 15:31 ` Alexey Tourbin
2006-06-18 19:36 ` Alexey Tourbin
2006-06-18 20:02 ` Kirill Maslinsky
2006-06-18 22:13 ` Alexey Tourbin
2006-06-19 9:54 ` Kirill Maslinsky
2006-06-19 11:38 ` Alexey Tourbin
2006-07-08 20:34 ` Alexey Tourbin
2006-07-08 22:08 ` Kirill Maslinsky
2006-07-08 22:45 ` Alexey Tourbin
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=20060618115135.GF631@localhost.localdomain \
--to=at@altlinux.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