Linux Btrfs filesystem development
 help / color / mirror / Atom feed
* compile error on Ubuntu 8.10
@ 2008-11-26  7:30 Gabor MICSKO
  2008-11-30 11:38 ` Chris Samuel
  0 siblings, 1 reply; 3+ messages in thread
From: Gabor MICSKO @ 2008-11-26  7:30 UTC (permalink / raw)
  To: linux-btrfs

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_ */



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: compile error on Ubuntu 8.10
  2008-11-26  7:30 compile error on Ubuntu 8.10 Gabor MICSKO
@ 2008-11-30 11:38 ` Chris Samuel
  2008-11-30 13:23   ` Gabor MICSKO
  0 siblings, 1 reply; 3+ messages in thread
From: Chris Samuel @ 2008-11-30 11:38 UTC (permalink / raw)
  To: linux-btrfs

[-- Attachment #1: Type: text/plain, Size: 679 bytes --]

On Wed, 26 Nov 2008 6:30:13 pm Gabor MICSKO wrote:

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

If you're compiling against the 2.6.27 kernel in Ubuntu I think you'll need to 
use the standalone git tree instead:

http://git.kernel.org/?p=linux/kernel/git/mason/btrfs-unstable-
standalone.git;a=summary

See Chris's email of the 20th:

http://kerneltrap.org/mailarchive/linux-btrfs/2008/11/20/4179304

cheers,
Chris
-- 
 Chris Samuel  :  http://www.csamuel.org/  :  Melbourne, VIC

This email may come with a PGP signature as a file. Do not panic.
For more info see: http://en.wikipedia.org/wiki/OpenPGP


[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 481 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: compile error on Ubuntu 8.10
  2008-11-30 11:38 ` Chris Samuel
@ 2008-11-30 13:23   ` Gabor MICSKO
  0 siblings, 0 replies; 3+ messages in thread
From: Gabor MICSKO @ 2008-11-30 13:23 UTC (permalink / raw)
  To: Chris Samuel; +Cc: linux-btrfs

On Sun, 2008-11-30 at 22:38 +1100, Chris Samuel wrote:

> If you're compiling against the 2.6.27 kernel in Ubuntu I think you'll need to 
> use the standalone git tree instead:
> 
> http://git.kernel.org/?p=linux/kernel/git/mason/btrfs-unstable-
> standalone.git;a=summary

Ah, on btrfs wiki I've found only this:

git clone
git://git.kernel.org/pub/scm/linux/kernel/git/mason/btrfs-unstable.git

which was too big.


I've updated the wiki page:

http://btrfs.wiki.kernel.org/index.php/Btrfs_source_repositories

Thank you!


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2008-11-30 13:23 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-11-26  7:30 compile error on Ubuntu 8.10 Gabor MICSKO
2008-11-30 11:38 ` Chris Samuel
2008-11-30 13:23   ` Gabor MICSKO

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox