Comment 7 for bug 845445

Revision history for this message
Jeremy Thurgood (jerith) wrote : Re: Failed to build 0.13 on CentOS 5

I'm seeing something very similar on OS X:

    gcc-4.0 -isysroot /Developer/SDKs/MacOSX10.4u.sdk -fno-strict-aliasing -fno-common -dynamic -DNDEBUG -g -O3 -arch i386 -I/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6 -c OpenSSL/ssl/connection.c -o build/temp.macosx-10.3-i386-2.6/OpenSSL/ssl/connection.o
    OpenSSL/ssl/connection.c: In function 'ssl_Connection_get_servername':
    OpenSSL/ssl/connection.c:313: error: 'TLSEXT_NAMETYPE_host_name' undeclared (first use in this function)
    OpenSSL/ssl/connection.c:313: error: (Each undeclared identifier is reported only once
    OpenSSL/ssl/connection.c:313: error: for each function it appears in.)
    OpenSSL/ssl/connection.c:320: warning: assignment makes pointer from integer without a cast
    error: command 'gcc-4.0' failed with exit status 1

And my system openssl version:

lantea:~ jerith$ /usr/bin/openssl version
OpenSSL 0.9.8r 8 Feb 2011

For now, I'm just using 0.12 instead.