ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: Aelya Grevnyov <gray.graff@gmail.com>
To: Devel@lists.altlinux.org
Subject: [devel] проблема с songbird и --as-needed
Date: Fri, 10 Jul 2009 18:33:14 +0800
Message-ID: <4A5718EA.80704@altlinux.org> (raw)

приветствую
собираю songbird и не могу справиться с --as-needed
с --no-as-needed оно собирается и работает (правда собирается только
через gear-rpm -bb. с hasher там немного другие ошибки. подозреваю, что
они тоже связаны с --as-needed)
Можно это как-то победить?
вот мое поделие
http://git.altlinux.org/people/gray_graff/packages/?p=songbird.git

вот лог ошибки:
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
/tmp/.private/gray_graff/RPM/BUILD/Songbird/dependencies/linux-i686/mozilla/release/lib/libxpcomglue_s.a(nsComponentManagerUtils.o):
In function `CallGetClassObject(char const*, nsID const&, void**)':



nsComponentManagerUtils.cpp:(.text+0x5b): undefined reference to
`NS_GetComponentManager'

/tmp/.private/gray_graff/RPM/BUILD/Songbird/dependencies/linux-i686/mozilla/release/lib/libxpcomglue_s.a(nsComponentManagerUtils.o):
In function `CallGetClassObject(nsID const&, nsID const&, void**)':



nsComponentManagerUtils.cpp:(.text+0xe8): undefined reference to
`NS_GetComponentManager'

/tmp/.private/gray_graff/RPM/BUILD/Songbird/dependencies/linux-i686/mozilla/release/lib/libxpcomglue_s.a(nsComponentManagerUtils.o):
In function `CallCreateInstance(char const*, nsISupports*, nsID const&,
void**)':


nsComponentManagerUtils.cpp:(.text+0x176): undefined reference to
`NS_GetComponentManager'

/tmp/.private/gray_graff/RPM/BUILD/Songbird/dependencies/linux-i686/mozilla/release/lib/libxpcomglue_s.a(nsComponentManagerUtils.o):
In function `CallCreateInstance(nsID const&, nsISupports*, nsID const&,
void**)':


nsComponentManagerUtils.cpp:(.text+0x20c): undefined reference to
`NS_GetComponentManager'

/tmp/.private/gray_graff/RPM/BUILD/Songbird/dependencies/linux-i686/mozilla/release/lib/libxpcomglue_s.a(nsComponentManagerUtils.o):
In function `CallGetService(char const*, nsID const&, void**)':



nsComponentManagerUtils.cpp:(.text+0x2a2): undefined reference to
`NS_GetServiceManager'

/tmp/.private/gray_graff/RPM/BUILD/Songbird/dependencies/linux-i686/mozilla/release/lib/libxpcomglue_s.a(nsComponentManagerUtils.o):
In function `CallGetService(nsID const&, nsID const&, void**)':



nsComponentManagerUtils.cpp:(.text+0x353): undefined reference to
`NS_GetServiceManager'

/tmp/.private/gray_graff/RPM/BUILD/Songbird/dependencies/linux-i686/mozilla/release/lib/libxpcomglue_s.a(nsGenericFactory.o):
In function `nsGenericModule::Release()':
nsGenericFactory.cpp:(.text+0x98b): undefined reference to
`PR_AtomicDecrement'

/tmp/.private/gray_graff/RPM/BUILD/Songbird/dependencies/linux-i686/mozilla/release/lib/libxpcomglue_s.a(nsGenericFactory.o):
In function `nsGenericFactory::Release()':
nsGenericFactory.cpp:(.text+0x9e1): undefined reference to
`PR_AtomicDecrement'

/tmp/.private/gray_graff/RPM/BUILD/Songbird/dependencies/linux-i686/mozilla/release/lib/libxpcomglue_s.a(nsGenericFactory.o):
In function `nsGenericModule::AddRef()':
nsGenericFactory.cpp:(.text+0xa2e): undefined reference to
`PR_AtomicIncrement'

/tmp/.private/gray_graff/RPM/BUILD/Songbird/dependencies/linux-i686/mozilla/release/lib/libxpcomglue_s.a(nsGenericFactory.o):
In function `nsGenericFactory::AddRef()':
nsGenericFactory.cpp:(.text+0xa58): undefined reference to
`PR_AtomicIncrement'
/tmp/.private/gray_graff/RPM/BUILD/Songbird/dependencies/linux-i686/mozilla/release/lib/libxpcomglue_s.a(nsGenericFactory.o):
In function `nsGenericFactory::GetClassDescription(char**)':
nsGenericFactory.cpp:(.text+0xace): undefined reference to `NS_Alloc'
/tmp/.private/gray_graff/RPM/BUILD/Songbird/dependencies/linux-i686/mozilla/release/lib/libxpcomglue_s.a(nsGenericFactory.o):
In function `nsGenericFactory::GetContractID(char**)':
nsGenericFactory.cpp:(.text+0xb45): undefined reference to `NS_Alloc'
/tmp/.private/gray_graff/RPM/BUILD/Songbird/dependencies/linux-i686/mozilla/release/lib/libxpcomglue_s.a(nsMemory.o):
In function `nsMemory::GetGlobalMemoryService()':
nsMemory.cpp:(.text+0x17): undefined reference to `NS_GetMemoryManager'
/tmp/.private/gray_graff/RPM/BUILD/Songbird/dependencies/linux-i686/mozilla/release/lib/libxpcomglue_s.a(nsMemory.o):
In function `nsMemory::Clone(void const*, unsigned int)':
nsMemory.cpp:(.text+0x4d): undefined reference to `NS_Alloc'
/tmp/.private/gray_graff/RPM/BUILD/Songbird/dependencies/linux-i686/mozilla/release/lib/libxpcomglue_s.a(nsMemory.o):
In function `nsMemory::HeapMinimize(int)':
nsMemory.cpp:(.text+0x8f): undefined reference to `NS_GetMemoryManager'
collect2: ld returned 1 exit status
make[6]: *** [sbDOMEventUtils.so] Error 1
make[6]: Leaving directory
`/tmp/.private/gray_graff/RPM/BUILD/Songbird/compiled/components/moz/domevents/src'
make[5]: *** [libs] Error 2
make[5]: Leaving directory
`/tmp/.private/gray_graff/RPM/BUILD/Songbird/compiled/components/moz/domevents'
make[4]: *** [libs] Error 2
make[4]: Leaving directory
`/tmp/.private/gray_graff/RPM/BUILD/Songbird/compiled/components/moz'
make[3]: *** [libs_tier_componentsbase] Error 2
make[3]: Leaving directory
`/tmp/.private/gray_graff/RPM/BUILD/Songbird/compiled'
make[2]: *** [tier_componentsbase] Error 2
make[2]: Leaving directory
`/tmp/.private/gray_graff/RPM/BUILD/Songbird/compiled'
make[1]: *** [default] Error 2
make[1]: Leaving directory
`/tmp/.private/gray_graff/RPM/BUILD/Songbird/compiled'
make: *** [build] Error 2
make: Leaving directory `/tmp/.private/gray_graff/RPM/BUILD/Songbird'
ошибка: Неверный код возврата из /home/gray_graff/tmp/rpm-tmp.73122 (%build)


             reply	other threads:[~2009-07-10 10:33 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-07-10 10:33 Aelya Grevnyov [this message]
2009-07-10 17:44 ` Andrey Rahmatullin
2009-07-11 13:29   ` Aelya Grevnyov
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=4A5718EA.80704@altlinux.org \
    --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