Problem building BIND 9.11.14 on SPARC Solaris 10

Wieland, Jeffrey J. wieland at purdue.edu
Mon Dec 30 19:24:19 UTC 2019


Jaco,
I've been running it built that way for more than a week without apparent problems.
--
Jeff Wieland, UNIX/Network Systems Administrator
Purdue University IT Infrastructure Services UNIX Platforms

On December 30, 2019 7:21:43 AM EST, Jaco Lesch <jacol at saix.net> wrote:

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
________________________________
Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe from this list

bind-users mailing list
bind-users at lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/bind-users/attachments/20191230/e11229fd/attachment-0001.htm>


More information about the bind-users mailing list