[cups.general] Cups build failure

Michael Sweet msweet at apple.com
Thu Nov 10 20:36:33 PST 2011


This is a known issue that is fixed in the Subversion repository for an upcoming 1.5.1 release (as well as 1.6.x).

On Nov 9, 2011, at 4:45 AM, David Southwell wrote:

> Just attempted a build print/cups on freebsd 8.2 and get the failure below
> 
> Thanks in advance for any guidance.
> 
> David
> 
> First: Output from
> [root at dns1 /usr/ports/print/cups-base]# make showconfig
> ===> The following configuration options are available for cups-base-1.5.0:
>     GNUTLS=off "Build with GNUTLS instead of OpenSSL"
>     PHP=on "Build PHP support"
>     PYTHON=on "Build PYTHON support"
>     LIBPAPER=off "Build with libpaper support"
>     DNSSD=off "Build with DNS_SD (avahi) support"
>     PAM=off "Build with PAM support"
>     LDAP=off "Build with LDAP support"
>     DBUS=on "Build with DBUS support"
>     LIBUSB=on "Build with USB support"
>     GHOSTSCRIPT=on "Build pdftops with GHOSTSCRIPT"
>     XPDF=off "Build pdftops with XPDF"
>     XDG_OPEN=off "Build with XDG_OPEN as browser"
> ===> Use 'make config' to modify these settings
> [root at dns1 /usr/ports/print/cups-base]# 
> 
> Second: Build failure shows:
> 
> 
> for dir in test backend berkeley cgi-bin driver monitor notifier ppdc 
> scheduler systemv conf data desktop locale man doc examples templates 
> scripting/php fonts; do\
>        echo Making all in $dir... ;\
>        (cd $dir ; gmake  all ) || exit 1;\
> done
> Making all in test...
> gmake[1]: Entering directory `/usr/ports/print/cups-base/work/cups-1.5.0/test'
> echo Linking ippserver...
> Linking ippserver...
> cc -L../cgi-bin -L../cups -L../filter -L../ppdc -L../scheduler -
> L/usr/local/lib -rpath=/usr/lib:/usr/local/lib -L/usr/lib -Wl,-R/usr/local/lib   
> -Wall -Wno-format-y2k -Wunused -fPIC -Os -g -fstack-protector -o ippserver 
> ippserver.o  ../cups/libcups.a \
>         -lssl -lcrypto  -pthread -lm -lcrypt -lssp_nonshared -liconv  -lz
> ../cups/libcups.a(http.o)(.text+0x137): In function `http_write':
> /usr/ports/print/cups-client/work/cups-1.5.0/cups/http.c:4448: undefined 
> reference to `gnutls_record_send'
> ../cups/libcups.a(http.o)(.text+0x623): In function `_httpWait':
> /usr/ports/print/cups-client/work/cups-1.5.0/cups/http.c:2885: undefined 
> reference to `gnutls_record_check_pending'
> ../cups/libcups.a(http.o)(.text+0x704): In function `http_setup_ssl':
> /usr/ports/print/cups-client/work/cups-1.5.0/cups/http.c:3853: undefined 
> reference to `gnutls_certificate_allocate_credentials'
> ../cups/libcups.a(http.o)(.text+0x715):/usr/ports/print/cups-
> client/work/cups-1.5.0/cups/http.c:3855: undefined reference to `gnutls_init'
> ../cups/libcups.a(http.o)(.text+0x721):/usr/ports/print/cups-
> client/work/cups-1.5.0/cups/http.c:3856: undefined reference to 
> `gnutls_set_default_priority'
> ../cups/libcups.a(http.o)(.text+0x736):/usr/ports/print/cups-
> client/work/cups-1.5.0/cups/http.c:3857: undefined reference to 
> `gnutls_credentials_set'
> ../cups/libcups.a(http.o)(.text+0x745):/usr/ports/print/cups-
> client/work/cups-1.5.0/cups/http.c:3858: undefined reference to 
> `gnutls_transport_set_ptr'
> ../cups/libcups.a(http.o)(.text+0x758):/usr/ports/print/cups-
> client/work/cups-1.5.0/cups/http.c:3859: undefined reference to 
> `gnutls_transport_set_pull_function'
> ../cups/libcups.a(http.o)(.text+0x76b):/usr/ports/print/cups-
> client/work/cups-1.5.0/cups/http.c:3860: undefined reference to 
> `gnutls_transport_set_push_function'
> ../cups/libcups.a(http.o)(.text+0x777):/usr/ports/print/cups-
> client/work/cups-1.5.0/cups/http.c:3862: undefined reference to 
> `gnutls_handshake'
> ../cups/libcups.a(http.o)(.text+0x7a8):/usr/ports/print/cups-
> client/work/cups-1.5.0/cups/http.c:3867: undefined reference to 
> `gnutls_deinit'
> ../cups/libcups.a(http.o)(.text+0x7b1):/usr/ports/print/cups-
> client/work/cups-1.5.0/cups/http.c:3868: undefined reference to 
> `gnutls_certificate_free_credentials'
> ../cups/libcups.a(http.o)(.text+0xc72): In function `http_shutdown_ssl':
> /usr/ports/print/cups-client/work/cups-1.5.0/cups/http.c:4188: undefined 
> reference to `gnutls_bye'
> ../cups/libcups.a(http.o)(.text+0xc7e):/usr/ports/print/cups-
> client/work/cups-1.5.0/cups/http.c:4189: undefined reference to 
> `gnutls_deinit'
> ../cups/libcups.a(http.o)(.text+0xc87):/usr/ports/print/cups-
> client/work/cups-1.5.0/cups/http.c:4190: undefined reference to 
> `gnutls_certificate_free_credentials'
> ../cups/libcups.a(http.o)(.text+0xe4c): In function `http_read_ssl':
> /usr/ports/print/cups-client/work/cups-1.5.0/cups/http.c:3438: undefined 
> reference to `gnutls_record_recv'
> ../cups/libcups.a(http.o)(.text+0x1b74): In function `httpInitialize':
> /usr/ports/print/cups-client/work/cups-1.5.0/cups/http.c:1515: undefined 
> reference to `gnutls_global_init'
> gmake[1]: *** [ippserver] Error 1
> gmake[1]: Leaving directory `/usr/ports/print/cups-base/work/cups-1.5.0/test'
> gmake: *** [all] Error 1
> *** Error code 1
> 
> Stop in /usr/ports/print/cups-base.
> *** Error code 1
> 
> Stop in /usr/ports/print/cups-base.
> *** Error code 1
> 
> Stop in /usr/ports/print/cups.
> 
> _______________________________________________
> cups mailing list
> cups at easysw.com
> http://lists.easysw.com/mailman/listinfo/cups

__________________________________________________
Michael Sweet, Senior Printing System Engineer, PWG Chair





More information about the cups mailing list