LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 02-02-2005, 01:49 AM   #1
rebelcan
Member
 
Registered: Jun 2003
Location: British Columbia, Canada
Distribution: Debian unstable
Posts: 83

Rep: Reputation: 15
davfs compile problems with linux 2.6.9


i'm trying to compile davfs from the davfs2-0.2.2 source on debian unstable. i keep getting this output from make, no matter what options i give configure:

Code:
gcc -DHAVE_CONFIG_H  -I/root/ucfv/davfs2-0.2.2 -I./lib  -I/usr/src/linux/include -I./src  -g -O2 -I/usr/include/neon -DNEON_ZLIB -DNEON_SSL -c src/davfsd.c -o src/davfsd.o
In file included from /usr/src/linux/include/linux/coda.h:102,
                 from src/davfsd.c:39:
/usr/src/linux/include/linux/time.h:9: error: redefinition of `struct timespec'
/usr/src/linux/include/linux/time.h:15: error: redefinition of `struct timeval'
/usr/src/linux/include/linux/time.h:20: error: redefinition of `struct timezone'
In file included from /usr/src/linux/include/linux/coda.h:102,
                 from src/davfsd.c:39:
/usr/src/linux/include/linux/time.h:384:1: warning: "FD_SET" redefined
In file included from /usr/include/sys/types.h:216,
                 from /usr/include/bits/fcntl.h:25,
                 from /usr/include/fcntl.h:33,
                 from src/davfsd.c:23:
/usr/include/sys/select.h:93:1: warning: this is the location of the previous definition
In file included from /usr/src/linux/include/linux/coda.h:102,
                 from src/davfsd.c:39:
/usr/src/linux/include/linux/time.h:385:1: warning: "FD_CLR" redefined
In file included from /usr/include/sys/types.h:216,
                 from /usr/include/bits/fcntl.h:25,
                 from /usr/include/fcntl.h:33,
                 from src/davfsd.c:23:
/usr/include/sys/select.h:94:1: warning: this is the location of the previous definition
In file included from /usr/src/linux/include/linux/coda.h:102,
                 from src/davfsd.c:39:
/usr/src/linux/include/linux/time.h:386:1: warning: "FD_ISSET" redefined
In file included from /usr/include/sys/types.h:216,
                 from /usr/include/bits/fcntl.h:25,
                 from /usr/include/fcntl.h:33,
                 from src/davfsd.c:23:
/usr/include/sys/select.h:95:1: warning: this is the location of the previous definition
In file included from /usr/src/linux/include/linux/coda.h:102,
                 from src/davfsd.c:39:
/usr/src/linux/include/linux/time.h:387:1: warning: "FD_ZERO" redefined
In file included from /usr/include/sys/types.h:216,
                 from /usr/include/bits/fcntl.h:25,
                 from /usr/include/fcntl.h:33,
                 from src/davfsd.c:23:
/usr/include/sys/select.h:96:1: warning: this is the location of the previous definition
In file included from /usr/src/linux/include/linux/coda.h:102,
                 from src/davfsd.c:39:
/usr/src/linux/include/linux/time.h:393:1: warning: "ITIMER_REAL" redefined
In file included from src/davfsd.c:34:
/usr/include/sys/time.h:95:1: warning: this is the location of the previous definition
In file included from /usr/src/linux/include/linux/coda.h:102,
                 from src/davfsd.c:39:
/usr/src/linux/include/linux/time.h:394:1: warning: "ITIMER_VIRTUAL" redefined
In file included from src/davfsd.c:34:
/usr/include/sys/time.h:98:1: warning: this is the location of the previous definition
In file included from /usr/src/linux/include/linux/coda.h:102,
                 from src/davfsd.c:39:
/usr/src/linux/include/linux/time.h:395:1: warning: "ITIMER_PROF" redefined
In file included from src/davfsd.c:34:
/usr/include/sys/time.h:102:1: warning: this is the location of the previous definition
/usr/src/linux/include/linux/time.h:397: error: redefinition of `struct itimerspec'
/usr/src/linux/include/linux/time.h:402: error: redefinition of `struct itimerval'
In file included from /usr/src/linux/include/linux/coda.h:102,
                 from src/davfsd.c:39:
/usr/src/linux/include/linux/time.h:427:1: warning: "TIMER_ABSTIME" redefined
In file included from /usr/include/time.h:42,
                 from src/davfsd.c:21:
/usr/include/bits/time.h:55:1: warning: this is the location of the previous definition
src/davfsd.c:227: error: parse error before "id"
src/davfsd.c: In function `look_name':
src/davfsd.c:231: error: `id' undeclared (first use in this function)
src/davfsd.c:231: error: (Each undeclared identifier is reported only once
src/davfsd.c:231: error: for each function it appears in.)
src/davfsd.c:249: error: `is_dir' undeclared (first use in this function)
src/davfsd.c: At top level:
src/davfsd.c:258: error: parse error before "alloc_vfid"
src/davfsd.c: In function `alloc_vfid':
src/davfsd.c:260: error: `ViceFid' undeclared (first use in this function)
src/davfsd.c:260: error: parse error before "res"
src/davfsd.c:275: error: `res' undeclared (first use in this function)
src/davfsd.c: At top level:
src/davfsd.c:372: error: parse error before "id"
src/davfsd.c: In function `get_local_copy':
src/davfsd.c:375: error: `id' undeclared (first use in this function)
src/davfsd.c:379: error: `flags' undeclared (first use in this function)
src/davfsd.c: At top level:
src/davfsd.c:452: error: parse error before "id"
src/davfsd.c: In function `get_dir_copy':
src/davfsd.c:454: error: `id' undeclared (first use in this function)
src/davfsd.c: At top level:
src/davfsd.c:536: error: parse error before "id"
src/davfsd.c: In function `unget_local_copy':
src/davfsd.c:539: error: `id' undeclared (first use in this function)
src/davfsd.c: At top level:
src/davfsd.c:629: error: parse error before "ViceFid"
src/davfsd.c: In function `coda_open':
src/davfsd.c:634: error: `id' undeclared (first use in this function)
src/davfsd.c:635: error: `name' undeclared (first use in this function)
src/davfsd.c:636: error: `out_buf' undeclared (first use in this function)
src/davfsd.c:659: error: `flags' undeclared (first use in this function)
src/davfsd.c:660: error: `server_nolocks' undeclared (first use in this function)
src/davfsd.c:674: error: `in_buf' undeclared (first use in this function)
src/davfsd.c: In function `main':
src/davfsd.c:894: error: incompatible types in assignment
src/davfsd.c:895: error: structure has no member named `Unique'
src/davfsd.c:921: error: structure has no member named `Unique'
src/davfsd.c:959: error: incompatible types in assignment
src/davfsd.c:1051: error: structure has no member named `Unique'
src/davfsd.c:1067: error: incompatible types in assignment
src/davfsd.c:1068: error: structure has no member named `Unique'
src/davfsd.c:1082: error: incompatible types in assignment
make: *** [src/davfsd.o] Error 1
and i'm not much of a source code hacker, so does anybody know what I can do to get davfs to compile?

thanks in advance,
rebel
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
compile problems edgjerp Mandriva 2 12-08-2004 02:51 PM
DAVfs - FC2 tokehs Linux - Software 0 09-13-2004 09:54 AM
problems after compile Gunslinger_ROL Slackware 7 06-18-2004 12:20 AM
Compile problems alaios Linux - General 1 05-13-2004 04:01 AM
Linux Kernel Compile Problems gamehack Slackware 4 04-18-2004 07:02 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 11:43 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration