Closed kosuodhmwa closed 7 years ago
except the kernel headers for kernel 3.16.x - they are from "debian-backports" which is correct in my opinion...?
IIRC kernel headers come in the same repository with kernel package, maybe that's the problem?
What are the "IIRC kernel headers"...? Don't understand what you mean with that... Regards, Jan
I mean - are your kernel headers equal to installed kernel?
Yes, i've downloaded the headers for the backport-kernel 3.16.x:
root@debian:/usr/src# ls linux-headers-3.16.0-0.bpo.4-common linux-kbuild-3.16 linux-headers-3.16.0-0.bpo.4-sparc64-smp root@debian:/usr/src#
Regards, Jan
P.S.: "sh autogen.sh" & "./configure" works, and i don't need to specify any additional paths to run it successful. (https://github.com/zfsonlinux/zfs/wiki/Building-ZFS-> "tip: --with-spl=PATH and --with-spl-obj=PATH can be passed to configure if it is unable to locate the SPL.") Regards, Jan
@jas14 it sounds like you may have just need to to generate the ./configure
script. If you're tracking master you may need to run sh autogen.sh
from time to time as functionality is added. Is this still an issue?
i've done all steps again from a-z as described here: https://github.com/zfsonlinux/zfs/wiki/Building-ZFS
sh autogen.sh was always working for both "spl" AND "zfs", i've always done that step before "make -s -j$(nproc)"
@jmar83 it looks like compiler can't appropriately reference some files. I don't know how can i help for now.
Please, try with latest master codebase. It doesn't have any problems with builds for me on debian jessie x86_64.
I've done all steps again from beginning, including re-downloading the newest master source from github.
However, thank you... problem is now "solved" by using XFS for Linux SW RAID1, that does what it need to do ;)
System information
Hello
I've tried to start a build process as described at this page here: https://github.com/zfsonlinux/zfs/wiki/Building-ZFS
I can't build the current "zfs" from git (2016-12-26). The build process for "spl" (before building "zfs") works without any problems.
In the "zfs" directory, i also can execute "sh autogen.sh" and "./configure". But at the last step, the building process with "make", stops with an error:
I use gcc 4.7.2, which i have configured as the c/c++ default compiler as described at this page: http://charette.no-ip.com:81/programming/2011-12-24_GCCv47/ -> Backup link of a page pdf: https://www.scribd.com/document/335098049/Programming-Comments-How-to-install-a-GCC-g-v4-7-and-C-11-on-Ubuntu-12-04
All required packages was downloaded from the "debian" repository declared in /etc/apt/sources.list, except the kernel headers for kernel 3.16.x - they are from "debian-backports" which is correct in my opinion...?
Thank you for your feedbacks!
Best regards, Jan