[Zoo-discuss] Problems building zoo kernel

Farkas H farkas.dus at gmail.com
Fri Sep 28 07:49:17 PDT 2012


Hi list,

I try to build the zoo kernel (Win7-64, MSVC9). Amongst others I got
these warnings and error messages [1].
It would be nice if someone could help me. I got stuck.
I really appreciate any advice.

Thanks,
Farkas

[1]
K:\zooWPS\zoo-project\..\libs\fcgi\include\fcgio.h(53) : warning
C4251: 'std::basic_streambuf<_Elem,_Traits>::_Mylock' : class
'std::_Mutex' needs to have dll-interface to be used by clients of
class 'std::basic_streambuf<_Elem,_Traits>'
        with
        [
            _Elem=char,
            _Traits=std::char_traits<char>
        ]
        C:\Program Files (x86)\Microsoft Visual Studio
9.0\VC\INCLUDE\yvals.h(723) : see declaration of 'std::_Mutex'
K:\zooWPS\zoo-project\..\libs\fcgi\include\fcgio.h(107) : warning
C4996: 'std::basic_streambuf<_Elem,_Traits>::xsgetn': Function call
with parameters that may be unsafe - this call relies on the caller to
check that the passed values are correct. To disable this warning, use
-D_SCL_SECURE_NO_WARNINGS. See documentation on how to use Visual C++
'Checked Iterators'
        with
        [
            _Elem=char,
            _Traits=std::char_traits<char>
        ]
        C:\Program Files (x86)\Microsoft Visual Studio
9.0\VC\INCLUDE\streambuf(323) : see declaration of
'std::basic_streambuf<_Elem,_Traits>::xsgetn'
        with
        [
            _Elem=char,
            _Traits=std::char_traits<char>
        ]
K:\zooWPS\zoo-project\..\libs\fcgi\include\fcgio.h(113) : warning
C4275: non dll-interface class 'std::ios_base' used as base for
dll-interface class 'std::basic_ios<_Elem,_Traits>'
        with
        [
            _Elem=char,
            _Traits=std::char_traits<char>
        ]
        C:\Program Files (x86)\Microsoft Visual Studio
9.0\VC\INCLUDE\xiosbase(195) : see declaration of 'std::ios_base'
k:\zoowps\zoo-project\zoo-kernel\service.h(51) : warning C4005:
'SERVICE_PAUSED' : macro redefinition
        C:\Program Files\Microsoft
SDKs\Windows\v6.0A\include\winsvc.h(116) : see previous definition of
'SERVICE_PAUSED'
k:\zoowps\zoo-project\zoo-kernel\service.h(154) : warning C4996:
'strdup': The POSIX name for this item is deprecated. Instead, use the
ISO C++ conformant name: _strdup. See online help for details.
        C:\Program Files (x86)\Microsoft Visual Studio
9.0\VC\INCLUDE\string.h(207) : see declaration of 'strdup'
k:\zoowps\zoo-project\zoo-kernel\service.h(173) : warning C4996:
'stricmp': The POSIX name for this item is deprecated. Instead, use
the ISO C++ conformant name: _stricmp. See online help for details.
        C:\Program Files (x86)\Microsoft Visual Studio
9.0\VC\INCLUDE\string.h(215) : see declaration of 'stricmp'
k:\zoowps\zoo-project\zoo-kernel\service.h(623) : warning C4996:
'strnicmp': The POSIX name for this item is deprecated. Instead, use
the ISO C++ conformant name: _strnicmp. See online help for details.
        C:\Program Files (x86)\Microsoft Visual Studio
9.0\VC\INCLUDE\string.h(217) : see declaration of 'strnicmp'
zoo_loader.c(63) : warning C4005: 'FALSE' : macro redefinition
        C:\Program Files\Microsoft
SDKs\Windows\v6.0A\include\windef.h(68) : see previous definition of
'FALSE'
zoo_loader.c(70) : warning C4996: 'dup2': The POSIX name for this item
is deprecated. Instead, use the ISO C++ conformant name: _dup2. See
online help for details.
        C:\Program Files (x86)\Microsoft Visual Studio
9.0\VC\INCLUDE\io.h(309) : see declaration of 'dup2'
zoo_loader.c(298) : error C3861: 'strtok_r': identifier not found
zoo_loader.c(303) : error C3861: 'strtok_r': identifier not found
zoo_loader.c(309) : error C3861: 'strtok_r': identifier not found
zoo_loader.c(316) : error C3861: 'strtok_r': identifier not found


More information about the Zoo-discuss mailing list