Statically linking with Intel Ipp and Visual Studio 6

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Actually i got these type of linking error too while following the wiki

ippscmerged.lib(ippscmath_split_v8__ippsMul_D2D1_16s32s.obj) : error
LNK2001: unresolved external symbol ___security_cookie
ippscmerged.lib(ippscmath_split_g9__ippsMul_D2D1_16s32s.obj) : error
LNK2001: unresolved external symbol ___security_cookie
ippscmerged.lib(ippscmath_split_p8__ippsSumSquare_D2_16s32s.obj) : error
LNK2001: unresolved external symbol ___security_cookie
ippscmerged.lib(ippscmath_split_p8__ippsMul_D2D1_16s32s.obj) : error
LNK2001: unresolved external symbol ___security_cookie
ippscmerged.lib(ippscmath_split_v8__ippsSumSquare_D2_16s32s.obj) : error
LNK2001: unresolved external symbol ___security_cookie
ippscmerged.lib(ippscconv_split_px__ippsMeanSquareWeightedError_16s.obj) :
error LNK2001: unresolved external symbol ___security_cookie
ippscmerged.lib(ippsccorr_split_g9__ippsCrossCorr_Fwd_16s32s.obj) : error
LNK2001: unresolved external symbol ___security_cookie
ippscmerged.lib(ippsccorr_split_p8__ippsCrossCorr_Fwd_16s32s.obj) : error
LNK2001: unresolved external symbol ___security_cookie
ippscmerged.lib(ippscmath_split_g9__ippsSumSquare_D2_16s32s.obj) : error
LNK2001: unresolved external symbol ___security_cookie
ippscmerged.lib(ippscconv_split_p8__ippsMeanSquareWeightedError_16s.obj) :
error LNK2001: unresolved external symbol ___security_cookie
ippscmerged.lib(ippscconv_split_v8__ippsMeanSquareWeightedError_16s.obj) :
error LNK2001: unresolved external symbol ___security_cookie
ippscmerged.lib(ippscconv_split_t7__ippsMeanSquareWeightedError_16s.obj) :
error LNK2001: unresolved external symbol ___security_cookie
ippscmerged.lib(ippscconv_split_w7__ippsMeanSquareWeightedError_16s.obj) :
error LNK2001: unresolved external symbol ___security_cookie
ippscmerged.lib(ownmath_split_t7__ippsComputeAdaptiveCodebookGain_16s.obj) :
error LNK2001: unresolved external symbol ___security_cookie
ippscmerged.lib(ownmath_split_w7__ippsComputeAdaptiveCodebookGain_16s.obj) :
error LNK2001: unresolved external symbol ___security_cookie
ippscmerged.lib(ownmath_split_px__ippsComputeAdaptiveCodebookGain_16s.obj) :
error LNK2001: unresolved external symbol ___security_cookie
ippscmerged.lib(ippscconv_split_g9__ippsMeanSquareWeightedError_16s.obj) :
error LNK2001: unresolved external symbol ___security_cookie
ippscmerged.lib(ippsccorr_split_px__ippsCrossCorr_Norm_16s.obj) : error
LNK2001: unresolved external symbol ___security_cookie
ippscmerged.lib(ownmath_split_g9__ippsComputeAdaptiveCodebookGain_16s.obj) :
error LNK2001: unresolved external symbol ___security_cookie



and after adding the library  "bufferoverflowU.lib"  those are removed.. but
still i have the linker errors mentioned above:


Linking...
MSVCRT.lib(MSVCRT.dll) : error LNK2005: __snprintf already defined in
LIBCMT.lib(snprintf.obj)
MSVCRT.lib(MSVCRT.dll) : error LNK2005: _strncpy already defined in
LIBCMT.lib(strncpy.obj)
MSVCRT.lib(MSVCRT.dll) : error LNK2005: _strchr already defined in
LIBCMT.lib(strchr.obj)
MSVCRT.lib(MSVCRT.dll) : error LNK2005: __strnicmp already defined in
LIBCMT.lib(strnicmp.obj)
MSVCRT.lib(MSVCRT.dll) : error LNK2005: __isctype already defined in
LIBCMT.lib(isctype.obj)
MSVCRT.lib(MSVCRT.dll) : error LNK2005: _strncmp already defined in
LIBCMT.lib(strncmp.obj)
MSVCRT.lib(MSVCRT.dll) : error LNK2005: _printf already defined in
LIBCMT.lib(printf.obj)
MSVCRT.lib(MSVCRT.dll) : error LNK2005: _memmove already defined in
LIBCMT.lib(memmove.obj)
MSVCRT.lib(MSVCRT.dll) : error LNK2005: _tolower already defined in
LIBCMT.lib(tolower.obj)
MSVCRT.lib(MSVCRT.dll) : error LNK2005: _sprintf already defined in
LIBCMT.lib(sprintf.obj)
MSVCRT.lib(MSVCRT.dll) : error LNK2005: __stricmp already defined in
LIBCMT.lib(stricmp.obj)
MSVCRT.lib(MSVCRT.dll) : error LNK2005: _atoi already defined in
LIBCMT.lib(atox.obj)






On Tue, Jul 6, 2010 at 2:22 PM, Hasan H <mailstohasan at gmail.com> wrote:

> Hi,
>
> I am trying to build Intel IPP statically. My environment is
>
> IDE : Visual Studio 6
>
> Intel IPP version: 6.1.5.054
>
> I have installed w_ipp_ia32_p_6.1.5.054.exe and have set Environment
> Variable "C:\Program Files\Intel\IPP\6.1.5.054\ia32" and replaced
> search_compilers.bat<http://trac.pjsip.org/repos/attachment/wiki/Intel_IPP_Codecs/search_compilers.bat>as mentioned here
>
> http://trac.pjsip.org/repos/wiki/Intel_IPP_Codecs
>
> then changed the makefile of ipp-samples like this
>
> !IF "$(ARCH)" == "win32"
> M_FLAG=/Zl
> LIB_ARCH  =
> LINK_ARCH = I386
> !ELSEIF "$(ARCH)" == "win64"
> M_FLAG=/Zl
> LIB_ARCH  = 64
> LINK_ARCH = IA64
> !ELSEIF "$(ARCH)" == "winem64t"
> M_FLAG=/Zl
> LIB_ARCH  = em64t
> LINK_ARCH = AMD64
> !ENDIF
>
> when i try to run the build32.bat it shows failed only code/speech is
> passed (attached the screenshot). However speech.lib is created.
>
> Then follow the instraction of statically bulding as mentioned in the pjsip
> wiki and and build the pjsua application in Release mode.
>
> After that i am getting these errors
>
> pjsua_app.c
> Generating Code...
> Linking...
> MSVCRT.lib(MSVCRT.dll) : error LNK2005: __snprintf already defined in
> LIBCMT.lib(snprintf.obj)
> MSVCRT.lib(MSVCRT.dll) : error LNK2005: _strncpy already defined in
> LIBCMT.lib(strncpy.obj)
> MSVCRT.lib(MSVCRT.dll) : error LNK2005: _strchr already defined in
> LIBCMT.lib(strchr.obj)
> MSVCRT.lib(MSVCRT.dll) : error LNK2005: __strnicmp already defined in
> LIBCMT.lib(strnicmp.obj)
> MSVCRT.lib(MSVCRT.dll) : error LNK2005: __isctype already defined in
> LIBCMT.lib(isctype.obj)
> MSVCRT.lib(MSVCRT.dll) : error LNK2005: _strncmp already defined in
> LIBCMT.lib(strncmp.obj)
> MSVCRT.lib(MSVCRT.dll) : error LNK2005: _printf already defined in
> LIBCMT.lib(printf.obj)
> MSVCRT.lib(MSVCRT.dll) : error LNK2005: _memmove already defined in
> LIBCMT.lib(memmove.obj)
> MSVCRT.lib(MSVCRT.dll) : error LNK2005: _tolower already defined in
> LIBCMT.lib(tolower.obj)
> MSVCRT.lib(MSVCRT.dll) : error LNK2005: _sprintf already defined in
> LIBCMT.lib(sprintf.obj)
> MSVCRT.lib(MSVCRT.dll) : error LNK2005: __stricmp already defined in
> LIBCMT.lib(stricmp.obj)
> MSVCRT.lib(MSVCRT.dll) : error LNK2005: _atoi already defined in
> LIBCMT.lib(atox.obj)
> MSVCRT.lib(MSVCRT.dll) : error LNK2005: _strtok already defined in
> LIBCMT.lib(strtok.obj)
> MSVCRT.lib(MSVCRT.dll) : error LNK2005: _exit already defined in
> LIBCMT.lib(crt0dat.obj)
> MSVCRT.lib(MSVCRT.dll) : error LNK2005: _malloc already defined in
> LIBCMT.lib(malloc.obj)
> MSVCRT.lib(MSVCRT.dll) : error LNK2005: _free already defined in
> LIBCMT.lib(free.obj)
> MSVCRT.lib(MSVCRT.dll) : error LNK2005: _fflush already defined in
> LIBCMT.lib(fflush.obj)
> MSVCRT.lib(MSVCRT.dll) : error LNK2005: _calloc already defined in
> LIBCMT.lib(calloc.obj)
> MSVCRT.lib(MSVCRT.dll) : error LNK2005: _realloc already defined in
> LIBCMT.lib(realloc.obj)
> LINK : warning LNK4098: defaultlib "MSVCRT" conflicts with use of other
> libs; use /NODEFAULTLIB:library
> ../bin/pjsua_vc6.exe : fatal error LNK1169: one or more multiply defined
> symbols found
> Error executing link.exe.
>
> pjsua_vc6.exe - 20 error(s), 55 warning(s)
>
> Wiki mentioned that it is related to CRT related issue but i changed the
> make file and got same result.. I have attached the makefile too.
>
> If anyone is familiar with this issue please help me.
>
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20100706/afffebfe/attachment.html>


[Index of Archives]     [Asterisk Users]     [Asterisk App Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [Linux API]
  Powered by Linux