Re: [AVFS] avfs cvs compile

Peter <[email protected]> Mon, 26 Apr 2004 07:32:40 -0400
Newsgroups gmane.comp.file-systems.avfs.user
Message-ID <[email protected]>
Peter wrote:

> After downloading CVS and doing autoheader/autoconf, configure aborts with
> the following messages:
> 
> checking for library containing nanosleep... none required
> checking for library containing gethostbyname... none required
> checking for library containing socket... none required
> ./configure: line 4561: syntax error near unexpected token `0,12'
> ./configure: line 4561: `    NEON_REQUIRE(0,12)'
> 
> I just want to install avfs to integrate with Rox.
> 
> My system is Kernel 2.6.5, Slackware 9.1 upgraded.
> 
> Regards
> 
Update: I ran mkconf, and configure completed. However, compile fails in the
avscoda directory due to conflicts with kernel headers time.h. I am trying
to compile with kernel 2.6.5 and obviously there are header problems.

peter-ha/[email protected]:/mnt/src/avfs/avfscoda$ make
gcc -I../include -DCODAINCLUDE=\"/mnt/src/linux-2.6.5/include/linux/coda.h\"
-Wall -g  -D_FILE_OFFSET_BITS=64 -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS  
-c -o mount.o mount.c
In file included from /usr/include/linux/coda.h:102,
                 from mount.c:16:
/usr/include/linux/time.h:9: redefinition of `struct timespec'
/usr/include/linux/time.h:15: redefinition of `struct timeval'
make: *** [mount.o] Error 1

I tried to predefine definitions to avoid defining structures more than
once, but could not resolve the issue. All files in the avscoda directory
are affected.

Is kernel 2.6.5 supported? Is a fix forthcoming? My goal is to use this with
Rox-Filer.

Thx



-------------------------------------------------------
This SF.net email is sponsored by: The Robotic Monkeys at ThinkGeek
For a limited time only, get FREE Ground shipping on all orders of $35
or more. Hurry up and shop folks, this offer expires April 30th!
http://www.thinkgeek.com/freeshipping/?cpg=12297