[zfs-discuss] ZFS compile error messages

Steven Anderson hikenboot at yahoo.com
Wed Dec 21 09:32:06 EST 2011

sorry don't know what you mean by out of tree modules..does this have something to do with System.map file?
I am trying to get this working on debian squeeze although as you can see i have pulled a couple of things from debian unstable 
deb http://ftp.us.debian.org/debian/ squeeze maindeb-src http://ftp.us.debian.org/debian/ squeeze main
deb http://security.debian.org/ squeeze/updates maindeb-src http://security.debian.org/ squeeze/updates main
# squeeze-updates, previously known as 'volatile'deb http://ftp.us.debian.org/debian/ squeeze-updates maindeb-src http://ftp.us.debian.org/debian/ squeeze-updates main
deb http://ftp.at.debian.org/debian squeeze main contrib
# PVE packages provided by proxmox.comdeb http://download.proxmox.com/debian squeeze pve
deb http://debian.hug.cx/debian/ unstable/

your help is appreciated. It must take something I dont know about compiling to fix this.
I first tried the linux-headers and it failed to compile and told me i needed the whole source tree because something was missing..I forget now what it was that was missing.

--- On Wed, 12/21/11, Fajar A. Nugraha <list at fajar.net> wrote:

From: Fajar A. Nugraha <list at fajar.net>
Subject: Re: [zfs-discuss] ZFS compile error messages
To: zfs-discuss at zfsonlinux.org
Date: Wednesday, December 21, 2011, 6:07 AM

On Wed, Dec 21, 2011 at 9:03 PM, Steven Anderson <hikenboot at yahoo.com> wrote:
> can you give me an example of --with-linux-obj argument currently i am compiling against full source since headers doesn't seem to work

If by "full source" you mean "I downloaded kernel tarball, and extract
it" then it won't work. Period.

You need either:
- a "minimal" version of build directory, usually packed as
linux-headers or kernel-devel (or similar) by your distro, or
- recompile the kernel, and use both the new kernel and the build
directory to build out-of-tree modules.

> I am compiling against kernel 2.6.32-6-pve

What distro is that? Better ask your distro provider. It IS possible
(though unlikely) that they're deliberately preventing users from
compiling their own module (e.g. due to support issue)

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.zfsonlinux.org/pipermail/zfs-discuss/attachments/20111221/0a240feb/attachment.html>

More information about the zfs-discuss mailing list