With the following .mozconfig, I'm getting an error trying to build on
Linux (specifically Debian sid)...
### Begin .mozconfig ###
ac_add_options --enable-mathml
ac_add_options --enable-svg
# build PSM
export MOZ_NSS_AUTOCONF=1
mk_add_options MOZ_NSS_AUTOCONF=1
ac_add_options --enable-crypto
### End .mozconfig ###
I'm building using (starting from the 0.9 tarball):
cvs update -r HEAD client.mk
make -f client.mk checkout
make -f client.mk build
The last part of the build output is:
make[4]: Entering directory
`/home/sballard/mozilla/mozilla/security/manager/ssl/src'
nsNSSComponent.cpp
c++ -o nsNSSComponent.o -c -DOSTYPE=\"Linux2.4\" -DOSARCH=\"Linux\"
-DMOZ_REFLOW_PERF -DMOZ_REFLOW_PERF_DSP -DOJI
-I../../../../dist/include -I../../../../dist/include
-I/home/sballard/mozilla/mozilla/dist/include/nspr
-I../../../../dist/public/security -I../../../../dist/private/security
-I/usr/X11R6/include -fPIC -I/usr/X11R6/include -fno-rtti
-fno-exceptions -Wall -Wconversion -Wpointer-arith -Wbad-function-cast
-Wcast-align -Woverloaded-virtual -Wsynth -Wshadow -pedantic
-Wno-long-long -pipe -pthread -DDEBUG -DDEBUG_sballard -DTRACING -g
-I/usr/X11R6/include -DMOZILLA_CLIENT -include ../../../../config-defs.h
-Wp,-MD,.deps/nsNSSComponent.pp nsNSSComponent.cpp
nsNSSComponent.cpp: In method `nsresult
nsNSSComponent::InitializePIPNSSBundle()':
nsNSSComponent.cpp:320: no matching function for call to
`nsDerivedSafe<nsIStringBundleService>::CreateBundle (const char[41],
nsGetterAddRefs<nsIStringBundle>)'
../../../../dist/include/nsIStringBundle.h:206: candidates are: nsresult
nsIStringBundleService::CreateBundle(const char *, nsILocale *,
nsIStringBundle **)
nsNSSComponent.cpp: At top level:
nsNSSComponent.cpp:995: prototype for `nsresult
CertContentListener::OnStartURIOpen(nsIURI *, PRBool *)' does not match
any in class `CertContentListener'
nsNSSComponent.h:133: candidate is: nsresult
CertContentListener::OnStartURIOpen(nsIURI *, const char *, PRBool *)
nsNSSComponent.cpp:1014: prototype for `nsresult
CertContentListener::IsPreferred(const char *, int, char **, PRBool *)'
does not match any in class `CertContentListener'
nsNSSComponent.h:133: candidate is: nsresult
CertContentListener::IsPreferred(const char *, int, const char *, char
**, PRBool *)
nsNSSComponent.cpp: In method `nsresult
CertContentListener::IsPreferred(const char *, int, char **, PRBool *)':
nsNSSComponent.cpp:1016: no matching function for call to
`CertContentListener::CanHandleContent (const char *&, nsURILoadCommand
&, char **&, PRBool *&)'
nsNSSComponent.h:133: candidates are: nsresult
CertContentListener::CanHandleContent(const char *, int, const char *,
char **, PRBool *)
nsNSSComponent.cpp:1017: warning: control reaches end of non-void
function `CertContentListener::IsPreferred(const char *, int, char **,
PRBool *)'
nsNSSComponent.cpp: At top level:
nsNSSComponent.cpp:1024: prototype for `nsresult
CertContentListener::CanHandleContent(const char *, int, char **, PRBool
*)' does not match any in class `CertContentListener'
nsNSSComponent.h:133: candidate is: nsresult
CertContentListener::CanHandleContent(const char *, int, const char *,
char **, PRBool *)
nsNSSComponent.cpp:1041: prototype for `nsresult
CertContentListener::DoContent(const char *, int, nsIRequest *,
nsIStreamListener **, PRBool *)' does not match any in class
`CertContentListener'
nsNSSComponent.h:133: candidate is: nsresult
CertContentListener::DoContent(const char *, int, const char *,
nsIRequest *, nsIStreamListener **, PRBool *)
make[4]: *** [nsNSSComponent.o] Error 1
make[4]: Leaving directory
`/home/sballard/mozilla/mozilla/security/manager/ssl/src'
make[3]: *** [install] Error 2
make[3]: Leaving directory
`/home/sballard/mozilla/mozilla/security/manager/ssl'make[2]: ***
[install] Error 2
make[2]: Leaving directory
`/home/sballard/mozilla/mozilla/security/manager'
make[1]: *** [install] Error 2
make[1]: Leaving directory `/home/sballard/mozilla/mozilla'
make: *** [build] Error 2
Any ideas?
Stuart.