[ldns-users] Build error on Solaris 10

İhsan Doğan ihsan at dogan.ch
Fri Dec 31 13:13:20 UTC 2021


Hello,

While trying to build ldns on Solaris 10 spark 64-Bit, I’m running into this issue:

gmake: Entering directory '/home/ihsan/opencsw/libldns/trunk/work/solaris10-sparc/build-isa-sparcv9/ldns-1.8.1'
./libtool --tag=CC --quiet --mode=compile /opt/developerstudio12.6/bin/cc -I. -I. -I/opt/csw/include -DHAVE_CONFIG_H -DLDNS_TRUST_ANCHOR_FILE="\"/etc/opt/csw/unbound/root.key\"" -fno-strict-aliasing -Wmissing-prototypes -Wunused-function -Wstrict-prototypes -Wwrite-strings -W -Wall -xO3 -m64 -xarch=sparc -xc99 -D__EXTENSIONS__ -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -D_ALL_SOURCE -I/opt/csw/include -c ./buffer.c -o buffer.lo
"./ldns/config.h", line 675: identifier redeclared: inet_ntop
        current : function(int, pointer to const void, pointer to char, unsigned long) returning pointer to const char
        previous: function(int, restrict pointer to const void, restrict pointer to char, unsigned int) returning pointer to const char : "/usr/include/arpa/inet.h", line 68
cc: acomp failed for ./buffer.c
gmake: *** [Makefile:140: buffer.lo] Error 1
gmake: Leaving directory '/home/ihsan/opencsw/libldns/trunk/work/solaris10-sparc/build-isa-sparcv9/ldns-1.8.1'
gmake[1]: *** [/home/ihsan/opencsw/.buildsys/v2/gar//gar.lib.mk:908: build-work/solaris10-sparc/build-isa-sparcv9/ldns-1.8.1/Makefile] Error 2

I have to say that building the 32-Bit version of the library worked without any problem. 




Regards

Ihsan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4031 bytes
Desc: not available
URL: <http://lists.nlnetlabs.nl/pipermail/ldns-users/attachments/20211231/f9c8b98a/attachment.bin>


More information about the ldns-users mailing list