bind-9.10.3-P4 'make depend' error @ missing 'driver.c'

PGNd dev at pgnd.us
Fri Mar 25 23:26:04 UTC 2016


While working on other issues, in a build of bind-9.10.3-P4, I noticed a 

	"driver.c: No such file or directory"

error at

	./configure ...  --without-gssapi ...
	make depend
		...
		make[4]: Entering directory '/usr/local/src/bind-9.10.3-P4/bin/tests/system/tsiggss'
		/bin/sh /usr/local/src/bind-9.10.3-P4/make/mkdep -I/usr/local/src/bind-9.10.3-P4 -I../../../.. -I/usr/local/src/bind-9.10.3-P4/lib/dns/include -I../../../../lib/dns/include -I/usr/local/src/bind-9.10.3-P4/lib/isc/include -I../../../../lib/isc -I../../../../lib/isc/include -I../../../../lib/isc/unix/include -I../../../../lib/isc/pthreads/include -I../../../../lib/isc/x86_32/include -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -I/usr/local/src/bind-9.10.3-P4 -I../../../.. -I/usr/local/src/bind-9.10.3-P4/lib/dns/include -I../../../../lib/dns/include -I/usr/local/src/bind-9.10.3-P4/lib/isc/include -I../../../../lib/isc -I../../../../lib/isc/include -I../../../../lib/isc/unix/include -I../../../../lib/isc/pthreads/include -I../../../../lib/isc/x86_32/include -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -O3 -Wall -fstack-protector -funwind-tables -fasynchronous-unwind-tables -fmessage-length=0 -grecord-gcc-switches -march=native -mtune=native -fPIC -DPIC -D_GNU_SOURCE -fno-strict-aliasing -Wall -I/usr/include -I/usr/include/libxml2 -fPIC -W -Wall -Wmissing-prototypes -Wcast-qual -Wwrite-strings -Wformat -Wpointer-arith -fno-strict-aliasing -fno-delete-null-pointer-checks gssapi_krb.c driver.c
>>		gcc-5: error: driver.c: No such file or directory
		make[4]: Leaving directory '/usr/local/src/bind-9.10.3-P4/bin/tests/system/tsiggss'
		make[3]: Leaving directory '/usr/local/src/bind-9.10.3-P4/bin/tests/system'
		...

where driver.c is referenced

	cat /usr/local/src/bind-9.10.3-P4/bin/tests/system/tsiggss
		...
		CDEFINES =
		CWARNINGS =

		LIBS =      -ldl -lcap -ljson-c -lpthread -lm -lGeoIP -L/usr/lib -lxml2 -lz -lm -ldl

		#SO_TARGETS =    driver.so
		TARGETS =   gssapi_krb ${SO_TARGETS}

	>>	SRCS =      gssapi_krb.c driver.c

		GSSAPIKRBOBJS      = gssapi_krb.lo

		SO_OBJS         = driver.lo
	>>	SO_SRCS         = driver.c

		OBJS =          ${GSSAPIKRBOBJS}
		...

suggesting gssapi_krb.c & driver.c should be in the same dir, but

	find ../.. -type f \( -iname "driver.c" -o -iname "gssapi_krb.c" \)
		../../bin/tests/system/dlzexternal/driver.c
		../../bin/tests/system/tsiggss/gssapi_krb.c
		../../bin/tests/net/driver.c

note here that I've configured

    --without-gssapi

and that although I'm building on x86_64, there are repeated refs to

    .../isc/x86_32/include/...

not sure yet whether either matters here


More information about the bind-users mailing list