ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: Aelya Grevnyov <gray.graff@gmail.com>
To: ALT Linux Team development discussions <devel@lists.altlinux.org>
Subject: Re: [devel] проблема с songbird и --as-needed
Date: Sat, 11 Jul 2009 21:29:19 +0800
Message-ID: <4A5893AF.2050002@gmail.com> (raw)
In-Reply-To: <20090710174445.GB6164@wrars-comp.wrarsdomain>

11.07.2009 01:44, Andrey Rahmatullin пишет:
> On Fri, Jul 10, 2009 at 06:33:14PM +0800, Aelya Grevnyov wrote:
>> вот лог ошибки:
>> g++ -o sbDOMEventUtils.so -Wl,-rpath -Wl,/usr/lib/songbird -Wl,-z,defs
>> -Wl,-rpath-link,/tmp/.private/gray_graff/RPM/BUILD/Songbird/compiled/dist/xulrunner
>> -shared
>> -L/tmp/.private/gray_graff/RPM/BUILD/Songbird/dependencies/linux-i686/mozilla/release/lib
>> sbDOMEventWrapper.o sbDOMEventUtilsModule.o -lnspr4 -lxpcom
>> -lxpcomglue_s
> Тут, кажется, надо переставить -lxpcomglue_s до чего-то, где
> NS_GetComponentManager (-lnspr4?)
Да, спасибо. поправил несколько файликов - работает
теперь другая проблема
уже по-всякому местал менямы библиотеки - не помогает...
Как вообще посмотреть, какие символы есть в библиотеке?

g++ -o sbIntl.so -Wl,-rpath,/usr/lib/songbird -Wl,-z,defs
-Wl,-rpath-link,/tmp/.private/gray_graff/RPM/BUILD/Songbird/compiled/dist/xulrunner
-shared -lglib-2.0   -lm
-L/tmp/.private/gray_graff/RPM/BUILD/Songbird/dependencies/linux-i686/mozilla/release/lib
sbStringTransform.o sbIntlModule.o sbArticlesData.o
sbStringTransformImpl.o -lxpcomglue_s -lunicharutil_external_s -lxpcom
-lplds4 -lnspr4


sbStringTransformImpl.o: In function
`sbStringTransformImpl::NormalizeString(nsAString const&, unsigned int,
nsAString const&, nsAString&)':

sbStringTransformImpl.cpp:(.text+0x398): undefined reference to
`g_utf8_strdown'

sbStringTransformImpl.cpp:(.text+0x3b7): undefined reference to `g_free'


sbStringTransformImpl.cpp:(.text+0x3e0): undefined reference to
`g_utf8_strup'

sbStringTransformImpl.cpp:(.text+0x3ff): undefined reference to `g_free'


sbStringTransformImpl.cpp:(.text+0x452): undefined reference to
`g_utf8_normalize'

sbStringTransformImpl.cpp:(.text+0x469): undefined reference to
`g_utf8_strlen'

sbStringTransformImpl.cpp:(.text+0x490): undefined reference to
`g_utf8_offset_to_pointer'

sbStringTransformImpl.cpp:(.text+0x498): undefined reference to
`g_utf8_get_char'

sbStringTransformImpl.cpp:(.text+0x4a3): undefined reference to
`g_unichar_type'

sbStringTransformImpl.cpp:(.text+0x4ee): undefined reference to `g_free'


sbStringTransformImpl.cpp:(.text+0x562): undefined reference to
`g_utf8_normalize'

sbStringTransformImpl.cpp:(.text+0x57c): undefined reference to
`g_utf8_strlen'

sbStringTransformImpl.cpp:(.text+0x5b2): undefined reference to
`g_utf8_offset_to_pointer'

sbStringTransformImpl.cpp:(.text+0x5bd): undefined reference to
`g_utf8_get_char'
sbStringTransformImpl.cpp:(.text+0x5c8): undefined reference to
`g_unichar_type'
sbStringTransformImpl.cpp:(.text+0x5ff): undefined reference to
`g_utf8_offset_to_pointer'
sbStringTransformImpl.cpp:(.text+0x607): undefined reference to
`g_utf8_get_char'
sbStringTransformImpl.cpp:(.text+0x66e): undefined reference to `g_free'
sbStringTransformImpl.cpp:(.text+0x6e2): undefined reference to
`g_utf8_normalize'
sbStringTransformImpl.cpp:(.text+0x70c): undefined reference to
`g_utf8_strlen'
sbStringTransformImpl.cpp:(.text+0x747): undefined reference to
`g_utf8_offset_to_pointer'
sbStringTransformImpl.cpp:(.text+0x752): undefined reference to
`g_utf8_get_char'
sbStringTransformImpl.cpp:(.text+0x75d): undefined reference to
`g_unichar_type'
sbStringTransformImpl.cpp:(.text+0x794): undefined reference to
`g_utf8_offset_to_pointer'
sbStringTransformImpl.cpp:(.text+0x79c): undefined reference to
`g_utf8_get_char'
sbStringTransformImpl.cpp:(.text+0x821): undefined reference to `g_free'
collect2: ld returned 1 exit status
make[5]: *** [sbIntl.so] Error 1
make[5]: Leaving directory
`/tmp/.private/gray_graff/RPM/BUILD/Songbird/compiled/components/intl/src'


  reply	other threads:[~2009-07-11 13:29 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-07-10 10:33 Aelya Grevnyov
2009-07-10 17:44 ` Andrey Rahmatullin
2009-07-11 13:29   ` Aelya Grevnyov [this message]
2009-07-11 13:34     ` Andrey Rahmatullin
2009-07-11 13:40     ` Alexey I. Froloff
2009-07-11 21:48       ` Aelya Grevnyov

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=4A5893AF.2050002@gmail.com \
    --to=gray.graff@gmail.com \
    --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