Wer beim kompilieren von Firefox mit GCC diese Meldung bekommt:
../../dist/lib/components/libxpcom_compat_c.a(nsXPCOMObsolete.o):(.rodata+0x60): undefined reference to nsFileSpecImpl::Create(nsISupports*, nsID const&, void**)
../../dist/lib/components/libxpcom_compat_c.a(nsXPCOMObsolete.o):(.rodata+0xc0): undefined reference to nsDirectoryIteratorImpl::Create(nsISupports*, nsID const&, void**)
/usr/bin/ld: firefox-bin: hidden symbol `nsFileSpecImpl::Create(nsISupports*, nsID const&, void**)' isn't defined
kann diesen kleinen Patch verwenden um das Problem zu umgehen. Danach sollte configure gelöscht werden und unter zu Hilfenahme von autoconf erneut erstellt werden.
Download Code!
--- configure.in.orig2007-10-12 20:39:27.000000000 +0200
+++ configure.in2007-10-12 20:40:49.000000000 +0200
@@ -2670,8 +2670,7 @@
])
if test "$ac_cv_have_visibility_builtin_bug" = "no" -a \
"$ac_cv_have_visibility_class_bug" = "no"; then
- VISIBILITY_FLAGS='-I$(DIST)/include/system_wrappers -include $(topsrcdir)/config/gcc_hidden.h'
- WRAP_SYSTEM_INCLUDES=1
+ VISIBILITY_FLAGS='-fvisibility=hidden'
else
VISIBILITY_FLAGS='-fvisibility=hidden'
fi # have visibility pragma bug