Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 24 Oct 2000 11:33:03 -0400
From:      Ian Cartwright <ICartwright@IT.RJF.com>
To:        "'freebsd-mozilla@freebsd.org'" <freebsd-mozilla@freebsd.org>
Subject:   M18 Building PSM
Message-ID:  <6D5097D4B56AD31190D50008C7B1579BC97C82@exlan5.rjf.com>

next in thread | raw e-mail | index | archive | help
Hello,

I recently built the M18 port of Mozilla for FreeBSD. Using the instructions
on the mozilla web site, I am trying to build NSS and PSM for Mozilla as
well. I successfully built NSS, but when I get to step 5 of the PSM build
instructions
(http://www.mozilla.org/projects/security/pki/psm/buildpsm.html), the
compile fails, like so:

(This is with the ./configure files from 'make configure' in the mozilla
port directory)
../../../../config/nsinstall -R -m 444 nlslayer.h ../../../../dist/include
nlslayer.cpp
c++ -o nlslayer.o -c -DOSTYPE=\"FreeBSD4.1\" -DOJI
-I../../../../dist/include  -I/usr/local/include -I/usr/local/include
-I/usr/X11R6/include   -fPIC  -fno-rtti -fexceptions -Wall -Wconversion
-Wpointer-arith -Wbad-function-cast -Wcast-align -Woverloaded-virtual
-Wsynth -Wshadow -Wno-long-long -O -pipe -pthread -O  -DNDEBUG -DTRIMMED
-DMOZILLA_CLIENT -include ../../../../config-defs.h nlslayer.cpp
nlslayer.cpp:35: nscore.h: No such file or directory
nlslayer.cpp:36: nsString.h: No such file or directory
nlslayer.cpp:37: nsIServiceManager.h: No such file or directory
nlslayer.cpp:38: nsIStringBundle.h: No such file or directory
nlslayer.cpp:39: nsIDateTimeFormat.h: No such file or directory
nlslayer.cpp:40: nsDateTimeFormatCID.h: No such file or directory
nlslayer.cpp:41: nsICharsetConverterManager.h: No such file or directory
nlslayer.cpp:46: `kStringBundleServiceCID' was not declared in this scope
nlslayer.cpp:46: `NS_STRINGBUNDLESERVICE_CID' was not declared in this scope
nlslayer.cpp:46: ANSI C++ forbids declaration `NS_DEFINE_IID' with no type
nlslayer.cpp:46: initializer list being treated as compound expression
nlslayer.cpp:47: `kIStringBundleServiceIID' was not declared in this scope
nlslayer.cpp:47: `NS_ISTRINGBUNDLESERVICE_IID' was not declared in this
scope
nlslayer.cpp:47: ANSI C++ forbids declaration `NS_DEFINE_IID' with no type
nlslayer.cpp:47: redefinition of `int NS_DEFINE_IID'
nlslayer.cpp:46: `int NS_DEFINE_IID' previously defined here
nlslayer.cpp:47: initializer list being treated as compound expression
nlslayer.cpp:48: `kDateTimeCID' was not declared in this scope
nlslayer.cpp:48: `NS_DATETIMEFORMAT_CID' was not declared in this scope
nlslayer.cpp:48: ANSI C++ forbids declaration `NS_DEFINE_CID' with no type
nlslayer.cpp:48: initializer list being treated as compound expression
nlslayer.cpp:49: `kCharsetConverterManagerCID' was not declared in this
scope
nlslayer.cpp:49: `NS_ICHARSETCONVERTERMANAGER_CID' was not declared in this
scope
nlslayer.cpp:49: ANSI C++ forbids declaration `NS_DEFINE_CID' with no type
nlslayer.cpp:49: redefinition of `int NS_DEFINE_CID'
nlslayer.cpp:48: `int NS_DEFINE_CID' previously defined here
nlslayer.cpp:49: initializer list being treated as compound expression
nlslayer.cpp:51: syntax error before `*'
nlslayer.cpp:59: syntax error before `*'
nlslayer.cpp:60: `nsIStringBundle' was not declared in this scope
nlslayer.cpp:60: `bundle' was not declared in this scope
nlslayer.cpp:60: syntax error before `char'
nlslayer.cpp:60: initializer list being treated as compound expression
nlslayer.cpp:61: syntax error before `*'
nlslayer.cpp: In function `PRBool nlsInit(...)':
nlslayer.cpp:67: `nsICharsetConverterManager' undeclared (first use this
function)
nlslayer.cpp:67: (Each undeclared identifier is reported only once
nlslayer.cpp:67: for each function it appears in.)
nlslayer.cpp:67: `ccm' undeclared (first use this function)
nlslayer.cpp:67: `nsnull' undeclared (first use this function)
nlslayer.cpp:68: syntax error before `='
nlslayer.cpp:71: syntax error before `;'
nlslayer.cpp:74: `res' undeclared (first use this function)
nlslayer.cpp:74: implicit declaration of function `int NS_InitXPCOM(...)'
nlslayer.cpp:75: implicit declaration of function `int NS_SUCCEEDED(...)'
nlslayer.cpp:75: implicit declaration of function `int NS_ASSERTION(...)'
nlslayer.cpp:78: syntax error before `::'
nlslayer.cpp:80: implicit declaration of function `int NS_FAILED(...)'
nlslayer.cpp:86: `bundles' undeclared (first use this function)
nlslayer.cpp:86: implicit declaration of function `int nlsCreateBundle(...)'
nlslayer.cpp:92: syntax error before `::'
nlslayer.cpp:100: `charsetASCII' undeclared (first use this function)
nlslayer.cpp:100: `encoderASCII' undeclared (first use this function)
nlslayer.cpp:108: implicit declaration of function `int NS_IF_RELEASE(...)'
nlslayer.cpp: At top level:
nlslayer.cpp:117: syntax error before `*'
nlslayer.cpp:125: ANSI C++ forbids declaration `ret' with no type
nlslayer.cpp:125: syntax error before `::'
nlslayer.cpp:125: confused by earlier errors, bailing out
gmake: *** [nlslayer.o] Error 1

Or like so:
(This is with the files from 'configure --without-gtk --enable-optimize
--disable-debug --without-x --without-libIDL')

../../../../config/nsinstall -R -m 444 nlslayer.h ../../../../dist/include
nlslayer.cpp
c++ -o nlslayer.o -c -DOSTYPE=\"FreeBSD4.1\" -DOJI
-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 -pthread -O
-DNDEBUG -DTRIMMED -DMOZILLA_CLIENT -include ../../../../config-defs.h
-Wp,-MD,.deps/nlslayer.pp nlslayer.cpp
nlslayer.cpp:35: nscore.h: No such file or directory
nlslayer.cpp:36: nsString.h: No such file or directory
nlslayer.cpp:37: nsIServiceManager.h: No such file or directory
nlslayer.cpp:38: nsIStringBundle.h: No such file or directory
nlslayer.cpp:39: nsIDateTimeFormat.h: No such file or directory
nlslayer.cpp:40: nsDateTimeFormatCID.h: No such file or directory
nlslayer.cpp:41: nsICharsetConverterManager.h: No such file or directory
gmake: *** [nlslayer.o] Error 1

Can anyone provide some insight as to why this is?

Thanks!

Ian Cartwright
Senior Network Engineer
Raymond James & Associates
icartwright@it.rjf.com



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-mozilla" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6D5097D4B56AD31190D50008C7B1579BC97C82>