_MD_GET_INTSOFF' undefined

[email protected]
Newsgroups gmane.comp.mozilla.devel.nspr
Organization http://groups.google.com
Message-ID <[email protected]>
I'm trying to build NSPR on WinXP with VC 2005 Express and I get the
following errors when I try to build NSPR using win95.cfg

1>.\src\io\prlog.c(483) : warning C4013: '_MD_GET_INTSOFF' undefined;
assuming extern returning int
1>.\src\io\prlog.c(483) : warning C4013: '_MD_SET_INTSOFF' undefined;
assuming extern returning int

I'm using my own build-system (premake), so it's possible I miss
something in the configuration. The question is what  am I missing?

This is the full build log:

1>------ Build started: Project: nspr, Configuration: Debug Win32
------
1>Compiling...
1>prdir.c
1>prfdcach.c
1>prfile.c
1>prio.c
1>priometh.c
1>.\src\io\priometh.c(368) : warning C4018: '<' : signed/unsigned
mismatch
1>pripv6.c
1>prlayer.c
1>prlog.c
1>.\src\io\prlog.c(231) : warning C4996: 'stricmp': The POSIX name for
this item is deprecated. Instead, use the ISO C++ conformant name:
_stricmp. See online help for details.
1>        C:\Program Files\Microsoft Visual Studio 8\VC\include
\string.h(215) : see declaration of 'stricmp'
1>.\src\io\prlog.c(233) : warning C4996: 'stricmp': The POSIX name for
this item is deprecated. Instead, use the ISO C++ conformant name:
_stricmp. See online help for details.
1>        C:\Program Files\Microsoft Visual Studio 8\VC\include
\string.h(215) : see declaration of 'stricmp'
1>.\src\io\prlog.c(240) : warning C4996: 'stricmp': The POSIX name for
this item is deprecated. Instead, use the ISO C++ conformant name:
_stricmp. See online help for details.
1>        C:\Program Files\Microsoft Visual Studio 8\VC\include
\string.h(215) : see declaration of 'stricmp'
1>.\src\io\prlog.c(244) : warning C4996: 'stricmp': The POSIX name for
this item is deprecated. Instead, use the ISO C++ conformant name:
_stricmp. See online help for details.
1>        C:\Program Files\Microsoft Visual Studio 8\VC\include
\string.h(215) : see declaration of 'stricmp'
1>.\src\io\prlog.c(351) : warning C4996: 'stricmp': The POSIX name for
this item is deprecated. Instead, use the ISO C++ conformant name:
_stricmp. See online help for details.
1>        C:\Program Files\Microsoft Visual Studio 8\VC\include
\string.h(215) : see declaration of 'stricmp'
1>.\src\io\prlog.c(371) : warning C4996: 'strdup': The POSIX name for
this item is deprecated. Instead, use the ISO C++ conformant name:
_strdup. See online help for details.
1>        C:\Program Files\Microsoft Visual Studio 8\VC\include
\string.h(207) : see declaration of 'strdup'
1>.\src\io\prlog.c(483) : warning C4013: '_MD_GET_INTSOFF' undefined;
assuming extern returning int
1>.\src\io\prlog.c(483) : warning C4013: '_MD_SET_INTSOFF' undefined;
assuming extern returning int
1>prmapopt.c
1>prmmap.c
1>prmwait.c
1>prpolevt.c
1>prprf.c
1>prscanf.c
1>prsocket.c
1>prstdio.c
1>prmalloc.c
1>prmem.c
1>prosdep.c
1>prgcleak.c
1>Generating Code...
1>Compiling...
1>prseg.c
1>prshm.c
1>prshma.c
1>pralarm.c
1>pratom.c
1>prcountr.c
1>prdtoa.c
1>.\src\misc\prdtoa.c(1253) : warning C4554: '>>' : check operator
precedence for possible error; use parentheses to clarify precedence
1>.\src\misc\prdtoa.c(1255) : warning C4554: '<<' : check operator
precedence for possible error; use parentheses to clarify precedence
1>.\src\misc\prdtoa.c(1255) : warning C4554: '>>' : check operator
precedence for possible error; use parentheses to clarify precedence
1>.\src\misc\prdtoa.c(1260) : warning C4554: '>>' : check operator
precedence for possible error; use parentheses to clarify precedence
1>.\src\misc\prdtoa.c(1262) : warning C4554: '>>' : check operator
precedence for possible error; use parentheses to clarify precedence
1>.\src\misc\prdtoa.c(1339) : warning C4554: '<<' : check operator
precedence for possible error; use parentheses to clarify precedence
1>.\src\misc\prdtoa.c(1984) : warning C4554: '<<' : check operator
precedence for possible error; use parentheses to clarify precedence
1>.\src\misc\prdtoa.c(2373) : warning C4244: '=' : conversion from
'double' to 'PRUint32', possible loss of data
1>.\src\misc\prdtoa.c(2626) : warning C4018: '<=' : signed/unsigned
mismatch
1>.\src\misc\prdtoa.c(2872) : warning C4554: '<<' : check operator
precedence for possible error; use parentheses to clarify precedence
1>.\src\misc\prdtoa.c(2873) : warning C4554: '>>' : check operator
precedence for possible error; use parentheses to clarify precedence
1>.\src\misc\prdtoa.c(2873) : warning C4554: '<<' : check operator
precedence for possible error; use parentheses to clarify precedence
1>.\src\misc\prdtoa.c(3016) : warning C4244: '=' : conversion from
'double' to 'PRInt32', possible loss of data
1>.\src\misc\prdtoa.c(3358) : warning C4102: 'trimzeros' :
unreferenced label
1>prenv.c
1>prerr.c
1>prerror.c
1>prerrortable.c
1>prinit.c
1>prinrval.c
1>pripc.c
1>pripcsem.c
1>prlog2.c
1>prlong.c
1>prnetdb.c
1>prolock.c
1>prrng.c
1>Generating Code...
1>Compiling...
1>prsystem.c
1>prthinfo.c
1>prtime.c
1>prtpool.c
1>prtrace.c
1>ptio.c
1>ptmisc.c
1>ptsynch.c
1>ptthread.c
1>prcmon.c
1>prdump.c
1>.\src\threads\prdump.c(141) : warning C4013: '_MD_GET_INTSOFF'
undefined; assuming extern returning int
1>.\src\threads\prdump.c(141) : warning C4013: '_MD_SET_INTSOFF'
undefined; assuming extern returning int
1>prmon.c
1>prrwlock.c
1>prsem.c
1>prtpd.c
1>.\src\threads\prtpd.c(178) : warning C4018: '>=' : signed/unsigned
mismatch
1>prucpu.c
1>.\src\threads\combined\prucpu.c(308) : warning C4013:
'_MD_GET_INTSOFF' undefined; assuming extern returning int
1>.\src\threads\combined\prucpu.c(308) : warning C4013:
'_MD_SET_INTSOFF' undefined; assuming extern returning int
1>prucv.c
1>.\src\threads\combined\prucv.c(217) : warning C4013:
'_MD_GET_INTSOFF' undefined; assuming extern returning int
1>.\src\threads\combined\prucv.c(217) : warning C4013:
'_MD_SET_INTSOFF' undefined; assuming extern returning int
1>prulock.c
1>.\src\threads\combined\prulock.c(252) : warning C4013:
'_MD_GET_INTSOFF' undefined; assuming extern returning int
1>.\src\threads\combined\prulock.c(252) : warning C4013:
'_MD_SET_INTSOFF' undefined; assuming extern returning int
1>prustack.c
1>pruthr.c
1>.\src\threads\combined\pruthr.c(514) : warning C4013:
'_MD_SET_INTSOFF' undefined; assuming extern returning int
1>.\src\threads\combined\pruthr.c(559) : warning C4013:
'_MD_GET_INTSOFF' undefined; assuming extern returning int
1>Generating Code...
1>Compiling...
1>prlink.c
1>.\src\linking\prlink.c(276) : warning C4996: 'strdup': The POSIX
name for this item is deprecated. Instead, use the ISO C++ conformant
name: _strdup. See online help for details.
1>        C:\Program Files\Microsoft Visual Studio 8\VC\include
\string.h(207) : see declaration of 'strdup'
1>.\src\linking\prlink.c(404) : warning C4996: 'strdup': The POSIX
name for this item is deprecated. Instead, use the ISO C++ conformant
name: _strdup. See online help for details.
1>        C:\Program Files\Microsoft Visual Studio 8\VC\include
\string.h(207) : see declaration of 'strdup'
1>.\src\linking\prlink.c(438) : warning C4996: 'strdup': The POSIX
name for this item is deprecated. Instead, use the ISO C++ conformant
name: _strdup. See online help for details.
1>        C:\Program Files\Microsoft Visual Studio 8\VC\include
\string.h(207) : see declaration of 'strdup'
1>.\src\linking\prlink.c(481) : warning C4996: 'strdup': The POSIX
name for this item is deprecated. Instead, use the ISO C++ conformant
name: _strdup. See online help for details.
1>        C:\Program Files\Microsoft Visual Studio 8\VC\include
\string.h(207) : see declaration of 'strdup'
1>.\src\linking\prlink.c(553) : warning C4996: 'strcmpi': The POSIX
name for this item is deprecated. Instead, use the ISO C++ conformant
name: _strcmpi. See online help for details.
1>        C:\Program Files\Microsoft Visual Studio 8\VC\include
\string.h(214) : see declaration of 'strcmpi'
1>.\src\linking\prlink.c(905) : warning C4996: 'strdup': The POSIX
name for this item is deprecated. Instead, use the ISO C++ conformant
name: _strdup. See online help for details.
1>        C:\Program Files\Microsoft Visual Studio 8\VC\include
\string.h(207) : see declaration of 'strdup'
1>.\src\linking\prlink.c(1591) : warning C4996: 'strdup': The POSIX
name for this item is deprecated. Instead, use the ISO C++ conformant
name: _strdup. See online help for details.
1>        C:\Program Files\Microsoft Visual Studio 8\VC\include
\string.h(207) : see declaration of 'strdup'
1>w95thred.c
1>w95cv.c
1>w95dllmain.c
1>w95io.c
1>w95sock.c
1>w32shm.c
1>w32ipcsem.c
1>w32poll.c
1>w32rng.c
1>win32_errors.c
1>ntmisc.c
1>.\src\md\windows\ntmisc.c(57) : warning C4996: 'putenv': The POSIX
name for this item is deprecated. Instead, use the ISO C++ conformant
name: _putenv. See online help for details.
1>        C:\Program Files\Microsoft Visual Studio 8\VC\include
\stdlib.h(900) : see declaration of 'putenv'
1>ntsec.c
1>ntinrval.c
1>ntgc.c
1>prcthr.c
1>.\src\threads\prcthr.c(113) : warning C4013: '_MD_GET_INTSOFF'
undefined; assuming extern returning int
1>.\src\threads\prcthr.c(113) : warning C4013: '_MD_SET_INTSOFF'
undefined; assuming extern returning int
1>Generating Code...
1>c:\development\wxjs\wxjs2\src\nspr\src\md\windows\w95io.c(176) :
warning C4715: '_PR_MD_WAKEUP_WAITER' : not all control paths return a
value
1>Compiling manifest to resources...
1>Linking...
1>   Creating library ../../lib/nspr.lib and object ../../lib/nspr.exp
1>prulock.obj : error LNK2001: unresolved external symbol
__MD_SET_INTSOFF
1>pruthr.obj : error LNK2019: unresolved external symbol
__MD_SET_INTSOFF referenced in function __PR_SetThreadPriority
1>prcthr.obj : error LNK2001: unresolved external symbol
__MD_SET_INTSOFF
1>prlog.obj : error LNK2001: unresolved external symbol
__MD_SET_INTSOFF
1>prdump.obj : error LNK2001: unresolved external symbol
__MD_SET_INTSOFF
1>prucpu.obj : error LNK2001: unresolved external symbol
__MD_SET_INTSOFF
1>prucv.obj : error LNK2001: unresolved external symbol
__MD_SET_INTSOFF
1>prulock.obj : error LNK2001: unresolved external symbol
__MD_GET_INTSOFF
1>pruthr.obj : error LNK2019: unresolved external symbol
__MD_GET_INTSOFF referenced in function __PR_SetThreadPriority
1>prcthr.obj : error LNK2001: unresolved external symbol
__MD_GET_INTSOFF
1>prlog.obj : error LNK2001: unresolved external symbol
__MD_GET_INTSOFF
1>prdump.obj : error LNK2001: unresolved external symbol
__MD_GET_INTSOFF
1>prucpu.obj : error LNK2001: unresolved external symbol
__MD_GET_INTSOFF
1>prucv.obj : error LNK2001: unresolved external symbol
__MD_GET_INTSOFF
1>../../bin/Debug/nspr.dll : fatal error LNK1120: 2 unresolved
externals
1>Build log was saved at "file://c:\development\wxjs\wxJS2\src\nspr\obj
\Debug\BuildLog.htm"
1>nspr - 15 error(s), 45 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped
==========
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.