Problem building BIND 9.11.14 on SPARC Solaris 10

Wieland, Jeffrey J. wieland at
Sat Dec 21 06:35:19 UTC 2019

Compiling with Solaris Studio 12.2 and Oracle Studio 12.4, I get
the following error:

libtool: compile:  /opt/solstudio12.2/bin/cc -m32 -L/opt/openssl-1.1/lib 
-R/opt/openssl-1.1/lib -D_STDC_C99= -mt 
-I/opt/src/sys/bind/sun4u/bind-9.11.14 -I../.. -I./unix/include 
-I./pthreads/include -I./noatomic/include -I./include -I./include 
-I../../lib/dns/include -I/opt/openssl-1.1/include -D_REENTRANT 
-m32 -xtarget=ultra -xarch=sparcvis -xO0 -I/usr/include/libxml2 -KPIC -c 
stats.c  -KPIC -DPIC -o .libs/stats.o
"stats.c", line 300: undefined symbol: val
cc: acomp failed for stats.c

line 300 is:

         stats->counters[counter] = val;

I'm pretty sure that val should be value, since there is no "val"
anywhere in that file.  At least it compiles that way; I haven't
tested it yet.

Jeff Wieland, UNIX/Network Systems Administrator
Purdue University IT Infrastructure Services UNIX Platforms

More information about the bind-users mailing list