ALT Linux Team development discussions
 help / color / mirror / Atom feed
* [devel] проблема с songbird и --as-needed
@ 2009-07-10 10:33 Aelya Grevnyov
  2009-07-10 17:44 ` Andrey Rahmatullin
  0 siblings, 1 reply; 6+ messages in thread
From: Aelya Grevnyov @ 2009-07-10 10:33 UTC (permalink / raw)
  To: Devel

приветствую
собираю 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)


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2009-07-11 21:48 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-07-10 10:33 [devel] проблема с songbird и --as-needed Aelya Grevnyov
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

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