devel@ where you _can_ ask
 help / color / mirror / Atom feed
From: "Yuriy Al. Shirokov" <yushi@altlinux.org>
To: "devel@ where you _can_ ask" <devel-newbies@lists.altlinux.org>
Subject: [newbies] Пропадают символы при сборке в hasher?
Date: Mon, 20 Jun 2011 01:00:11 +0400
Message-ID: <4DFE635B.1020509@altlinux.org> (raw)

Здравствуйте!

Пытаюсь собрать новую версию Synfig. Она побита на ядро с библиотеками
(libsynfig) и графический редактор (Synfig Studio). Пакет с библиотеками
собирается, но при попытке собрать Sinfig Studio получаю:
synfigstudio-state_width.o: In function
`studio::StateWidth_Context::AdjustWidth(etl::handle<studio::Duckmatic::Bezier>,
float, double, bool)':
state_width.cpp:(.text+0x2f4e): undefined reference to `typeinfo for
synfig::ValueNode_WPList'
state_width.cpp:(.text+0x2fa4): undefined reference to
`synfig::ValueNode_WPList::get_bline() const'
state_width.cpp:(.text+0x3139): undefined reference to
`synfig::WidthPoint::WidthPoint()'
state_width.cpp:(.text+0x3197): undefined reference to
`synfig::WidthPoint::get_norm_position() const'
synfigstudio-widget_curves.o: In function
`studio::Widget_Curves::CurveStruct::get_value(int, double, double)':
widget_curves.cpp:(.text._ZN6studio13Widget_Curves11CurveStruct9get_valueEidd[studio::Widget_Curves::CurveStruct::get_value(int,
double, double)]+0x447): undefined reference to
`synfig::WidthPoint::WidthPoint()'
...

(и ещё некоторое количество ошибок подобного типа).

Полез смотреть, что происходит с отдельными символами при компиляции
библиотеки libsynfig, и обнаружил, что в объектные файлы они попадают:
$ nm libsynfig_la-valuenode_wplist.o | grep get_bline
0000000000000010 T _ZNK6synfig16ValueNode_WPList9get_blineEv

При сборке библиотеки через rpmbuild итоговый .so их тоже содержит:
$ nm -D libsynfig.so.0.0.0 | grep get_bline
0000000000120a40 T _ZNK6synfig16ValueNode_WPList9get_blineEv

А вот в .so из пакета, собранного в hasher, их, похоже, действительно
уже нет:
$ nm -D /usr/lib64/libsynfig.so.0.0.0 | grep get_bline
$

Что бы это могло быть и что с этим можно сделать?

--
С уважением,
Ю.А.Широков.



             reply	other threads:[~2011-06-19 21:00 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-06-19 21:00 Yuriy Al. Shirokov [this message]
2011-06-19 21:14 ` Michael Shigorin
2011-06-19 22:43   ` Yuriy Al. Shirokov

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=4DFE635B.1020509@altlinux.org \
    --to=yushi@altlinux.org \
    --cc=devel-newbies@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

devel@ where you _can_ ask

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/devel-newbies/0 devel-newbies/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-newbies devel-newbies/ http://lore.altlinux.org/devel-newbies \
		devel-newbies@lists.altlinux.org devel-newbies@lists.altlinux.ru devel-newbies@lists.altlinux.com
	public-inbox-index devel-newbies

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.devel-newbies


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git