Redeclaration of tls-related constants on a Mac

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

 



Hi,

It?s me again with pjsua-lib from pjproject-1.5.5. After switching
from 1.0.3 to 1.5.5 I?ve started to get this during the compilation of
my app. Commenting out pj/ssl_sock.h in pjlib.h helps to build
sucessfully (and I don?t use encryption in my app).

/Users/alexei/Development/Telephone/../pjproject/pjlib/include/pj/ssl_sock.h:111:
error: redeclaration of enumerator 'TLS_RSA_WITH_AES_128_CBC_SHA'
/Developer/SDKs/MacOSX10.6.sdk/System/Library/Frameworks/Security.framework/Headers/CipherSuite.h:72:
error: previous definition of 'TLS_RSA_WITH_AES_128_CBC_SHA' was here
/Users/alexei/Development/Telephone/../pjproject/pjlib/include/pj/ssl_sock.h:112:
error: redeclaration of enumerator 'TLS_RSA_WITH_AES_256_CBC_SHA'
/Developer/SDKs/MacOSX10.6.sdk/System/Library/Frameworks/Security.framework/Headers/CipherSuite.h:78:
error: previous definition of 'TLS_RSA_WITH_AES_256_CBC_SHA' was here
/Users/alexei/Development/Telephone/../pjproject/pjlib/include/pj/ssl_sock.h:119:
error: redeclaration of enumerator 'TLS_DH_DSS_WITH_AES_128_CBC_SHA'
/Developer/SDKs/MacOSX10.6.sdk/System/Library/Frameworks/Security.framework/Headers/CipherSuite.h:73:
error: previous definition of 'TLS_DH_DSS_WITH_AES_128_CBC_SHA' was
here
/Users/alexei/Development/Telephone/../pjproject/pjlib/include/pj/ssl_sock.h:120:
error: redeclaration of enumerator 'TLS_DH_RSA_WITH_AES_128_CBC_SHA'
/Developer/SDKs/MacOSX10.6.sdk/System/Library/Frameworks/Security.framework/Headers/CipherSuite.h:74:
error: previous definition of 'TLS_DH_RSA_WITH_AES_128_CBC_SHA' was
here
/Users/alexei/Development/Telephone/../pjproject/pjlib/include/pj/ssl_sock.h:121:
error: redeclaration of enumerator 'TLS_DHE_DSS_WITH_AES_128_CBC_SHA'
/Developer/SDKs/MacOSX10.6.sdk/System/Library/Frameworks/Security.framework/Headers/CipherSuite.h:75:
error: previous definition of 'TLS_DHE_DSS_WITH_AES_128_CBC_SHA' was
here
/Users/alexei/Development/Telephone/../pjproject/pjlib/include/pj/ssl_sock.h:122:
error: redeclaration of enumerator 'TLS_DHE_RSA_WITH_AES_128_CBC_SHA'
/Developer/SDKs/MacOSX10.6.sdk/System/Library/Frameworks/Security.framework/Headers/CipherSuite.h:76:
error: previous definition of 'TLS_DHE_RSA_WITH_AES_128_CBC_SHA' was
here
/Users/alexei/Development/Telephone/../pjproject/pjlib/include/pj/ssl_sock.h:123:
error: redeclaration of enumerator 'TLS_DH_DSS_WITH_AES_256_CBC_SHA'
/Developer/SDKs/MacOSX10.6.sdk/System/Library/Frameworks/Security.framework/Headers/CipherSuite.h:79:
error: previous definition of 'TLS_DH_DSS_WITH_AES_256_CBC_SHA' was
here
/Users/alexei/Development/Telephone/../pjproject/pjlib/include/pj/ssl_sock.h:124:
error: redeclaration of enumerator 'TLS_DH_RSA_WITH_AES_256_CBC_SHA'
/Developer/SDKs/MacOSX10.6.sdk/System/Library/Frameworks/Security.framework/Headers/CipherSuite.h:80:
error: previous definition of 'TLS_DH_RSA_WITH_AES_256_CBC_SHA' was
here
/Users/alexei/Development/Telephone/../pjproject/pjlib/include/pj/ssl_sock.h:125:
error: redeclaration of enumerator 'TLS_DHE_DSS_WITH_AES_256_CBC_SHA'
/Developer/SDKs/MacOSX10.6.sdk/System/Library/Frameworks/Security.framework/Headers/CipherSuite.h:81:
error: previous definition of 'TLS_DHE_DSS_WITH_AES_256_CBC_SHA' was
here
/Users/alexei/Development/Telephone/../pjproject/pjlib/include/pj/ssl_sock.h:126:
error: redeclaration of enumerator 'TLS_DHE_RSA_WITH_AES_256_CBC_SHA'
/Developer/SDKs/MacOSX10.6.sdk/System/Library/Frameworks/Security.framework/Headers/CipherSuite.h:82:
error: previous definition of 'TLS_DHE_RSA_WITH_AES_256_CBC_SHA' was
here
/Users/alexei/Development/Telephone/../pjproject/pjlib/include/pj/ssl_sock.h:137:
error: redeclaration of enumerator 'TLS_DH_anon_WITH_AES_128_CBC_SHA'
/Developer/SDKs/MacOSX10.6.sdk/System/Library/Frameworks/Security.framework/Headers/CipherSuite.h:77:
error: previous definition of 'TLS_DH_anon_WITH_AES_128_CBC_SHA' was
here
/Users/alexei/Development/Telephone/../pjproject/pjlib/include/pj/ssl_sock.h:138:
error: redeclaration of enumerator 'TLS_DH_anon_WITH_AES_256_CBC_SHA'
/Developer/SDKs/MacOSX10.6.sdk/System/Library/Frameworks/Security.framework/Headers/CipherSuite.h:83:
error: previous definition of 'TLS_DH_anon_WITH_AES_256_CBC_SHA' was
here

Alexei



[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