9.10.4 build fails in dlz/modules/filesystem; 9.10.3-P4 ok.
PGNet Dev
pgnet.dev at gmail.com
Thu Apr 28 23:42:23 UTC 2016
Taking a stab at the new release ...
Building 9.10.3-P4' dlz modules on linux/64
...
cd contrib/dlz/modules/
cd ./bdbhpt
make
ldd dlz_bdbhpt_dynamic.so
linux-vdso.so.1 (0x00007fffa312c000)
libdb-4.8.so => /usr/lib64/libdb-4.8.so (0x00007f50edc43000)
libc.so.6 => /lib64/libc.so.6 (0x00007f50ed89b000)
libpthread.so.0 => /lib64/libpthread.so.0 (0x00007f50ed67d000)
/lib64/ld-linux-x86-64.so.2 (0x000056482796b000)
cd ../filesystem
make
ldd dlz_filesystem_dynamic.so
linux-vdso.so.1 (0x00007ffd99f34000)
libc.so.6 => /lib64/libc.so.6 (0x00007fbb2713e000)
/lib64/ld-linux-x86-64.so.2 (0x0000564e6ae95000)
...
had no issues.
Same step in the build, with latest 9.10.4 sources, fails at
dlz/modules/filesystem,
cd contrib/dlz/modules/
cd ./bdbhpt
make
/usr/bin/gcc-6 -fPIC -g -I../include -shared -o dlz_bdbhpt_dynamic.so \
dlz_bdbhpt_dynamic.c -ldb
ldd dlz_bdbhpt_dynamic.so
linux-vdso.so.1 (0x00007ffceedb4000)
libdb-4.8.so => /usr/lib64/libdb-4.8.so (0x00007f45c2bbb000)
libc.so.6 => /lib64/libc.so.6 (0x00007f45c2813000)
libpthread.so.0 => /lib64/libpthread.so.0 (0x00007f45c25f5000)
/lib64/ld-linux-x86-64.so.2 (0x00005603fc83d000)
cd ../filesystem
make
/usr/bin/gcc-6 -fPIC -g -I../include -c dir.c
/usr/bin/gcc-6 -fPIC -g -I../include -shared -o
dlz_filesystem_dynamic.so \
dlz_filesystem_dynamic.c dir.o
dlz_filesystem_dynamic.c: In function ‘dlz_create’:
dlz_filesystem_dynamic.c:856:3: error: ‘result’ undeclared (first use
in this function)
result = ISC_R_FAILURE;
^~~~~~
dlz_filesystem_dynamic.c:856:3: note: each undeclared identifier is
reported only once for each function it appears in
Makefile:12: recipe for target 'dlz_filesystem_dynamic.so' failed
make: *** [dlz_filesystem_dynamic.so] Error 1
Atm, this is with
gcc --version
gcc (SUSE Linux) 6.1.0 20160427 [gcc-6-branch revision 235475]
Known issue? Perhaps a gcc version issue?
More information about the bind-users
mailing list