pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: pkg/54628: x11/libXdmcp fails to build on Solaris 11
On Fri, 18 Oct 2019 15:40:01 +0000 (UTC)
Patrick Welche <prlw1%cam.ac.uk@localhost> wrote:
> The following reply was made to PR pkg/54628; it has been noted by
> GNATS.
>
> From: Patrick Welche <prlw1%cam.ac.uk@localhost>
> To: gnats-bugs%netbsd.org@localhost
> Cc:
> Subject: Re: pkg/54628: x11/libXdmcp fails to build on Solaris 11
> Date: Fri, 18 Oct 2019 16:38:55 +0100
>
> > 86 | ret = getentropy (auth, len);
> > | ^~~~~~~~~~
> > Key.c:86:11: warning: nested extern declaration of
> > 'getentropy' [-Wnested-externs]
>
> This says that configure has decided both that you have a getentropy
> () function, AND that you don't have a arc4random_buf() function. Is
> that really true?
>
Seem to be the case on Solaris 11.3
configure:19499: checking for arc4random_buf
configure:19499: gcc -o conftest -O2 -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/opt/pkg/include -L/opt/pkg/lib -Wl,-R/opt/pkg/lib conftest.c -lsocket >&5
Undefined first referenced
symbol in file
arc4random_buf /var/tmp//ccCMa4jI.o
ld: fatal: symbol referencing errors
collect2: error: ld returned 1 exit status
configure:19499: $? = 1
I believe on Solaris 11.4 arc4random_buf is available.
Home |
Main Index |
Thread Index |
Old Index