You are not logged in.

#1 2004-07-30 19:14:29

fideli
Member
From: calgary
Registered: 2004-06-20
Posts: 44

fuse 1.3

i'm trying to make a package for fuse (filesystem in userspace) but i'm having troubles compiling it.  here's my preliminary PKGBUILD

pkgname=fuse
pkgver=1.3
pkgrel=1
pkgdesc="Utility that enables one to mount filesystems in userspace"
url="http://sourceforge.net/projects/avf"
license="GPL-2"
depends=('binutils')
source=(http://dl.sourceforge.net/sourceforge/avf/$pkgname-$pkgver.tar.gz)

build() {
  cd $startdir/src/$pkgname-$pkgver
  ./configure --prefix=/usr
  make || return 1
  make prefix=$startdir/pkg/usr install
}

pretty straightforward.  here's the error i'm getting.

...
config.status: include/config.h is unchanged
config.status: executing depfiles commands
Making all in include
make[1]: Entering directory `/var/abs/local/fuse/src/fuse-1.3/include'
make  all-recursive
make[2]: Entering directory `/var/abs/local/fuse/src/fuse-1.3/include'
Making all in linux
make[3]: Entering directory `/var/abs/local/fuse/src/fuse-1.3/include/linux'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/var/abs/local/fuse/src/fuse-1.3/include/linux'
make[3]: Entering directory `/var/abs/local/fuse/src/fuse-1.3/include'
make[3]: Leaving directory `/var/abs/local/fuse/src/fuse-1.3/include'
make[2]: Leaving directory `/var/abs/local/fuse/src/fuse-1.3/include'
make[1]: Leaving directory `/var/abs/local/fuse/src/fuse-1.3/include'
Making all in patch
make[1]: Entering directory `/var/abs/local/fuse/src/fuse-1.3/patch'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/var/abs/local/fuse/src/fuse-1.3/patch'
Making all in kernel
make[1]: Entering directory `/var/abs/local/fuse/src/fuse-1.3/kernel'
make -C /usr/src/linux-2.6.6-love4-lokean1 SUBDIRS=/var/abs/local/fuse/src/fuse-1.3/kernel modules
make[2]: Entering directory `/usr/src/linux-2.6.6-love4-lokean1'
  CC [M]  /var/abs/local/fuse/src/fuse-1.3/kernel/dev.o
In file included from include/linux/linkage.h:4,
                 from include/linux/kernel.h:11,
                 from /var/abs/local/fuse/src/fuse-1.3/kernel/fuse_i.h:33,
                 from /var/abs/local/fuse/src/fuse-1.3/kernel/dev.c:9:
include/linux/config.h:4:28: linux/autoconf.h: No such file or directory
In file included from include/linux/prefetch.h:14,
                 from include/linux/list.h:7,
                 from include/linux/thread_info.h:10,
                 from include/linux/spinlock.h:12,
                 from include/linux/capability.h:45,
                 from include/linux/sched.h:7,
                 from include/linux/module.h:10,
                 from /var/abs/local/fuse/src/fuse-1.3/kernel/fuse_i.h:34,
                 from /var/abs/local/fuse/src/fuse-1.3/kernel/dev.c:9:
include/asm/processor.h:67: error: `CONFIG_X86_L1_CACHE_SHIFT' undeclared here (not in a function)
include/asm/processor.h:67: error: requested alignment is not a constant
In file included from include/linux/sched.h:11,
                 from include/linux/module.h:10,
                 from /var/abs/local/fuse/src/fuse-1.3/kernel/fuse_i.h:34,
                 from /var/abs/local/fuse/src/fuse-1.3/kernel/dev.c:9:
include/linux/timex.h:81:3: #error You lose.
In file included from include/linux/timex.h:186,
                 from include/linux/sched.h:11,
                 from include/linux/module.h:10,
                 from /var/abs/local/fuse/src/fuse-1.3/kernel/fuse_i.h:34,
                 from /var/abs/local/fuse/src/fuse-1.3/kernel/dev.c:9:
include/linux/time.h:145:31: division by zero in #if
include/linux/time.h:145:31: division by zero in #if
include/linux/time.h:145:31: division by zero in #if
include/linux/time.h:145:31: division by zero in #if
include/linux/time.h:145:31: division by zero in #if
include/linux/time.h:145:31: division by zero in #if
include/linux/time.h:145:31: division by zero in #if
include/linux/time.h:145:31: division by zero in #if
include/linux/time.h:145:31: division by zero in #if
include/linux/time.h:145:31: division by zero in #if
include/linux/time.h:145:31: division by zero in #if
include/linux/time.h:145:31: division by zero in #if
include/linux/time.h:145:31: division by zero in #if
include/linux/time.h:145:31: division by zero in #if
include/linux/time.h:145:31: division by zero in #if
include/linux/time.h:145:31: division by zero in #if
include/linux/time.h:189:30: division by zero in #if
In file included from include/linux/timex.h:186,
                 from include/linux/sched.h:11,
                 from include/linux/module.h:10,
                 from /var/abs/local/fuse/src/fuse-1.3/kernel/fuse_i.h:34,
                 from /var/abs/local/fuse/src/fuse-1.3/kernel/dev.c:9:
include/linux/time.h: In function `jiffies_to_msecs':
include/linux/time.h:194: error: `CONFIG_HZ' undeclared (first use in this function)
include/linux/time.h:194: error: (Each undeclared identifier is reported only once
include/linux/time.h:194: error: for each function it appears in.)
include/linux/time.h:199:30: division by zero in #if
include/linux/time.h: In function `msecs_to_jiffies':
include/linux/time.h:204: error: `CONFIG_HZ' undeclared (first use in this function)
include/linux/time.h: In function `timespec_to_jiffies':
include/linux/time.h:223: error: `CONFIG_HZ' undeclared (first use in this function)
include/linux/time.h:229: error: `SHIFT_HZ' undeclared (first use in this function)
include/linux/time.h: In function `jiffies_to_timespec':
include/linux/time.h:242: error: `CONFIG_HZ' undeclared (first use in this function)
include/linux/time.h: In function `timeval_to_jiffies':
include/linux/time.h:264: error: `CONFIG_HZ' undeclared (first use in this function)
include/linux/time.h:268: error: `SHIFT_HZ' undeclared (first use in this function)
include/linux/time.h: In function `jiffies_to_timeval':
include/linux/time.h:280: error: `CONFIG_HZ' undeclared (first use in this function)
In file included from include/linux/module.h:23,
                 from /var/abs/local/fuse/src/fuse-1.3/kernel/fuse_i.h:34,
                 from /var/abs/local/fuse/src/fuse-1.3/kernel/dev.c:9:
include/asm/module.h:54:2: #error unknown processor family
In file included from include/linux/mm.h:232,
                 from include/linux/poll.h:10,
                 from /var/abs/local/fuse/src/fuse-1.3/kernel/dev.c:11:
include/linux/page-flags.h: At top level:
include/linux/page-flags.h:137: error: requested alignment is not a constant
/var/abs/local/fuse/src/fuse-1.3/kernel/dev.c: In function `fuse_dev_init':
/var/abs/local/fuse/src/fuse-1.3/kernel/dev.c:629: error: `proc_root_fs' undeclared (first use in this function)
make[3]: *** [/var/abs/local/fuse/src/fuse-1.3/kernel/dev.o] Error 1
make[2]: *** [/var/abs/local/fuse/src/fuse-1.3/kernel] Error 2
make[2]: Leaving directory `/usr/src/linux-2.6.6-love4-lokean1'
make[1]: *** [all-spec] Error 2
make[1]: Leaving directory `/var/abs/local/fuse/src/fuse-1.3/kernel'
make: *** [all-recursive] Error 1
==> ERROR: Build Failed.  Aborting...

i believe it has to do with my kernel.  i'm going to test another kernel, but it will take me some time because i have to apply a reiser4 patch, or i might try the livecd.  either way, if someone could test this in the meantime, it would be much appreciated.


- fideli /-

Offline

#2 2004-08-04 23:32:28

fideli
Member
From: calgary
Registered: 2004-06-20
Posts: 44

Re: fuse 1.3

i've been unable to get a proper reiser4 patch that works and i'm also having troubles downloading a working version of the amlug live cd.  has anyone else tried to compile fuse?  it would be much appreciated if someone would just try to makepkg the PKGBUILD, and report whether or not it compiles.  thanx!


- fideli /-

Offline

Board footer

Powered by FluxBB