Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 10 May 2022 14:07:33 -0500
From:      "John T. Darrah" <johntdarrah@gmail.com>
To:        freebsd-desktop@freebsd.org
Subject:   Re: glib-networking build issues
Message-ID:  <69b3411b-8c94-2b53-2691-0cd5c8d0c830@gmail.com>
In-Reply-To: <73e72c85-e40f-2436-a5a5-e7b240d27d01@gmail.com>
References:  <73e72c85-e40f-2436-a5a5-e7b240d27d01@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
I readjusted the gnutls makefile and it works now.



On 5/10/22 12:30, John T. Darrah wrote:
> Hello:
>
> Could I get some help with the following build error for 
> glib-networking (Xfce metaport) on FreeBSD 13-STABLE?
>
>
> ===>  Building for glib-networking-2.70.1
> [ 50% 1/2] /usr/bin/cc  -o tls/tests/certificate-gnutls 
> tls/tests/certificate-gnutls.p/certificate.c.o -Wl,--as-needed 
> -Wl,--no-undefined -Wl,-O1 -fstack-protector-strong -O2 -pipe 
> -fstack-protector-strong -isystem /usr/local/include 
> -fno-strict-aliasing -isystem /usr/local/include 
> -Wl,-rpath,/usr/local/lib -Wl,-rpath-link,/usr/local/lib 
> -Wl,--start-group /usr/local/lib/libgio-2.0.so 
> /usr/local/lib/libgobject-2.0.so /usr/local/lib/libglib-2.0.so 
> /usr/local/lib/libintl.so -Wl,--export-dynamic 
> /usr/local/lib/libgmodule-2.0.so -pthread /usr/local/lib/libgnutls.so 
> -Wl,--end-group
> FAILED: tls/tests/certificate-gnutls
> /usr/bin/cc  -o tls/tests/certificate-gnutls 
> tls/tests/certificate-gnutls.p/certificate.c.o -Wl,--as-needed 
> -Wl,--no-undefined -Wl,-O1 -fstack-protector-strong -O2 -pipe 
> -fstack-protector-strong -isystem /usr/local/include 
> -fno-strict-aliasing -isystem /usr/local/include 
> -Wl,-rpath,/usr/local/lib -Wl,-rpath-link,/usr/local/lib 
> -Wl,--start-group /usr/local/lib/libgio-2.0.so 
> /usr/local/lib/libgobject-2.0.so /usr/local/lib/libglib-2.0.so 
> /usr/local/lib/libintl.so -Wl,--export-dynamic 
> /usr/local/lib/libgmodule-2.0.so -pthread /usr/local/lib/libgnutls.so 
> -Wl,--end-group
> ld: error: undefined symbol: gnutls_pkcs11_init
> >>> referenced by certificate.c
> >>> tls/tests/certificate-gnutls.p/certificate.c.o:(main)
>
> ld: error: undefined symbol: gnutls_pkcs11_add_provider
> >>> referenced by certificate.c
> >>> tls/tests/certificate-gnutls.p/certificate.c.o:(main)
> cc: error: linker command failed with exit code 1 (use -v to see 
> invocation)
> ninja: build stopped: subcommand failed.
> *** Error code 1
>
> Stop.
> make: stopped in /usr/ports/net/glib-networking
>
>
>
> Thanks.
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?69b3411b-8c94-2b53-2691-0cd5c8d0c830>