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






Attachment: build-libafs-1.5.52.log.gz
Description: GNU Zip compressed data

Attachment: build-libafs-1.4.7.log.gz
Description: GNU Zip compressed data

Reply via email to