Re: [MOD] STR #4011: http_setup_ssl() needs to strip trailing dot from server name, if present

Robert Davis <[email protected]>
Newsgroups gmane.comp.printing.cups.bugs
Message-ID <[email protected]>
DO NOT REPLY TO THIS MESSAGE.  INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.

[STR Closed w/Resolution]

I am compiling 1.6 on a Solaris 10u10 box with the most recent patch and
Java updates released by Oracle and executing 'configure --enable-ssl
--disable-gssapi --disable-ldap'.

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'

Link: http://www.cups.org/str.php?L4011
Version: 1.5-current
Fix Version: 1.6-current (r10213)
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.