Date: Tue, 19 Jun 2001 11:40:35 -0400 From: Edward Glowacki <glowack2@msu.edu> To: freebsd-mozilla@freebsd.org Subject: Mozilla port compile problems Message-ID: <20010619114034.E65613@msu.edu>
index | next in thread | raw e-mail
Every time I've tried to compile Mozilla on FreeBSD, I've had the compile fail on security/manager/ssl/src/nsKeygenHandler.cpp. Here's the error I got with Mozilla CVS (similar problems appear with 0.9.1): Building deps for nsKeygenHandler.cpp c++ -o nsKeygenHandler.o -c -DOSTYPE=\"FreeBSD4\" -DOSARCH=\"FreeBSD\" -DOJI -I../../../../dist/include -I../../../../dist/include -I/home/glowack2/source/mozilla/dist/include/nspr -I/usr/local/include -I/usr/local/include -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 -Wno-long-long -O -pipe -pipe -pthread -O -DNDEBUG -DTRIMMED -I/usr/X11R6/include -DMOZILLA_CLIENT -include ../../../../config-defs.h nsKeygenHandler.cpp nsKeygenHandler.cpp: In function `struct PQGParams * decode_pqg_params(char *)': nsKeygenHandler.cpp:100: implicit declaration of function `int ATOB_AsciiToData(...)' nsKeygenHandler.cpp:100: assignment to `unsigned char *' from `int' lacks a cast nsKeygenHandler.cpp:85: warning: `unsigned char * buf' might be used uninitialized in this function nsKeygenHandler.cpp: In method `nsresult nsKeygenFormProcessor::GetPublicKey(nsString &, nsString &, nsString &, nsString &, nsString &)': nsKeygenHandler.cpp:446: implicit declaration of function `int BTOA_DataToAscii(...)' nsKeygenHandler.cpp:446: assignment to `char *' from `int' lacks a cast nsKeygenHandler.cpp:297: warning: unused variable `char * emptyCString' nsKeygenHandler.cpp: In method `nsresult nsKeygenFormProcessor::ProvideContent(const nsString &, nsVoidArray &, nsString &)': nsKeygenHandler.cpp:517: warning: unused variable `struct SECKeySizeChoiceInfo * choice' gmake[3]: *** [nsKeygenHandler.o] Error 1 gmake[3]: Leaving directory `/home/glowack2/source/mozilla/security/manager/ssl/src' gmake[2]: *** [install] Error 2 gmake[2]: Leaving directory `/home/glowack2/source/mozilla/security/manager/ssl' gmake[1]: *** [install] Error 2 gmake[1]: Leaving directory `/home/glowack2/source/mozilla/security/manager' gmake: *** [install] Error 2 *** Error code 2 Stop in /usr/ports.local/www/mozilla. Note that this compile was done from the ports tree with the Makefile modified slightly to have the version be "CVS", and a symlink in work/ points to the mozilla source. I've tried Mozilla CVS and 0.9.1, FreeBSD 4.2-RELEASE and 4.3-STABLE (installed a week ago on a separate machine), and they all fail at the same file with the same error. I have the Mozilla package running, but I'd like to compile the mozilla-embedded port for Galeon to use. -- Edward Glowacki glowack2@msu.edu Michigan State University "...a partial solution to the right problem is better than a complete solution to the wrong one." (http://uiweb.com/issues/issue14.htm) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mozilla" in the body of the messagehelp
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010619114034.E65613>
