tech-pkg archive

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

print/cups build problems on 4.0.1



Building print/cups vom 2012Q1 on a 4.0.1/amd64 machine fails with

Compiling http.c...
libtool: compile:  cc -Wall -Wno-format-y2k -Wunused -fPIC -Os -g 
-fstack-protector -I.. -D_CUPS_SOURCE -I/usr/include/gssapi -I/usr/include/krb5 
-I/usr/pkgsrc/print/cups/work/.buildlink/include -DLDAP_DEPRECATED -O2 
-DOPENSSL_DISABLE_OLD_DES_SUPPORT -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE 
-D_THREAD_SAFE -D_REENTRANT -c http.c  -fPIC -DPIC -o .libs/http.o
http.c: In function 'http_setup_ssl':
http.c:3891: warning: implicit declaration of function 
'SSL_set_tlsext_host_name'
[...]
libtool: link: cc -Wl,-R/usr/pkg/lib -fPIE -pie -Wall -Wno-format-y2k -Wunused 
-fPIC -Os -g -fstack-protector -o ippserver ippserver.o  
-L/usr/pkgsrc/print/cups/work/cups-1.5.2/cgi-bin 
-L/usr/pkgsrc/print/cups/work/cups-1.5.2/cups 
-L/usr/pkgsrc/print/cups/work/cups-1.5.2/filter 
-L/usr/pkgsrc/print/cups/work/cups-1.5.2/ppdc 
-L/usr/pkgsrc/print/cups/work/cups-1.5.2/scheduler 
-L/usr/pkgsrc/print/cups/work/.buildlink/lib ../cups/libcups.a -lgssapi -lkrb5 
-lasn1 -ldes -lroken -lcom_err -lssl -lcrypto -ldns_sd -lpthread -lcrypt -lm -lz
../cups/libcups.a(http.o): In function `http_setup_ssl':
/usr/pkgsrc/print/cups/work/cups-1.5.2/cups/http.c:3891: undefined reference to 
`SSL_set_tlsext_host_name'

configure output includes:
checking for SSL_new in -lssl... yes
    Using SSLLIBS="-lssl -lcrypto"
    Using SSLFLAGS="-DOPENSSL_DISABLE_OLD_DES_SUPPORT"

With the last stable branch, i.e. 2011Q4, CUPS 1.5.0 built OK (there are 
problems with the IPP backend on HP printers, but that's another story).


Home | Main Index | Thread Index | Old Index