Skip to contentSkip to conversation

compile error on Ubuntu 8.10

PATCH Gabor MICSKO 2 participants 3 messages Nov 26, 2008 – Nov 30, 2008 Btrfs file system

lore
Share & tools
lore
#0 lore 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 renamed from compat.h.orig +1 -1
@@ -22,7 +22,7 @@
  * than nothing.
  */
 #ifdef CONFIG_SECURITY_APPARMOR
-# define REMOVE_SUID_PATH 1
+/* # define REMOVE_SUID_PATH 1 */
 #endif 
 
 #endif /* _COMPAT_H_ */
#1 lore raw
Quoted 2 lines · Gabor MICSKO

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

Signature · 4 lines
 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
#2 lore raw
Quoted 5 lines · Chris Samuel

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!