[zfs-discuss] Trouble building zfs rc7 on 3.2.10-3.fc16.x86_64

William G. Miller bmiller at usgs.gov
Wed Mar 21 10:50:30 EDT 2012


Greetings!

I checked out the GIT repository this morning and got a compile error 
for ZFS on Fedora 16. A previous rc6 version of the repository works 
fine with this kernel.

./configure
make rpm

sincerely,

Bill Miller


... SNIP ...

   CC [M]  
/tmp/zfs-build-root-h6fJYBa8/BUILD/zfs-0.6.0/module/zcommon/../../module/zcommon/zpool_prop.o
   LD [M]  
/tmp/zfs-build-root-h6fJYBa8/BUILD/zfs-0.6.0/module/zcommon/zcommon.o
   CC [M]  
/tmp/zfs-build-root-h6fJYBa8/BUILD/zfs-0.6.0/module/zfs/../../module/zfs/arc.o
/tmp/zfs-build-root-h6fJYBa8/BUILD/zfs-0.6.0/module/zfs/../../module/zfs/arc.c: 
In function 'arc_evict':
/tmp/zfs-build-root-h6fJYBa8/BUILD/zfs-0.6.0/module/zfs/../../module/zfs/arc.c:1785:3: 
error: implicit declaration of function '__SDEBUG' 
[-Werror=implicit-function-declaration]
/tmp/zfs-build-root-h6fJYBa8/BUILD/zfs-0.6.0/module/zfs/../../module/zfs/arc.c: 
In function 'arc_kstat_update':
/tmp/zfs-build-root-h6fJYBa8/BUILD/zfs-0.6.0/module/zfs/../../module/zfs/arc.c:3692:12: 
error: 'KSTAT_WRITE' undeclared (first use in this function)
/tmp/zfs-build-root-h6fJYBa8/BUILD/zfs-0.6.0/module/zfs/../../module/zfs/arc.c:3692:12: 
note: each undeclared identifier is reported only once for each function 
it appears in
/tmp/zfs-build-root-h6fJYBa8/BUILD/zfs-0.6.0/module/zfs/../../module/zfs/arc.c: 
In function 'arc_init':
/tmp/zfs-build-root-h6fJYBa8/BUILD/zfs-0.6.0/module/zfs/../../module/zfs/arc.c:3848:10: 
error: 'kstat_t' has no member named 'ks_update'
cc1: some warnings being treated as errors

make[7]: *** 
[/tmp/zfs-build-root-h6fJYBa8/BUILD/zfs-0.6.0/module/zfs/../../module/zfs/arc.o] 
Error 1
make[6]: *** [/tmp/zfs-build-root-h6fJYBa8/BUILD/zfs-0.6.0/module/zfs] 
Error 2
make[5]: *** 
[_module_/tmp/zfs-build-root-h6fJYBa8/BUILD/zfs-0.6.0/module] Error 2
make[5]: Leaving directory `/usr/src/kernels/3.2.10-3.fc16.x86_64'
make[4]: *** [modules] Error 2
make[4]: Leaving directory 
`/tmp/zfs-build-root-h6fJYBa8/BUILD/zfs-0.6.0/module'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/tmp/zfs-build-root-h6fJYBa8/BUILD/zfs-0.6.0'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/tmp/zfs-build-root-h6fJYBa8/BUILD/zfs-0.6.0'
error: Bad exit status from 
/tmp/zfs-build-root-h6fJYBa8/TMP/rpm-tmp.13foTS (%build)


RPM build errors:
     Bad exit status from 
/tmp/zfs-build-root-h6fJYBa8/TMP/rpm-tmp.13foTS (%build)
make[1]: *** [rpm-common] Error 1
make[1]: Leaving directory `/root/Downloads/zfs/rc7/zfs'
make: *** [rpm-modules] Error 2



More information about the zfs-discuss mailing list