Re: undefined reference to '_InterlockedIncrement' when compiling nss under MinGW

2012-09-14 Thread wdeng
Did you configure the building system yourself? Usually I build firefox on windows with the MozillaBuild tool which can be got at: http://ftp.mozilla.org/pub/mozilla.org/mozilla/libraries/win32/MozillaBuildSetup-Latest.exe How to build firefox on windows, the reference is: https://developer.moz

Re: undefined reference to '_InterlockedIncrement' when compiling nss under MinGW

2012-09-14 Thread Robert Story
On Fri, 14 Sep 2012 13:37:35 +0200 weizhong wrote: WQ> hi all, WQ> Since I need to call nss API inside the software (a middleware which is WQ> supposed to generally run on Win/Linux/MacOS) which I am developing, I WQ> have to compile nss under MinGW. But I always get the "undefined WQ> reference" e

Re: JSS library and parsing CMS

2012-09-14 Thread Anders Rundgren
Kid Alchemy, This is the wrong list for BouncyCastle questions! -Anders Anyway, here is an extract from code that I use (I'm not an expert of CMS): import org.bouncycastle.cms.CMSException; import org.bouncycastle.cms.CMSProcessableByteArray; import org.bouncycastle.cms.CMSSignedData; import org

Re: JSS library and parsing CMS

2012-09-14 Thread KidAlchemy
On Friday, August 17, 2012 5:44:40 AM UTC-4, Anders Rundgren wrote: > On 2012-08-15 21:35, KidAlchemy wrote: > > > On Thursday, August 9, 2012 10:26:12 AM UTC-4, KidAlchemy wrote: > > >> I want to use the JSS library just to parse the CMS package into the > >> specific structures that are provid

undefined reference to '_InterlockedIncrement' when compiling nss under MinGW

2012-09-14 Thread weizhong qiang
hi all, Since I need to call nss API inside the software (a middleware which is supposed to generally run on Win/Linux/MacOS) which I am developing, I have to compile nss under MinGW. But I always get the "undefined reference" error, when I run "make nss_build_all" under mozilla/security/nss. I