Re: Bug similar to 4011 - http_setup_ssl?

Michael Sweet <[email protected]>
Newsgroups gmane.comp.printing.cups.bugs
Message-ID <[email protected]>
Robert,

You have an old version of OpenSSL - please file a bug and we can add another configure test for this specific function:

	http://www.cups.org/str.php

Thanks!


On Mar 2, 2012, at 8:41 AM, Robert Davis wrote:

> I am compiling 1.6svn-r10310 on a Solaris 10u10 box with the most recent patch and Java updates released by Oracle in January and February.  I successfully execute 'configure --enable-ssl --disable-gssapi --disable-ldap'.  I then execute gmake and make and receive the following errors:
> 
> Executing gmake I get:
> 
> http.c: In function `http_setup_ssl':
> http.c:3971: warning: implicit declaration of function `SSL_set_tlsext_host_name'
> 
> followed by:
> 
> Linking libcups.so.2...
> Making all in test...
> Compiling ippserver.c...
> Linking ippserver...
> Undefined                       first referenced
> symbol                             in file
> SSL_set_tlsext_host_name            ../cups/libcups.a(http.o)
> ld: fatal: symbol referencing errors. No output written to ippserver
> collect2: ld returned 1 exit status
> gmake[1]: *** [ippserver] Error 1
> gmake: *** [all] Error 1
> 
> Executing make I get:
> 
> http.c: In function `http_setup_ssl':
> http.c:3971: warning: implicit declaration of function `SSL_set_tlsext_host_name'
> 
> followed by:
> 
> Linking ippserver...
> Undefined                       first referenced
> symbol                             in file
> SSL_set_tlsext_host_name            ../cups/libcups.a(http.o)
> ld: fatal: symbol referencing errors. No output written to ippserver
> collect2: ld returned 1 exit status
> *** Error code 1
> The following command caused the error:
> gcc -L../cgi-bin -L../cups -L../filter -L../ppdc  -L../scheduler   -fPIE -pie -Wall -Wno-format-y2k -Wunused -fPIC -Os -g -o ippserver ippserver.o  ../cups/libcups.a \
>         -lssl -lcrypto  -lpthread -lresolv -lnsl -lsocket -lm   -lz -lz
> make: Fatal error: Command failed for target `ippserver'
> Current working directory /h/dev/GCUPS/source/cups-1.6svn-r10310/test
> *** Error code 1
> The following command caused the error:
> for dir in cups test filter backend berkeley cgi-bin monitor notifier ppdc scheduler systemv conf data desktop locale man doc examples templates; do\
>        echo Making all in $dir... ;\
>        (cd $dir ; make  all ) || exit 1;\
> done
> make: Fatal error: Command failed for target `all'
> _______________________________________________
> cups-bugs mailing list
> [email protected]
> http://lists.easysw.com/mailman/listinfo/cups-bugs

_________________________________________________________
Michael Sweet, Senior Printing System Engineer, PWG Chair
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.