Re: Failed: phase compiling: gnupg2-2.2.28-1 failed

Hanspeter Niederstrasser <[email protected]>
Newsgroups gmane.os.apple.fink.general
Organization Snaggled Works
Message-ID <[email protected]>
On 6/11/21 2:36 PM, Chris Schram via Fink-users wrote:
> gcc -DHAVE_CONFIG_H -I. -I..  -DLOCALEDIR=\"/opt/sw/share/locale\" -DGNUPG_BINDIR="\"/opt/sw/bin\"" -DGNUPG_LIBEXECDIR="\"/opt/sw/lib/gnupg\"" -DGNUPG_LIBDIR="\"/opt/sw/lib/gnupg\"" -DGNUPG_DATADIR="\"/opt/sw/share/gnupg\"" -DGNUPG_SYSCONFDIR="\"/opt/sw/etc/gnupg\"" -DGNUPG_LOCALSTATEDIR="\"/opt/sw/var\""       -I/opt/sw/include -I/opt/sw/include/libusb-1.0 -std=gnu99 -I/opt/sw/include -I/opt/sw/include -I/opt/sw/include -I/opt/sw/include -I/opt/sw/include -I/opt/sw/include  -Wall -Wno-pointer-sign -Wpointer-arith -g -O2 -MT dirmngr.o -MD -MP -MF .deps/dirmngr.Tpo -c -o dirmngr.o dirmngr.c
> dirmngr.c:747:18: error: implicit declaration of function 'ldapserver_parse_one' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
>          server = ldapserver_parse_one (p, NULL, 0);
>                   ^
> dirmngr.c:747:16: warning: incompatible integer to pointer conversion assigning to 'ldap_server_t' (aka 'struct ldap_server_s *') from 'int' [-Wint-conversion]
>          server = ldapserver_parse_one (p, NULL, 0);
>                 ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> dirmngr.c:753:17: error: implicit declaration of function 'ldapserver_list_free' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
>                  ldapserver_list_free (opt.ldapservers);

Never mind on the configure output check. I found the fault and fixed it.

Hanspeter





_______________________________________________
Fink-users mailing list
[email protected]
List archive:
https://sourceforge.net/p/fink/mailman/fink-users/
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.