ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: Kirill Maslinsky <kirill@altlinux.ru>
To: ALT Devel discussion list <devel@lists.altlinux.org>
Subject: [devel] нужна помощь (похоже, --as-needed)
Date: Sun, 18 Jun 2006 12:59:35 +0400
Message-ID: <20060618085935.GA14856@tacit.myxomop.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 2267 bytes --]

Всем привет!

Я тут взялся за сборку одного замшелого, но лингвистически интересного
проекта -- emdros -- и, естественно, тут же натолкнулся на проблемы
при сборке, скорее всего вызванные линковкой с --as-needed. 

Поскольку я в этом совсем профан, может быть, кто подскажет? 

Диагностика такая:

----------------
g++ -pipe -Wall -O2 -march=pentium3 -mtune=pentium4 -g -Wall -pipe -Wall -O2 -march=pentium3 -mtune=pentium4 -o .libs/mql mql.o  -L/usr/lib/ ../MQL/.libs/libmql.so /home/gc/RPM/BUILD/emdros-1.2.0.pre206/EMdF/.libs/libemdf.so ../pcre/.libs/libpcre_emdros.so ../EMdF/.libs/libemdf.so -lmysqlclient -Wl,--rpath -Wl,/usr/local/lib/emdros
../MQL/.libs/libmql.so: undefined reference to `pcre_fullinfo'
../MQL/.libs/libmql.so: undefined reference to `pcre_compile'
../MQL/.libs/libmql.so: undefined reference to `pcre_study'
../MQL/.libs/libmql.so: undefined reference to `pcre_free'
../MQL/.libs/libmql.so: undefined reference to `pcre_exec'
collect2: ld returned 1 exit status
make[2]: *** [mql] Error 1
make[2]: Leaving directory `/home/gc/RPM/BUILD/emdros-1.2.0.pre206/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/gc/RPM/BUILD/emdros-1.2.0.pre206/src'
make: *** [all-recursive] Error 1
make: Leaving directory `/home/gc/RPM/BUILD/emdros-1.2.0.pre206'
ошибка: Неверный код возврата из /home/gc/tmp/rpm-tmp.69536 (%build)

----------------------

Может быть, ошибка вот здесь?

==src/Makefile.am==

mql_LDADD = $(top_builddir)/MQL/libmql.la @PCRE_DEP@ @EMDFLDADD@ @SUN_LDFLAGS@ @DARWIN_LDFLAGS@

==end=

Или, наоборот, здесь?

==MQL/Makefile.am==

pkglib_LTLIBRARIES = libmql.la


#
# libmql.la
#
libmql_la_SOURCES = $(mqllib_src)

libmql_la_LIBADD = @EMDFDEPS@
libmql_la_DEPENDENCIES = @PCRE_DEP@ @EMDFDEPS@
libmql_la_LDFLAGS = -version-info \
       @LIB_MQL_CURRENT@:@LIB_MQL_REVISION@:@LIB_MQL_AGE@ \
       @SUN_LDFLAGS@ @DARWIN_LDFLAGS@

==end==

git-репозиторий с проектом целиком можно посмотреть так: 

git-clone rsync://rsync.altlinux.org/people/kirill/scm/emdros.git/

Какие-то первые попытки привести спек к более приемлемому виду делались 
в ветке adapt. 

Буду благодарен за любые подсказки!

-- 
Kirill Maslinsky
ALT Linux Documentation Team

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

             reply	other threads:[~2006-06-18  8:59 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-06-18  8:59 Kirill Maslinsky [this message]
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
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=20060618085935.GA14856@tacit.myxomop.com \
    --to=kirill@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