#1 0.1.2 compilation fails in cache.c

closed
nobody
5
2001-08-10
2001-07-24
Anonymous
No

Hello,

I have a bit of a problem compiling this thing:

...
-I/usr/src/linux/include cache.c
cache.c: In function `dav_dget_fpos':
cache.c:100: too few arguments to function `d_validate'
make[1]: *** [cache.o] Error 1
make[1]: Leaving directory
`/usr/local/src/davfs-0.1.2/davfs'
make: *** [all-recursive]

I'm running RH 7.1 with kernel 2.4.7.

Hmm...

[ttepet@localhost davfs-0.1.2]$ grep -n d_validate */*
davfs/cache.c:97:
if (d_validate(dent, dent->d_parent,
dent->d_name.hash, dent->d_name.len)) {
davfs/cache.c:100:
if (d_validate(dent, parent)) {
[tt

Teppo

Discussion

  • SungHun Kim

    SungHun Kim - 2001-07-24

    Logged In: YES
    user_id=206854

    Thanks for your report.

    I didn't test with kernel 2.4.7 version.

    Hyunsop, Would you like test davfs with linux kernel 2.4.7
    and patch this problem?

    Thanks!

     
  • Hyunsop Kim

    Hyunsop Kim - 2001-07-25

    Logged In: YES
    user_id=258933

    Thanks for your reporting.
    We know that compiling problem.

    If you wnat to fix that problem.

    1. check your linux source file directory.
    /usr/src/linux-2.4.7 <-- ?
    2. change "davfs/Makefile.in" file like this.
    #KERNELDIR = /usr/src/linux
    KERNELDIR = /usr/src/linux-2.4.7
    3. ./configure
    4. make

    I was testing linux kernel 2.4.7 and linux RH7.1, today. It
    works good.

    when we release stabile davfs version,
    It's must be fixed.
    I believe.

     
  • Nobody/Anonymous

    Logged In: NO

    Thank you very much,

    Setting the KERNELDIR variable solved the problem.

    Teppo

     
  • Anthony Baxter

    Anthony Baxter - 2001-08-10
    • status: open --> closed
     
  • Anthony Baxter

    Anthony Baxter - 2001-08-10

    Logged In: YES
    user_id=29957

    Closing fixed problems.
    In this case, configure should probably attempt to
    detect this - or at least check for it. That's a
    seperate bug that I'll file.

     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks