Linux Btrfs filesystem development
 help / color / mirror / Atom feed
From: Gabor MICSKO <gabor.micsko@gmail.com>
To: linux-btrfs@vger.kernel.org
Subject: compile error on Ubuntu 8.10
Date: Wed, 26 Nov 2008 08:30:13 +0100	[thread overview]
Message-ID: <1227684613.19460.99.camel@localhost.localdomain> (raw)

FYI:

Hi,

if i try to compile the latest "hox fix" version of kernel module

http://www.kernel.org/hg/index.cgi/btrfs/kernel/archive/tip.tar.bz2

( kernel-417d87e57364.tar.bz2 )

on the recently released Ubuntu 8.10 "Interpid Ibex", i get the
following error messages:

/home/trey/devel/btrfs/kernel-417d87e57364/file.c: In function
'btrfs_file_write':
/home/trey/devel/btrfs/kernel-417d87e57364/file.c:881: error: implicit
declaration of function 'remove_suid'
make[2]: *** [/home/trey/devel/btrfs/kernel-417d87e57364/file.o] Error 1
make[1]: *** [_module_/home/trey/devel/btrfs/kernel-417d87e57364] Error
2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.27-7-generic'
make: *** [all] Error 2

Solution - at least - for me:

--- compat.h.orig	2008-11-26 08:16:51.000000000 +0100
+++ compat.h	2008-11-26 08:17:04.000000000 +0100
@@ -22,7 +22,7 @@
  * than nothing.
  */
 #ifdef CONFIG_SECURITY_APPARMOR
-# define REMOVE_SUID_PATH 1
+/* # define REMOVE_SUID_PATH 1 */
 #endif 
 
 #endif /* _COMPAT_H_ */



             reply	other threads:[~2008-11-26  7:30 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-11-26  7:30 Gabor MICSKO [this message]
2008-11-30 11:38 ` compile error on Ubuntu 8.10 Chris Samuel
2008-11-30 13:23   ` Gabor MICSKO

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1227684613.19460.99.camel@localhost.localdomain \
    --to=gabor.micsko@gmail.com \
    --cc=linux-btrfs@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox