Problem building BIND 9.11.14 on SPARC Solaris 10
Jaco Lesch
jacol at saix.net
Mon Dec 30 12:21:43 UTC 2019
Jeff
Picking up a similar error when compiling on Solaris 11.4 with Oracle
Studio 12.6:
libtool: compile:
/opt/SunStudio/OracleDeveloperStudio12.6-solaris-sparc-bin/developerstudio12.6/bin/cc
-mt -I/usr/local/src/bind-9.11.14 -I../.. -I./unix/include
-I./pthreads/include -I./noatomic/include -I./include -I./include
-I/usr/local/src/bind-9.11.14/lib/dns/include -I../../lib/dns/include
-D_REENTRANT -DOPENSSL "-DPK11_LIB_LOCATION=\"undefined\"" -D_XPG4_2
-D__EXTENSIONS__ -m64 -fast -Qoption cg -xregs=no%appl -W2,-xwrap_int
-xmemalign=16s -mt -xatomic=none -I/usr/include/libxml2 -c stats.c
-KPIC -DPIC -o .libs/stats.o
"stats.c", line 300: undefined symbol: val
cc: acomp failed for stats.c
*** Error code 1
Changing line 300 to "value", it then compiles just fine.
Regards
On 12/21/19 08:35, Wieland, Jeffrey J. wrote:
> 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/opt/src/sys/bind/sun4u/bind-9.11.14/lib/dns/include
> -I../../lib/dns/include -I/opt/openssl-1.1/include -D_REENTRANT
> -DOPENSSL -DPK11_LIB_LOCATION=\"undefined\" -D_XPG4_2 -D__EXTENSIONS__
> -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.
>
--
---
Jaco Lesch
SAIX HLS
Email: jacol at saix.net
More information about the bind-users
mailing list