Statically linking with Intel Ipp and Visual Studio 6

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

 



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/342250d9/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: build32.JPG
Type: image/jpeg
Size: 116666 bytes
Desc: not available
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20100706/342250d9/attachment-0001.JPG>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Makefile
Type: application/octet-stream
Size: 8746 bytes
Desc: not available
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20100706/342250d9/attachment-0001.obj>


[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