* [newbies] Пропадают символы при сборке в hasher?
@ 2011-06-19 21:00 Yuriy Al. Shirokov
2011-06-19 21:14 ` Michael Shigorin
0 siblings, 1 reply; 3+ messages in thread
From: Yuriy Al. Shirokov @ 2011-06-19 21:00 UTC (permalink / raw)
To: devel@ where you _can_ ask
Здравствуйте!
Пытаюсь собрать новую версию 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
$
Что бы это могло быть и что с этим можно сделать?
--
С уважением,
Ю.А.Широков.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [newbies] Пропадают символы при сборке в hasher?
2011-06-19 21:00 [newbies] Пропадают символы при сборке в hasher? Yuriy Al. Shirokov
@ 2011-06-19 21:14 ` Michael Shigorin
2011-06-19 22:43 ` Yuriy Al. Shirokov
0 siblings, 1 reply; 3+ messages in thread
From: Michael Shigorin @ 2011-06-19 21:14 UTC (permalink / raw)
To: devel@ where you _can_ ask
On Mon, Jun 20, 2011 at 01:00:11AM +0400, Yuriy Al. Shirokov wrote:
> Что бы это могло быть
Кто-то (/usr/lib/rpm/brp-strip) по дороге стрипнул?
> и что с этим можно сделать?
%set_strip_method none
PS: это если правильно понял...
--
---- WBR, Michael Shigorin <mike@altlinux.ru>
------ Linux.Kiev http://www.linux.kiev.ua/
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [newbies] Пропадают символы при сборке в hasher?
2011-06-19 21:14 ` Michael Shigorin
@ 2011-06-19 22:43 ` Yuriy Al. Shirokov
0 siblings, 0 replies; 3+ messages in thread
From: Yuriy Al. Shirokov @ 2011-06-19 22:43 UTC (permalink / raw)
To: devel@ where you _can_ ask
On 20.06.2011 01:14, Michael Shigorin wrote:
> On Mon, Jun 20, 2011 at 01:00:11AM +0400, Yuriy Al. Shirokov wrote:
>> Что бы это могло быть
> Кто-то (/usr/lib/rpm/brp-strip) по дороге стрипнул?
Пересборка всего Synfig начиная с ETL решила проблему.
Так я и не понял, что это было.
--
С уважением,
Ю.А.Широков.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2011-06-19 22:43 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-06-19 21:00 [newbies] Пропадают символы при сборке в hasher? Yuriy Al. Shirokov
2011-06-19 21:14 ` Michael Shigorin
2011-06-19 22:43 ` Yuriy Al. Shirokov
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