[devel] проблема с songbird и --as-needed
Aelya Grevnyov
gray.graff at gmail.com
Fri Jul 10 14:33:14 MSD 2009
приветствую
собираю 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)
More information about the Devel
mailing list