Date: Mon, 14 Jan 2013 12:51:27 +0200 From: Antonios Atlasis <antonios.atlasis@gmail.com> To: freebsd-questions@freebsd.org Subject: CUPS building error in FreeBSD 9.1 Message-ID: <CADoTVZLGLPXMJXAdYwXZce2FgvNCNP48Q-JQ0N_f0sFzquPngA@mail.gmail.com>
next in thread | raw e-mail | index | archive | help
Hello to the list, I made a fresh install of FreeBSD 9.1 on a 74bit system and I am trying to install everything I need using ports and not packages. However, when I try to install cups (version 1.5.4), even in the default configuration, I receive the following build errors: 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 -Wall -Wno-format-y2k -Wunused -fPIC -Os -g -fstack-protector -o ippserver ippserver.o ../cups/libcups.a \ -lssl -lcrypto -pthread -lcrypt -lm -lssp_nonshared -liconv -lz ../cups/libcups.a(http.o): In function `http_write_ssl': /usr/ports/print/cups-client/work/cups-1.5.4/cups/http.c:4637: undefined reference to `gnutls_record_send' ../cups/libcups.a(http.o): In function `_httpWait': /usr/ports/print/cups-client/work/cups-1.5.4/cups/http.c:2901: undefined reference to `gnutls_record_check_pending' ../cups/libcups.a(http.o): In function `http_setup_ssl': /usr/ports/print/cups-client/work/cups-1.5.4/cups/http.c:3965: undefined reference to `gnutls_certificate_allocate_credentials' /usr/ports/print/cups-client/work/cups-1.5.4/cups/http.c:3967: undefined reference to `gnutls_init' /usr/ports/print/cups-client/work/cups-1.5.4/cups/http.c:3968: undefined reference to `gnutls_set_default_priority' /usr/ports/print/cups-client/work/cups-1.5.4/cups/http.c:3969: undefined reference to `gnutls_server_name_set' /usr/ports/print/cups-client/work/cups-1.5.4/cups/http.c:3971: undefined reference to `gnutls_credentials_set' /usr/ports/print/cups-client/work/cups-1.5.4/cups/http.c:3972: undefined reference to `gnutls_transport_set_ptr' /usr/ports/print/cups-client/work/cups-1.5.4/cups/http.c:3973: undefined reference to `gnutls_transport_set_pull_function' /usr/ports/print/cups-client/work/cups-1.5.4/cups/http.c:3974: undefined reference to `gnutls_transport_set_push_function' /usr/ports/print/cups-client/work/cups-1.5.4/cups/http.c:3976: undefined reference to `gnutls_handshake' /usr/ports/print/cups-client/work/cups-1.5.4/cups/http.c:3981: undefined reference to `gnutls_error_is_fatal' /usr/ports/print/cups-client/work/cups-1.5.4/cups/http.c:3986: undefined reference to `gnutls_strerror' /usr/ports/print/cups-client/work/cups-1.5.4/cups/http.c:3988: undefined reference to `gnutls_deinit' /usr/ports/print/cups-client/work/cups-1.5.4/cups/http.c:3989: undefined reference to `gnutls_certificate_free_credentials' ../cups/libcups.a(http.o): In function `http_shutdown_ssl': /usr/ports/print/cups-client/work/cups-1.5.4/cups/http.c:4320: undefined reference to `gnutls_bye' /usr/ports/print/cups-client/work/cups-1.5.4/cups/http.c:4321: undefined reference to `gnutls_deinit' /usr/ports/print/cups-client/work/cups-1.5.4/cups/http.c:4322: undefined reference to `gnutls_certificate_free_credentials' ../cups/libcups.a(http.o): In function `http_read_ssl': /usr/ports/print/cups-client/work/cups-1.5.4/cups/http.c:3466: undefined reference to `gnutls_record_recv' ../cups/libcups.a(http.o): In function `httpInitialize': /usr/ports/print/cups-client/work/cups-1.5.4/cups/http.c:1527: undefined reference to `gnutls_global_init' gmake[1]: *** [ippserver] Error 1 gmake[1]: Leaving directory `/usr/ports/print/cups-base/work/cups-1.5.4/test' gmake: *** [all] Error 1 *** [do-build] Error code 1 Stop in /usr/ports/print/cups-base. *** [install] Error code 1 Stop in /usr/ports/print/cups-base. *** [build-depends] Error code 1 Stop in /usr/ports/print/cups. Any help is highly appreciated Regards Antonios
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CADoTVZLGLPXMJXAdYwXZce2FgvNCNP48Q-JQ0N_f0sFzquPngA>