Closed
Bug 318606
Opened 19 years ago
Closed 18 years ago
Minimo SHARED build fails
Categories
(Minimo Graveyard :: Build Config, defect)
Tracking
(Not tracked)
RESOLVED
WONTFIX
People
(Reporter: ext-andre.pedralho, Assigned: dougt)
References
Details
Attachments
(1 file)
7.18 KB,
patch
|
Details | Diff | Splinter Review |
I'm trying to enable a shared build of Minimo. My source code was downloaded september 25th. My mozconfig is
mk_add_options MOZ_CO_PROJECT=minimo
ac_add_options --enable-application=minimo
# use GTK+-2 widget set with XFT font rendering
ac_add_options --enable-default-toolkit=gtk2
ac_add_options --enable-xft
ac_add_options --disable-freetype2
ac_add_options --enable-optimize=-Os
ac_add_options --enable-strip
ac_add_options --disable-debug
ac_add_options --enable-reorder
ac_add_options --enable-elf-dynstr-gc
# enable static build
#ac_add_options --disable-shared
#ac_add_options --enable-static
# remove link dependency on libstdc++.so
#LIBS=-lsupc++
#CXX=gcc
The stack error is:
make[5]: Entering directory `/home/asp/mozilla/security/manager/pki/src'
/home/asp/mozilla/config/nsinstall -R -m 755 libpippki.so ../../../../dist/bin/components
../../../../dist/bin/elf-dynstr-gc ../../../../dist/bin/components/libpippki.so
Couldn't GC any strings, exiting.
make[5]: Leaving directory `/home/asp/mozilla/security/manager/pki/src'
make[4]: Leaving directory `/home/asp/mozilla/security/manager/pki'
make[3]: Leaving directory `/home/asp/mozilla/security/manager'
make[3]: Entering directory `/home/asp/mozilla/toolkit/library'
make[3]: *** No rule to make target `../../dist/lib/libxulapp_s.a', needed by `libxul.so'. Stop.
make[3]: Leaving directory `/home/asp/mozilla/toolkit/library'
make[2]: *** [libs_tier_50] Error 2
make[2]: Leaving directory `/home/asp/mozilla'
make[1]: *** [tier_50] Error 2
make[1]: Leaving directory `/home/asp/mozilla'
make: *** [default] Error 2
Assignee | ||
Comment 1•19 years ago
|
||
is this fixed?
Comment 2•19 years ago
|
||
not yet, doug !
(see 319587). I'm gonna hack a little.
btw, it blocks 319587.
Comment 3•19 years ago
|
||
it's not finnished yet. For this fisrt version, both xpcom_obsolete and xpinstall had to be enabled, and it has some link problems with xpcom (maybe am missing any xpcom_glue export).
To be fixed: when it tries to link minimo itself, I get
Minimo.cpp
WindowCreator.cpp
SplashScreen.cpp
nsConsoleWriter.cpp
nsBrowserStatusFilter.cpp
nsBrowserInstance.cpp
Minimo.o(.text._ZN19ApplicationObserverC2EP11nsIAppShell+0x3a): In function `ApplicationObserver::ApplicationObserver[not-in-charge](nsIAppShell*)':
: undefined reference to `nsCOMPtr_base::assign_with_AddRef(nsISupports*)'
Minimo.o(.text._ZN19ApplicationObserverC2EP11nsIAppShell+0x62): In function `ApplicationObserver::ApplicationObserver[not-in-charge](nsIAppShell*)':
: undefined reference to `nsCOMPtr_base::assign_from_gs_contractid(nsGetServiceByContractID, nsID const&)'
Minimo.o(.text._ZN19ApplicationObserverC2EP11nsIAppShell+0xed): In function `ApplicationObserver::ApplicationObserver[not-in-charge](nsIAppShell*)':
: undefined reference to `nsCOMPtr_base::~nsCOMPtr_base [not-in-charge]()'
Minimo.o(.text._ZN19ApplicationObserverC1EP11nsIAppShell+0x3a): In function `ApplicationObserver::ApplicationObserver[in-charge](nsIAppShell*)':
: undefined reference to `nsCOMPtr_base::assign_with_AddRef(nsISupports*)'
Minimo.o(.text._ZN19ApplicationObserverC1EP11nsIAppShell+0x62): In function `ApplicationObserver::ApplicationObserver[in-charge](nsIAppShell*)':
: undefined reference to `nsCOMPtr_base::assign_from_gs_contractid(nsGetServiceByContractID, nsID const&)'
Minimo.o(.text._ZN19ApplicationObserverC1EP11nsIAppShell+0xed): In function `ApplicationObserver::ApplicationObserver[in-charge](nsIAppShell*)':
: undefined reference to `nsCOMPtr_base::~nsCOMPtr_base [not-in-charge]()'
Minimo.o(.text._ZN19ApplicationObserverD2Ev+0x21): In function `ApplicationObserver::~ApplicationObserver [not-in-charge]()':
: undefined reference to `nsCOMPtr_base::~nsCOMPtr_base [not-in-charge]()'
Minimo.o(.text._ZN19ApplicationObserverD1Ev+0x21): In function `ApplicationObserver::~ApplicationObserver [in-charge]()':
: undefined reference to `nsCOMPtr_base::~nsCOMPtr_base [not-in-charge]()'
Minimo.o(.text._ZN19ApplicationObserver7ObserveEP11nsISupportsPKcPKt+0x49): In function `ApplicationObserver::Observe(nsISupports*, char const*, unsigned short const*)':
: undefined reference to `nsCOMPtr_base::assign_from_qi(nsQueryInterface, nsID const&)'
Minimo.o(.text._ZN19ApplicationObserver7ObserveEP11nsISupportsPKcPKt+0xba): In function `ApplicationObserver::Observe(nsISupports*, char const*, unsigned short const*)':
: undefined reference to `nsCOMPtr_base::assign_from_qi(nsQueryInterface, nsID const&)'
Minimo.o(.text._ZN19ApplicationObserver7ObserveEP11nsISupportsPKcPKt+0x102): In function `ApplicationObserver::Observe(nsISupports*, char const*, unsigned short const*)':
: undefined reference to `nsCOMPtr_base::~nsCOMPtr_base [not-in-charge]()'
Minimo.o(.text._ZN19ApplicationObserver7ObserveEP11nsISupportsPKcPKt+0x23e): In function `ApplicationObserver::Observe(nsISupports*, char const*, unsigned short const*)':
: undefined reference to `nsCOMPtr_base::assign_from_gs_contractid(nsGetServiceByContractID, nsID const&)'
Minimo.o(.text._ZN19ApplicationObserver7ObserveEP11nsISupportsPKcPKt+0x24e): In function `ApplicationObserver::Observe(nsISupports*, char const*, unsigned short const*)':
: undefined reference to `nsCOMPtr_base::~nsCOMPtr_base [not-in-charge]()'
Minimo.o(.text._ZN19ApplicationObserver7ObserveEP11nsISupportsPKcPKt+0x26f): In function `ApplicationObserver::Observe(nsISupports*, char const*, unsigned short const*)':
: undefined reference to `nsCOMPtr_base::begin_assignment()'
Minimo.o(.text._ZN19ApplicationObserver7ObserveEP11nsISupportsPKcPKt+0x29b): In function `ApplicationObserver::Observe(nsISupports*, char const*, unsigned short const*)':
: undefined reference to `nsCOMPtr_base::~nsCOMPtr_base [not-in-charge]()'
Minimo.o(.text._ZN19ApplicationObserver7ObserveEP11nsISupportsPKcPKt+0x2a2): In function `ApplicationObserver::Observe(nsISupports*, char const*, unsigned short const*)':
: undefined reference to `nsCOMPtr_base::~nsCOMPtr_base [not-in-charge]()'
Minimo.o(.text._ZN19ApplicationObserver7ObserveEP11nsISupportsPKcPKt+0x2ad): In function `ApplicationObserver::Observe(nsISupports*, char const*, unsigned short const*)':
: undefined reference to `nsAString_internal::~nsAString_internal [not-in-charge]()'
Minimo.o(.text._ZN19ApplicationObserver7ObserveEP11nsISupportsPKcPKt+0x2d9): In function `ApplicationObserver::Observe(nsISupports*, char const*, unsigned short const*)':
: undefined reference to `nsCharTraits<unsigned short>::sEmptyBuffer'
Minimo.o(.text._ZN19ApplicationObserver7ObserveEP11nsISupportsPKcPKt+0x34c): In function `ApplicationObserver::Observe(nsISupports*, char const*, unsigned short const*)':
: undefined reference to `nsAString_internal::~nsAString_internal [not-in-charge]()'
doug ?
Minimo.o(.text._ZN19ApplicationObserver7ObserveEP11nsISupportsPKcPKt+0x360): In function `ApplicationObserver::Observe(nsISupports*, char const*, unsigned short const*)':
: undefined reference to `nsAString_internal::Adopt(unsigned short*, unsigned)'
Minimo.o(.text._ZN19ApplicationObserver7ObserveEP11nsISupportsPKcPKt+0x3d4): In function `ApplicationObserver::Observe(nsISupports*, char const*, unsigned short const*)':
: undefined reference to `nsAString_internal::~nsAString_internal [not-in-charge]()'
Minimo.o(.text._ZN19ApplicationObserver7ObserveEP11nsISupportsPKcPKt+0x3e8): In function `ApplicationObserver::Observe(nsISupports*, char const*, unsigned short const*)':
: undefined reference to `nsAString_internal::Adopt(unsigned short*, unsigned)'
Minimo.o(.text._ZN19ApplicationObserver7ObserveEP11nsISupportsPKcPKt+0x409): In function `ApplicationObserver::Observe(nsISupports*, char const*, unsigned short const*)':
: undefined reference to `nsCOMPtr_base::assign_from_gs_contractid(nsGetServiceByContractID, nsID const&)'
Minimo.o(.text._ZN19ApplicationObserver7ObserveEP11nsISupportsPKcPKt+0x44f): In function `ApplicationObserver::Observe(nsISupports*, char const*, unsigned short const*)':
: undefined reference to `nsCOMPtr_base::~nsCOMPtr_base [not-in-charge]()'
Minimo.o(.text._ZN19ApplicationObserver7ObserveEP11nsISupportsPKcPKt+0x45a): In function `ApplicationObserver::Observe(nsISupports*, char const*, unsigned short const*)':
: undefined reference to `nsAString_internal::~nsAString_internal [not-in-charge]()'
Minimo.o(.text._ZN19ApplicationObserver7ObserveEP11nsISupportsPKcPKt+0x465): In function `ApplicationObserver::Observe(nsISupports*, char const*, unsigned short const*)':
: undefined reference to `nsAString_internal::~nsAString_internal [not-in-charge]()'
Minimo.o(.text._ZN19ApplicationObserver7ObserveEP11nsISupportsPKcPKt+0x470): In function `ApplicationObserver::Observe(nsISupports*, char const*, unsigned short const*)':
: undefined reference to `nsCOMPtr_base::~nsCOMPtr_base [not-in-charge]()'
Minimo.o(.text._ZN19ApplicationObserver7ObserveEP11nsISupportsPKcPKt+0x47b): In function `ApplicationObserver::Observe(nsISupports*, char const*, unsigned short const*)':
: undefined reference to `nsCOMPtr_base::~nsCOMPtr_base [not-in-charge]()'
Minimo.o(.text._ZN19ApplicationObserver7ObserveEP11nsISupportsPKcPKt+0x486): In function `ApplicationObserver::Observe(nsISupports*, char const*, unsigned short const*)':
: undefined reference to `nsAString_internal::~nsAString_internal [not-in-charge]()'
Minimo.o(.text._ZN17nsBadCertListener20ConfirmUnknownIssuerEP21nsIInterfaceRequestorP11nsIX509CertPsPi+0x34): In function `nsBadCertListener::ConfirmUnknownIssuer(nsIInterfaceRequestor*, nsIX509Cert*, short*, int*)':
: undefined reference to `nsCOMPtr_base::assign_from_gs_contractid(nsGetServiceByContractID, nsID const&)'
Minimo.o(.text._ZN17nsBadCertListener20ConfirmUnknownIssuerEP21nsIInterfaceRequestorP11nsIX509CertPsPi+0x53): In function `nsBadCertListener::ConfirmUnknownIssuer(nsIInterfaceRequestor*, nsIX509Cert*, short*, int*)':
: undefined reference to `nsCOMPtr_base::begin_assignment()'
Minimo.o(.text._ZN17nsBadCertListener20ConfirmUnknownIssuerEP21nsIInterfaceRequestorP11nsIX509CertPsPi+0x7f): In function `nsBadCertListener::ConfirmUnknownIssuer(nsIInterfaceRequestor*, nsIX509Cert*, short*, int*)':
: undefined reference to `nsCharTraits<unsigned short>::sEmptyBuffer'
Minimo.o(.text._ZN17nsBadCertListener20ConfirmUnknownIssuerEP21nsIInterfaceRequestorP11nsIX509CertPsPi+0xf2): In function `nsBadCertListener::ConfirmUnknownIssuer(nsIInterfaceRequestor*, nsIX509Cert*, short*, int*)':
: undefined reference to `nsAString_internal::~nsAString_internal [not-in-charge]()'
Minimo.o(.text._ZN17nsBadCertListener20ConfirmUnknownIssuerEP21nsIInterfaceRequestorP11nsIX509CertPsPi+0x100): In function `nsBadCertListener::ConfirmUnknownIssuer(nsIInterfaceRequestor*, nsIX509Cert*, short*, int*)':
: undefined reference to `nsAString_internal::Adopt(unsigned short*, unsigned)'
Minimo.o(.text._ZN17nsBadCertListener20ConfirmUnknownIssuerEP21nsIInterfaceRequestorP11nsIX509CertPsPi+0x142): In function `nsBadCertListener::ConfirmUnknownIssuer(nsIInterfaceRequestor*, nsIX509Cert*, short*, int*)':
: undefined reference to `nsAString_internal::~nsAString_internal [not-in-charge]()'
(...)
Minimo.o(.text._ZN17nsBadCertListener18ConfirmCertExpiredEP21nsIInterfaceRequestorP11nsIX509CertPi+0x206): In function `nsBadCertListener::ConfirmCertExpired(nsIInterfaceRequestor*, nsIX509Cert*, int*)':
: undefined reference to `nsCOMPtr_base::assign_from_gs_contractid(nsGetServiceByContractID, nsID const&)'
Minimo.o(.text._ZN17nsBadCertListener18ConfirmCertExpiredEP21nsIInterfaceRequestorP11nsIX509CertPi+0x272): In function `nsBadCertListener::ConfirmCertExpired(nsIInterfaceRequestor*, nsIX509Cert*, int*)':
: undefined reference to `nsCOMPtr_base::~nsCOMPtr_base [not-in-charge]()'
Minimo.o(.text._ZN17nsBadCertListener18ConfirmCertExpiredEP21nsIInterfaceRequestorP11nsIX509CertPi+0x27d): In function `nsBadCertListener::ConfirmCertExpired(nsIInterfaceRequestor*, nsIX509Cert*, int*)':
: undefined reference to `nsCOMPtr_base::~nsCOMPtr_base [not-in-charge]()'
Minimo.o(.text._ZN17nsBadCertListener18ConfirmCertExpiredEP21nsIInterfaceRequestorP11nsIX509CertPi+0x288): In function `nsBadCertListener::ConfirmCertExpired(nsIInterfaceRequestor*, nsIX509Cert*, int*)':
: undefined reference to `nsCOMPtr_base::~nsCOMPtr_base [not-in-charge]()'
Minimo.o(.text._ZN17nsBadCertListener18ConfirmCertExpiredEP21nsIInterfaceRequestorP11nsIX509CertPi+0x290): In function `nsBadCertListener::ConfirmCertExpired(nsIInterfaceRequestor*, nsIX509Cert*, int*)':
: undefined reference to `nsAString_internal::~nsAString_internal [not-in-charge]()'
Minimo.o(.text._ZN17nsBadCertListener18ConfirmCertExpiredEP21nsIInterfaceRequestorP11nsIX509CertPi+0x298): In function `nsBadCertListener::ConfirmCertExpired(nsIInterfaceRequestor*, nsIX509Cert*, int*)':
: undefined reference to `nsAString_internal::~nsAString_internal [not-in-charge]()'
Minimo.o(.text._ZN17nsBadCertListener18ConfirmCertExpiredEP21nsIInterfaceRequestorP11nsIX509CertPi+0x2a0): In function `nsBadCertListener::ConfirmCertExpired(nsIInterfaceRequestor*, nsIX509Cert*, int*)':
: undefined reference to `nsCOMPtr_base::~nsCOMPtr_base [not-in-charge]()'
Minimo.o(.text._ZN17nsBadCertListener18ConfirmCertExpiredEP21nsIInterfaceRequestorP11nsIX509CertPi+0x2a8): In function `nsBadCertListener::ConfirmCertExpired(nsIInterfaceRequestor*, nsIX509Cert*, int*)':
: undefined reference to `nsCOMPtr_base::~nsCOMPtr_base [not-in-charge]()'
Minimo.o(.text._Z14StartupProfilev+0x22): In function `StartupProfile()':
: undefined reference to `nsCOMPtr_base::begin_assignment()'
Minimo.o(.text._Z14StartupProfilev+0x56): In function `StartupProfile()':
: undefined reference to `nsCOMPtr_base::assign_from_gs_contractid_with_error(nsGetServiceByContractIDWithError const&, nsID const&)'
(..)
nsConsoleWriter.o(.text._Z15WriteConsoleLogv+0x1e3): In function `WriteConsoleLog()':
: undefined reference to `nsCharTraits<unsigned short>::sEmptyBuffer'
nsConsoleWriter.o(.text._Z15WriteConsoleLogv+0x286): In function `WriteConsoleLog()':
: undefined reference to `nsAString_internal::Adopt(unsigned short*, unsigned)'
nsConsoleWriter.o(.text._Z15WriteConsoleLogv+0x29c): In function `WriteConsoleLog()':
: undefined reference to `NS_CopyUnicodeToNative(nsAString_internal const&, nsACString_internal&)'
nsConsoleWriter.o(.text._Z15WriteConsoleLogv+0x2fd): In function `WriteConsoleLog()':
: undefined reference to `NS_Free_P'
nsConsoleWriter.o(.text._Z15WriteConsoleLogv+0x30a): In function `WriteConsoleLog()':
: undefined reference to `nsACString_internal::~nsACString_internal [not-in-charge]()'
nsConsoleWriter.o(.text._Z15WriteConsoleLogv+0x315): In function `WriteConsoleLog()':
: undefined reference to `nsAString_internal::~nsAString_internal [not-in-charge]()'
nsConsoleWriter.o(.text._Z15WriteConsoleLogv+0x31d): In function `WriteConsoleLog()':
: undefined reference to `nsCOMPtr_base::~nsCOMPtr_base [not-in-charge]()'
nsConsoleWriter.o(.text._Z15WriteConsoleLogv+0x325): In function `WriteConsoleLog()':
: undefined reference to `nsCOMPtr_base::~nsCOMPtr_base [not-in-charge]()'
nsConsoleWriter.o(.text._Z15WriteConsoleLogv+0x32d): In function `WriteConsoleLog()':
: undefined reference to `nsCOMPtr_base::~nsCOMPtr_base [not-in-charge]()'
nsBrowserStatusFilter.o(.text._ZN21nsBrowserStatusFilterC2Ev+0x6b): In function `nsBrowserStatusFilter::nsBrowserStatusFilter[not-in-charge]()':
: undefined reference to `nsCharTraits<unsigned short>::sEmptyBuffer'
nsBrowserStatusFilter.o(.text._ZN21nsBrowserStatusFilterC1Ev+0x6b): In function `nsBrowserStatusFilter::nsBrowserStatusFilter[in-charge]()':
: undefined reference to `nsCharTraits<unsigned short>::sEmptyBuffer'
nsBrowserStatusFilter.o(.text._ZN21nsBrowserStatusFilterD2Ev+0x4c): In function `nsBrowserStatusFilter::~nsBrowserStatusFilter [not-in-charge]()':
: undefined reference to `nsAString_internal::~nsAString_internal [not-in-charge]()'
nsBrowserStatusFilter.o(.text._ZN21nsBrowserStatusFilterD2Ev+0x53): In function `nsBrowserStatusFilter::~nsBrowserStatusFilter [not-in-charge]()':
: undefined reference to `nsCOMPtr_base::~nsCOMPtr_base [not-in-charge]()'
nsBrowserStatusFilter.o(.text._ZN21nsBrowserStatusFilterD2Ev+0x5b): In function `nsBrowserStatusFilter::~nsBrowserStatusFilter [not-in-charge]()':
: undefined reference to `nsCOMPtr_base::~nsCOMPtr_base [not-in-charge]()'
nsBrowserStatusFilter.o(.text._ZN21nsBrowserStatusFilterD2Ev+0x61): In function `nsBrowserStatusFilter::~nsBrowserStatusFilter [not-in-charge]()':
: undefined reference to `vtable for nsSupportsWeakReference'
nsBrowserStatusFilter.o(.text._ZN21nsBrowserStatusFilterD1Ev+0x4c): In function `nsBrowserStatusFilter::~nsBrowserStatusFilter [in-charge]()':
: undefined reference to `nsAString_internal::~nsAString_internal [not-in-charge]()'
nsBrowserStatusFilter.o(.text._ZN21nsBrowserStatusFilterD1Ev+0x53): In function `nsBrowserStatusFilter::~nsBrowserStatusFilter [in-charge]()':
: undefined reference to `nsCOMPtr_base::~nsCOMPtr_base [not-in-charge]()'
nsBrowserStatusFilter.o(.text._ZN21nsBrowserStatusFilterD1Ev+0x5b): In function `nsBrowserStatusFilter::~nsBrowserStatusFilter [in-charge]()':
(...)
nsBrowserInstance.o(.text._ZN17nsBrowserInstance17SetWebShellWindowEP20nsIDOMWindowInternal+0x5d): In function `nsBrowserInstance::SetWebShellWindow(nsIDOMWindowInternal*)':
: undefined reference to `nsCOMPtr_base::~nsCOMPtr_base [not-in-charge]()'
nsBrowserInstance.o(.gnu.linkonce.d._ZTV17nsBrowserInstance+0x44): undefined reference to `nsSupportsWeakReference::GetWeakReference(nsIWeakReference**)'
collect2: ld returned 1 exit status
make[4]: *** [minimo] Error 1
make[3]: *** [libs] Error 2
make[2]: *** [tier_99] Error 2
make[1]: *** [default] Error 2
Comment 4•19 years ago
|
||
run 'autoconf' before build it
Comment 5•19 years ago
|
||
*** Bug 330152 has been marked as a duplicate of this bug. ***
Assignee | ||
Comment 6•18 years ago
|
||
Wont Fix. Minimo builds without dso's.
Status: NEW → RESOLVED
Closed: 18 years ago
Resolution: --- → WONTFIX
You need to log in
before you can comment on or make changes to this bug.
Description
•