[OpenAFS] Problems building on latest OpenSolaris (build 98)
Stefan Pohl
pohl@syssoft.uni-trier.de
Mon, 22 Sep 2008 22:47:50 +0200
This is a multi-part message in MIME format.
--------------020503090502010606020506
Content-Type: text/plain; charset=ISO-8859-15; format=flowed
Content-Transfer-Encoding: 7bit
Hi,
I just tried to compile OpenAFS (1.4.7 and 1.5.52) on the most recent
OpenSolaris version (build 98) on amd64.
The configure flags used:
--prefix=/opt/openafs1.4.7 --with-afs-sysname=sunx86_511 \
--with-krb5-conf=/bin/krb5-config --sysconfdir=/etc --localstatedir=/var \
--enable-namei-fileserver --enable-largefile-fileserver
--enable-fast-restart \
--disable-pam
The Problems with the kernel modules:
- With 1.4.7 on build 98, building of the Kernel module fails with:
"cc: acomp failed for
/sherman/admin_pohl/downloads/openafs-1.4.7/src/afs/SOLARIS/osi_vfsops.c"
The output gmake invoked in the directory src/libafs is attached.
- With 1.5.52 on build 98, only libafs.nonfs.o and libafs64.nonfs.o are
built. Compilation of src/afs/afs_nfsdisp.c fails with:
"cc: acomp failed for
/sherman/admin_pohl/downloads/openafs-1.5.52/src/afs/afs_nfsdisp.c"
after producing loads of error messages
about arguments being incompatible with prototype. Again the output
gmake invoked in the directory src/libafs is attached.
Loading of the Kernel module that has been builtfails with :
Sep 22 14:23:21 atlas genunix: [ID 819705 kern.notice]
/kernel/fs/amd64/afs: undefined symbol
Sep 22 14:23:21 atlas genunix: [ID 826211 kern.notice]
'gop_lookupname'
Sep 22 14:23:21 atlas genunix: [ID 472681 kern.notice] WARNING:
mod_load: cannot load module 'afs'
I tried building both OpenAFS-versions on an older version of
OpenSolaris (build 86, the version from 2008.05 ISO-image). For both
Versions of OpenAFS all kernel modules could be compiled. The module
from 1.4.7 could be loaded into the kernel, while loading the module
from 1.5.52 yielded the same undefined symbol error as above.
In the output 'configure --help' I noticed the option
'--disable-kernel-module'. Does the afs-server work when build with this
option, or is this option for clients only? Are there performance
degradations due to this option?
Another build error occured with both OpenAFS-versions on both
OpenSolaris-versions:
+ /opt/SUNWspro/bin/cc -O
-I/sherman/admin_pohl/downloads/openafs-1.4.7/src
-I/sherman/admin_pohl/downloads/openafs-1.4.7/include/afs
-I/sherman/admin_pohl/
downloads/openafs-1.4.7/src/config
-I/sherman/admin_pohl/downloads/openafs-1.4.7/src
-I/sherman/admin_pohl/downloads/openafs-1.4.7/include -dy -Bdynamic -o
kdump.o -c ./kdump.c
"./kdump.c", line 607: cannot find include file: <sys/elf_M32.h>
"./kdump.c", line 933: warning: implicit function declaration: kdump
"./kdump.c", line 940: warning: old-style declaration or incorrect type
for: main
"./kdump.c", line 1101: warning: old-style declaration or incorrect type
for: kdump
"./kdump.c", line 1124: warning: implicit function declaration: print_cells
"./kdump.c", line 1125: warning: implicit function declaration:
print_cellaliases
"./kdump.c", line 1126: warning: implicit function declaration:
print_cellnames
"./kdump.c", line 1130: warning: implicit function declaration: print_users
"./kdump.c", line 1134: warning: implicit function declaration:
print_servers
"./kdump.c", line 1142: warning: implicit function declaration:
print_volumes
"./kdump.c", line 1155: warning: implicit function declaration:
print_vcaches
"./kdump.c", line 1159: warning: implicit function declaration:
print_dcaches
"./kdump.c", line 1183: warning: implicit function declaration: print_nfss
"./kdump.c", line 1236: warning: implicit function declaration: print_gcpags
"./kdump.c", line 2393: warning: old-style declaration or incorrect type
for: rdsymbols
"./kdump.c", line 2481: warning: implicit function declaration: open
"./kdump.c", line 2531: warning: old-style declaration or incorrect type
for: pmutex
cc: acomp failed for ./kdump.c
gmake[4]: [kdump.o] Error 2 (ignored)
Is this a critical error? The file elf_M32.h doesn't exist on the system
and apparently it is not available from pkg.opensolaris.org.
Greetings
Stefan Pohl
--------------020503090502010606020506
Content-Type: application/x-gzip;
name="build-libafs-1.5.52.log.gz"
Content-Transfer-Encoding: base64
Content-Disposition: inline;
filename="build-libafs-1.5.52.log.gz"
H4sICFX610gAA2J1aWxkLWxpYmFmcy0xLjUuNTIubG9nAO3de2/ayBoH4L+bTzHqWaluVS42
YC6rrkQTp4vKJRtI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RdwQJSW4ATdVgAFshB9jbwBA5YABYQVVew
gNQW4EQdFoAFsp+9WrkGC8ACsICguoIFZLYAL+qwACyQg+zFB9HDArCAsLqCBaS2AD6MHhbI
b/ZWVVgAFoAFBNUVLCC1BThRhwVggRxkbw3P6oYFYAFRdQULSG0BTtRhAVggB9lbx2d4wgKw
gKi6ggWktgAn6rAALJD97K2U8cROWAAWEFVXsIDMFuBFHRaABXKQvRo+wwMWgAVE1RUsILUF
OFGHBWCBHGQvnjsIC8ACwuoKFpDaAnjuICyQ3+zVce8gLAALiKorWEBqC3CiDgvAAjnI3gbu
HYQFYAFRdQULSG0BTtRhAVgg+9lbxXMHYQFYQFhdwQIyW4AXdVgAFshB9mr4PAJYABYQVVew
gNQW4EQdFoAFcpC9VfxNISwAC4iqK1hAagtwog4LwAI5yF48dxAWgAWE1RUsILUF8NxBWCC/
2VuHBWABWEBUXcECUluAE3VYABbIQfY28XcEsAAsIKquYAGpLcCJOiwAC2Q/e2sqnjUEC8AC
ouoKFpDZAryowwKwQA6yt5L+iduwACwACxy/rmABqS3AiTosAAvkIHvruC4AC8ACouoKFpDa
ApyowwKwQA6yt4nPJoIFYAFRdQULSG0BTtRhAVgg+9mrqyosAAvAAoLqChaQ2QK8qMMCsMA/
k72WRfOM5RWZmPQgapOJH5Af7/9kujBvHLqlLfLs2TPyZ3Ki/4EYQUC70RJzdR3zliY9sd3A
sSI/+Ew+PngUc/eaDaQ3OOsO2md69cnJ/wBALRLTRfMCAA==
--------------020503090502010606020506
Content-Type: application/x-gzip;
name="build-libafs-1.4.7.log.gz"
Content-Transfer-Encoding: base64
Content-Disposition: inline;
filename="build-libafs-1.4.7.log.gz"
H4sICFHx10gAA2J1aWxkLWxpYmFmcy0xLjQuNy5sb2cA7Rhrb9s28HP8Kw5Gga5BZcWPaK2D
fHBitw2W2J3tNBi6QmUkyiYikQJJO8l+/Y6SYsttks2OBS+ZP+jBO96bRx7vjFzRgIW04oko
Ery5v9eEayI546MmiCmVkvn4DwZ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