Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 2 Jul 2014 18:46:03 +0000 (UTC)
From:      "Thomas Mueller" <mueller6724@bellsouth.net>
To:        freebsd-ports@freebsd.org
Subject:   print/cups new 1.7.3 fails on undefined references in http.c
Message-ID:  <303976.56953.bm@smtp120.sbc.mail.ne1.yahoo.com>

next in thread | raw e-mail | index | archive | help
I was trying to build/upgrade the newly updated print/cups 1.7.3 but failed on errors: undefined references in http.c apparently linked from ippserver.c



Making all in test...
gmake[3]: Entering directory `/BETA1/usr/ports/print/cups-base/work10.i386/cups-1.7.3/test'
echo Compiling ippserver.c...
Compiling ippserver.c...
cc  -Wall -Wno-format-y2k -Wunused -fPIC -Os -g -fstack-protector -Wno-tautological-compare -I.. -D_CUPS_SOURCE -I/usr/local/include -I/usr/local/include -I/usr/local/include -O2 -pipe -fno-strict-aliasing   -DOPENSSL_DISABLE_OLD_DES_SUPPORT -D_LARGEFILE_SOURCE  -D_THREAD_SAFE -D_REENTRANT  -c -o ippserver.o ippserver.c
echo Linking ippserver...
Linking ippserver...
cc -L../cgi-bin -L../cups -L../filter -L../ppdc -L../scheduler -L/usr/local/lib -Wl,-rpath,/usr/lib:/usr/local/lib -Wl,-R/usr/local/lib  -fPIE -pie -Wall -Wno-format-y2k -Wunused -fPIC -Os -g -fstack-protector -Wno-tautological-compare -o ippserver ippserver.o  ../cups/libcups.a \
	 -lssl -lcrypto -ldns_sd -pthread -lm -lcrypt   -lz -lz
../cups/libcups.a(http.o): In function `httpInitialize':
/BETA1/usr/ports/print/cups-client/work10.i386/cups-1.7.3/cups/http.c:1637: undefined reference to `gnutls_global_init'
../cups/libcups.a(http.o): In function `http_shutdown_ssl':
/BETA1/usr/ports/print/cups-client/work10.i386/cups-1.7.3/cups/http.c:5474: undefined reference to `gnutls_bye'
/BETA1/usr/ports/print/cups-client/work10.i386/cups-1.7.3/cups/http.c:5475: undefined reference to `gnutls_deinit'
/BETA1/usr/ports/print/cups-client/work10.i386/cups-1.7.3/cups/http.c:5476: undefined reference to `gnutls_certificate_free_credentials'
/BETA1/usr/ports/print/cups-client/work10.i386/cups-1.7.3/cups/http.c:5474: undefined reference to `gnutls_bye'
/BETA1/usr/ports/print/cups-client/work10.i386/cups-1.7.3/cups/http.c:5475: undefined reference to `gnutls_deinit'
/BETA1/usr/ports/print/cups-client/work10.i386/cups-1.7.3/cups/http.c:5476: undefined reference to `gnutls_certificate_free_credentials'
/BETA1/usr/ports/print/cups-client/work10.i386/cups-1.7.3/cups/http.c:5474: undefined reference to `gnutls_bye'
/BETA1/usr/ports/print/cups-client/work10.i386/cups-1.7.3/cups/http.c:5475: undefined reference to `gnutls_deinit'
/BETA1/usr/ports/print/cups-client/work10.i386/cups-1.7.3/cups/http.c:5476: undefined reference to `gnutls_certificate_free_credentials'
../cups/libcups.a(http.o): In function `http_write_ssl':
/BETA1/usr/ports/print/cups-client/work10.i386/cups-1.7.3/cups/http.c:5837: undefined reference to `gnutls_record_send'
../cups/libcups.a(http.o): In function `_httpWait':
/BETA1/usr/ports/print/cups-client/work10.i386/cups-1.7.3/cups/http.c:3306: undefined reference to `gnutls_record_check_pending'
../cups/libcups.a(http.o): In function `http_read_ssl':
/BETA1/usr/ports/print/cups-client/work10.i386/cups-1.7.3/cups/http.c:4635: undefined reference to `gnutls_record_recv'
../cups/libcups.a(http.o): In function `httpInitialize':
/BETA1/usr/ports/print/cups-client/work10.i386/cups-1.7.3/cups/http.c:1637: undefined reference to `gnutls_global_init'
../cups/libcups.a(http.o): In function `http_setup_ssl':
/BETA1/usr/ports/print/cups-client/work10.i386/cups-1.7.3/cups/http.c:5151: undefined reference to `gnutls_certificate_allocate_credentials'
/BETA1/usr/ports/print/cups-client/work10.i386/cups-1.7.3/cups/http.c:5153: undefined reference to `gnutls_init'
/BETA1/usr/ports/print/cups-client/work10.i386/cups-1.7.3/cups/http.c:5154: undefined reference to `gnutls_set_default_priority'
/BETA1/usr/ports/print/cups-client/work10.i386/cups-1.7.3/cups/http.c:5155: undefined reference to `gnutls_server_name_set'
/BETA1/usr/ports/print/cups-client/work10.i386/cups-1.7.3/cups/http.c:5157: undefined reference to `gnutls_credentials_set'
/BETA1/usr/ports/print/cups-client/work10.i386/cups-1.7.3/cups/http.c:5158: undefined reference to `gnutls_transport_set_ptr'
/BETA1/usr/ports/print/cups-client/work10.i386/cups-1.7.3/cups/http.c:5159: undefined reference to `gnutls_transport_set_pull_function'
/BETA1/usr/ports/print/cups-client/work10.i386/cups-1.7.3/cups/http.c:5160: undefined reference to `gnutls_transport_set_push_function'
/BETA1/usr/ports/print/cups-client/work10.i386/cups-1.7.3/cups/http.c:5162: undefined reference to `gnutls_handshake'
/BETA1/usr/ports/print/cups-client/work10.i386/cups-1.7.3/cups/http.c:5167: undefined reference to `gnutls_error_is_fatal'
/BETA1/usr/ports/print/cups-client/work10.i386/cups-1.7.3/cups/http.c:5172: undefined reference to `gnutls_strerror'
/BETA1/usr/ports/print/cups-client/work10.i386/cups-1.7.3/cups/http.c:5174: undefined reference to `gnutls_deinit'
/BETA1/usr/ports/print/cups-client/work10.i386/cups-1.7.3/cups/http.c:5175: undefined reference to `gnutls_certificate_free_credentials'
cc: error: linker command failed with exit code 1 (use -v to see invocation)
gmake[3]: *** [ippserver] Error 1
gmake[3]: Leaving directory `/BETA1/usr/ports/print/cups-base/work10.i386/cups-1.7.3/test'
gmake[2]: *** [all] Error 1
gmake[2]: Leaving directory `/BETA1/usr/ports/print/cups-base/work10.i386/cups-1.7.3'
*** Error code 1

Stop.
make[1]: stopped in /BETA1/usr/ports/print/cups-base
*** Error code 1

Stop.
make: stopped in /BETA1/usr/ports/print/cups-base

===>>> make failed for print/cups-base
===>>> Aborting update

===>>> Update for print/cups-base failed
===>>> Aborting update

===>>> Killing background jobs
Terminated
===>>> The following actions were performed:
	Upgrade of glib-2.36.3_2 to glib-2.36.3_3
	Upgrade of gdk-pixbuf2-2.28.2 to gdk-pixbuf2-2.28.2_1
	Installation of lang/php5 (php5-5.4.29)
	Installation of net/mDNSResponder (mDNSResponder-544_1)
	Upgrade of gnutls-2.12.23_5 to gnutls-2.12.23_6
	Upgrade of cups-client-1.7.2 to cups-client-1.7.3
	Installation of print/cups-image (cups-image-1.7.3)
	Upgrade of libpaper-1.1.24_1 to libpaper-1.1.24_2
	Upgrade of pango-1.34.1_4 to pango-1.34.1_5


===>>> You can restart from the point of failure with this command line:
       portmaster <flags> print/cups print/cups-base print/cups-filters devel/dbus textproc/expat2 textproc/xmlto shells/bash www/w3m graphics/poppler graphics/openjpeg15 graphics/poppler-data net/avahi-app databases/gdbm devel/libdaemon print/ghostscript9 graphics/jbig2dec print/gsfonts print/libijs print/qpdf print/cups-pstoraster 

===>>> Exiting



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?303976.56953.bm>