Chris Seawood wrote:
> David Shochat wrote:
>
>
>> I can do that procedure with the 0.8.1 binary and that finally allowed
>> me to access my credit union! But it doesn't work with the CVS version.
>> What do I have to do to get it to work with a CVS build? Is there some
>> special build option required? I don't see anything obvious in the Build
>> Configurator page.
>>
>
>
> http://www.mozilla.org/build/distribution.html .
>
> And yes, we are working on resolving the issue for cvs builds.
>
Thanks. I finally tried doing (as that page also suggests):
make BUILD_MODULES=psm
but I got compile errors on nslayer.cpp. Is it that I have to use a
special variant of the CVS checkout command (either through client.mk or
directly), or was I just unlucky and happened to try this at a point
(CO date = "05 Apr 2001 15:54:13 PDT") when the PSM code was unstable?
Here are the errors:
...
c++ -o nlslayer.o -c -DOSTYPE=\"Linux2.4\" -DOSARCH=\"Linux\" -DOJI
-I../../../../dist/include -I../../../../dist/include -fPIC
-fno-rtti -fno-exceptions -Wall -Wconversion -Wpointer-arith
-Wbad-function-cast -Wcast-align -Woverloaded-virtual -Wsynth -Wshadow
-pedantic -Wno-long-long -pipe -pthread -O2 -DNDEBUG -DTRIMMED
-DMOZILLA_CLIENT -include ../../../../config-defs.h
-Wp,-MD,.deps/nlslayer.pp nlslayer.cpp
nlslayer.cpp: In function `PRBool nlsUnicodeToUTF8(unsigned char *,
unsigned int, unsigned char *, unsigned int, unsigned int *)':
nlslayer.cpp:219: cannot convert `NS_ConvertUCS2toUTF8(inBuf,
(inBufBytes / 2))' from type `NS_ConvertUCS2toUTF8' to type `char *'
nlslayer.cpp:216: warning: `char * utf8' might be used uninitialized in
this function
nlslayer.cpp: In function `PRBool nlsUnicodeToASCII(unsigned char *,
unsigned int, unsigned char *, unsigned int, unsigned int *)':
nlslayer.cpp:264: warning: comparison between signed and unsigned
make[4]: *** [nlslayer.o] Error 1
make[4]: Leaving directory
`/usr/local/mozilla/nodebug/mozilla/security/psm/lib/nlslayer'
make[3]: *** [install] Error 2
make[3]: Leaving directory
`/usr/local/mozilla/nodebug/mozilla/security/psm/lib'
make[2]: *** [install] Error 2
make[2]: Leaving directory `/usr/local/mozilla/nodebug/mozilla/security/psm'
make[1]: *** [install] Error 2
make[1]: Leaving directory `/usr/local/mozilla/nodebug/mozilla/security'
make: *** [install] Error 2