Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#29 Can't compile with kernel 2.5.x

closed-out-of-date
nobody
None
5
2006-02-28
2003-02-04
Anonymous
No

I couldn't compile this with kernel 2.5.59.

Discussion

  • SungHun Kim
    SungHun Kim
    2003-02-05

    Logged In: YES
    user_id=206854

    Which davfs module did you compile?
    davfs or davfs2?

    davfs2 is kind of kernel independent, unless coda is not
    changed a lot.

    Let me know, what module did you use and what error
    messages did you have.

    Thanks

     
  • Logged In: NO

    Can't compile with 2.4.22, either.

    Debian unstable, libneon 0.24.4 (dev) installed. Kernel
    headers installed for current running kernel (2.4.22-3). I
    can't quite figure out why I'm getting redefinition errors,
    since all the headers I've checked seem to contain
    #ifndef/#define redefinition preventers. Moving
    linux/coda.h to the head of the includes changes the errors,
    but does not remove them.

    Ah, problem found. Debian uses gcc 3.3, which requires
    kernel headers, so it has a package, linux-kernel-headers,
    which installs the headers system-wide. This massively
    breaks things, because the headers are for 2.6.0-test7 (at
    the moment). It appears that these headers are hugely
    incompatible with davfs (messages below; I suppose it
    shouldn't be hard to reproduce by trying to build on a 2.6
    system). Workaround: use correct /usr/include/linux and
    /usr/include/asm. For debian, install the appropriate
    kernel-headers package (in distinction to
    linux-kernel-headers), mv /usr/include/linux and
    /usr/include/asm out of the way (assuming you want to
    recover them later), ln -s
    /usr/src/kernel-headers-blah/include/linux ; ln -s
    /usr/src/kernel-headers-blah/include asm (both from inside
    /usr/include, that is).

    gcc -DHAVE_CONFIG_H -I/usr/src/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/include/linux/coda.h:102,
    from src/davfsd.c:39:
    /usr/include/linux/time.h:9: error: redefinition of `struct
    timespec'
    /usr/include/linux/time.h:15: error: redefinition of `struct
    timeval'
    /usr/include/linux/time.h:20: error: redefinition of `struct
    timezone'
    /usr/include/linux/time.h:354: error: redefinition of
    `struct itimerspec'
    /usr/include/linux/time.h:359: error: redefinition of
    `struct itimerval'
    src/davfsd.c: In function `setfscred':
    src/davfsd.c:128: error: structure has no member named `cred'
    src/davfsd.c:129: error: structure has no member named `cred'
    src/davfsd.c: At top level:
    src/davfsd.c:227: error: syntax 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: syntax 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: syntax 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: syntax 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: syntax 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: syntax 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: syntax 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

     
  • Tom
    Tom
    2004-02-19

    Logged In: YES
    user_id=259888

    I've got exactly the same problem with kernel 2.6.3.
    I've also created the symlinks mentioned above but that did not change things.

    I'm using davfs2-0.2.2.tar.gz

     
  • RegularFry
    RegularFry
    2004-03-20

    Logged In: YES
    user_id=1002605

    Thought I'd just confirm that the same problem exists with kernel 2.6.4 and
    shifted symlinks.

     
  • Patrick Earl
    Patrick Earl
    2004-03-30

    Logged In: YES
    user_id=730

    If the #include <linux/time.h> line is removed from the
    coda.h header, the davfs2 source will compile better.

    Note that the coda API has changed a bit in the 2.6 kernel.

    It looks like there is a patch available in the patches
    section, but if that doesn't work for you, I have a version
    here that works for me with linux 2.6.1 and likely other
    versions.

    http://patearl.net/projects/davfs2/davfs2-0.2.2-pat.tar.gz

     
  • Tom
    Tom
    2004-10-21

    Logged In: YES
    user_id=7977

    What version of davfs are you using? Try CVS. There was a
    commit on Sept 1 that fixed builds on 2.6 kernels. Worked for
    me with 2.6.7

     
  • gcb
    gcb
    2005-02-04

    Logged In: YES
    user_id=638018

    /usr/src/davfs2-0.2.2#

    checking for gcc... gcc
    checking for C compiler default output... a.out
    checking whether the C compiler works... yes
    checking whether we are cross compiling... no
    checking for suffix of executables...
    checking for suffix of object files... o
    checking whether we are using the GNU C compiler... yes
    checking whether gcc accepts -g... yes
    checking whether make sets ${MAKE}... yes
    checking for a BSD-compatible install... /usr/bin/install -c
    checking for gcc option to accept ANSI C... none needed
    checking for strerror in -lcposix... no
    checking for inline... inline
    checking for an ANSI C-conforming const... yes
    checking how to run the C preprocessor... gcc -E
    checking for ANSI C header files... yes
    checking for sys/types.h... yes
    checking for sys/stat.h... yes
    checking for stdlib.h... yes
    checking for string.h... yes
    checking for memory.h... yes
    checking for strings.h... yes
    checking for inttypes.h... yes
    checking for stdint.h... yes
    checking for unistd.h... yes
    checking for size_t... yes
    checking for off_t... yes
    checking for Darwin... no
    checking for int... yes
    checking size of int... 4
    checking for long... yes
    checking size of long... 4
    checking for long long... yes
    checking size of long long... 8
    checking for gcc -Wformat -Werror sanity... yes
    checking errno.h usability... yes
    checking errno.h presence... yes
    checking for errno.h... yes
    checking stdarg.h usability... yes
    checking stdarg.h presence... yes
    checking for stdarg.h... yes
    checking for string.h... (cached) yes
    checking for stdlib.h... (cached) yes
    checking for size_t... (cached) yes
    checking size of size_t... 4
    checking how to print size_t... u
    checking for off_t... (cached) yes
    checking size of off_t... 4
    checking how to print off_t... ld
    checking for ssize_t... yes
    checking size of ssize_t... 4
    checking how to print ssize_t... d
    checking whether byte ordering is bigendian... no
    checking whether strerror_r is declared... yes
    checking for strerror_r... yes
    checking whether strerror_r returns char *... yes
    checking for snprintf... yes
    checking for vsnprintf... yes
    checking for ar... /usr/bin/ar
    checking for ranlib... /usr/bin/ranlib
    checking for neon-config... none
    configure: no external neon library found
    configure: using bundled neon (0.24.4)
    checking for strings.h... (cached) yes
    checking sys/time.h usability... yes
    checking sys/time.h presence... yes
    checking for sys/time.h... yes
    checking limits.h usability... yes
    checking limits.h presence... yes
    checking for limits.h... yes
    checking sys/select.h usability... yes
    checking sys/select.h presence... yes
    checking for sys/select.h... yes
    checking arpa/inet.h usability... yes
    checking arpa/inet.h presence... yes
    checking for arpa/inet.h... yes
    checking signal.h usability... yes
    checking signal.h presence... yes
    checking for signal.h... yes
    checking sys/socket.h usability... yes
    checking sys/socket.h presence... yes
    checking for sys/socket.h... yes
    checking netinet/in.h usability... yes
    checking netinet/in.h presence... yes
    checking for netinet/in.h... yes
    checking netinet/tcp.h usability... yes
    checking netinet/tcp.h presence... yes
    checking for netinet/tcp.h... yes
    checking netdb.h usability... yes
    checking netdb.h presence... yes
    checking for netdb.h... yes
    checking for strcasecmp... yes
    checking for signal... yes
    checking for setvbuf... yes
    checking for setsockopt... yes
    checking for stpcpy... yes
    checking for library containing socket... none needed
    checking for library containing gethostbyname... none needed
    checking for getaddrinfo... yes
    checking for gai_strerror... yes
    checking for inet_ntop... yes
    checking for working AI_ADDRCONFIG... yes
    checking for struct tm.tm_gmtoff... yes
    checking whether to enable ACL support in neon... no
    checking for krb5-config... none
    checking whether to enable WebDAV support in neon... yes
    checking for xml2-config... no
    checking expat.h usability... no
    checking expat.h presence... no
    checking for expat.h... no
    configure: XML parser used: bundled expat in
    $(top_builddir)/expat
    checking for getopt_long... yes
    checking for snprintf... (cached) yes
    checking for pid_t... yes
    checking whether time.h and sys/time.h may both be
    included... yes
    checking for sys/time.h... (cached) yes
    checking for pipe... yes
    checking for isatty... yes
    checking for usleep... yes
    checking for shutdown... yes
    checking for time_t... yes
    checking size of time_t... 4
    checking how to print time_t... ld
    configure: debugging is enabled
    configure: creating ./config.status
    config.status: creating Makefile
    config.status: creating libneon/Makefile
    config.status: creating config.h

    Using configuration for building DAVFS2 0.2.2:

    Install prefix: /usr/local
    Compiler: gcc
    neon library: included libneon (0.24.4)
    XML parser: bundled expat in $(top_builddir)/expat
    SSL library: No SSL support

    Now run 'make' to compile DAVFS2

    gcc -DHAVE_CONFIG_H -DXML_BYTE_ORDER=12 -DXML_DTD
    -I./expat/xmlparse -I./expat/xmltok -I/usr/src/davfs2-0.2.2
    -I./lib -I/usr/src/linux/include -I./src -g -O2
    -I./libneon -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: In function `setfscred':
    src/davfsd.c:128: error: structure has no member named `cred'
    src/davfsd.c:129: error: structure has no member named `cred'
    src/davfsd.c: At top level:
    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

     
  • gcb
    gcb
    2005-02-04

    Logged In: YES
    user_id=638018

    Duh! sorry. didn't see there was a newer version. but no
    luck still :-/

    /usr/src/davfs2-0.2.3# make
    gcc -DHAVE_CONFIG_H -DXML_BYTE_ORDER=12 -DXML_DTD
    -I./expat/xmlparse -I./expat/xmltok -I/usr/src/davfs2-0.2.3
    -I./lib -I/usr/src/linux/include -I./src
    -I/usr/src/linux/include -g -O2 -I./libneon -c src/davfsd.c
    -o src/davfsd.o
    gcc -DHAVE_CONFIG_H -DXML_BYTE_ORDER=12 -DXML_DTD
    -I./expat/xmlparse -I./expat/xmltok -I/usr/src/davfs2-0.2.3
    -I./lib -I/usr/src/linux/include -I./src
    -I/usr/src/linux/include -g -O2 -I./libneon -c src/mount.c
    -o src/mount.o
    gcc -DHAVE_CONFIG_H -DXML_BYTE_ORDER=12 -DXML_DTD
    -I./expat/xmlparse -I./expat/xmltok -I/usr/src/davfs2-0.2.3
    -I./lib -I/usr/src/linux/include -I./src
    -I/usr/src/linux/include -g -O2 -I./libneon -c src/util.c -o
    src/util.o
    gcc -DHAVE_CONFIG_H -DXML_BYTE_ORDER=12 -DXML_DTD
    -I./expat/xmlparse -I./expat/xmltok -I/usr/src/davfs2-0.2.3
    -I./lib -I/usr/src/linux/include -I./src
    -I/usr/src/linux/include -g -O2 -I./libneon -c src/webdav.c
    -o src/webdav.o
    (cd libneon && make) || exit 1
    make[1]: Entering directory `/usr/src/davfs2-0.2.3/libneon'
    gcc -DHAVE_CONFIG_H -DXML_BYTE_ORDER=12 -DXML_DTD
    -I../expat/xmlparse -I../expat/xmltok
    -I/usr/src/davfs2-0.2.3 -I../lib -I/usr/src/linux/include -g
    -O2 -I../libneon -c ne_request.c -o ne_request.o
    gcc -DHAVE_CONFIG_H -DXML_BYTE_ORDER=12 -DXML_DTD
    -I../expat/xmlparse -I../expat/xmltok
    -I/usr/src/davfs2-0.2.3 -I../lib -I/usr/src/linux/include -g
    -O2 -I../libneon -c ne_session.c -o ne_session.o
    gcc -DHAVE_CONFIG_H -DXML_BYTE_ORDER=12 -DXML_DTD
    -I../expat/xmlparse -I../expat/xmltok
    -I/usr/src/davfs2-0.2.3 -I../lib -I/usr/src/linux/include -g
    -O2 -I../libneon -c ne_basic.c -o ne_basic.o
    gcc -DHAVE_CONFIG_H -DXML_BYTE_ORDER=12 -DXML_DTD
    -I../expat/xmlparse -I../expat/xmltok
    -I/usr/src/davfs2-0.2.3 -I../lib -I/usr/src/linux/include -g
    -O2 -I../libneon -c ne_string.c -o ne_string.o
    gcc -DHAVE_CONFIG_H -DXML_BYTE_ORDER=12 -DXML_DTD
    -I../expat/xmlparse -I../expat/xmltok
    -I/usr/src/davfs2-0.2.3 -I../lib -I/usr/src/linux/include -g
    -O2 -I../libneon -c ne_uri.c -o ne_uri.o
    gcc -DHAVE_CONFIG_H -DXML_BYTE_ORDER=12 -DXML_DTD
    -I../expat/xmlparse -I../expat/xmltok
    -I/usr/src/davfs2-0.2.3 -I../lib -I/usr/src/linux/include -g
    -O2 -I../libneon -c ne_dates.c -o ne_dates.o
    gcc -DHAVE_CONFIG_H -DXML_BYTE_ORDER=12 -DXML_DTD
    -I../expat/xmlparse -I../expat/xmltok
    -I/usr/src/davfs2-0.2.3 -I../lib -I/usr/src/linux/include -g
    -O2 -I../libneon -c ne_alloc.c -o ne_alloc.o
    gcc -DHAVE_CONFIG_H -DXML_BYTE_ORDER=12 -DXML_DTD
    -I../expat/xmlparse -I../expat/xmltok
    -I/usr/src/davfs2-0.2.3 -I../lib -I/usr/src/linux/include -g
    -O2 -I../libneon -c ne_md5.c -o ne_md5.o
    gcc -DHAVE_CONFIG_H -DXML_BYTE_ORDER=12 -DXML_DTD
    -I../expat/xmlparse -I../expat/xmltok
    -I/usr/src/davfs2-0.2.3 -I../lib -I/usr/src/linux/include -g
    -O2 -I../libneon -c ne_utils.c -o ne_utils.o
    gcc -DHAVE_CONFIG_H -DXML_BYTE_ORDER=12 -DXML_DTD
    -I../expat/xmlparse -I../expat/xmltok
    -I/usr/src/davfs2-0.2.3 -I../lib -I/usr/src/linux/include -g
    -O2 -I../libneon -c ne_socket.c -o ne_socket.o
    gcc -DHAVE_CONFIG_H -DXML_BYTE_ORDER=12 -DXML_DTD
    -I../expat/xmlparse -I../expat/xmltok
    -I/usr/src/davfs2-0.2.3 -I../lib -I/usr/src/linux/include -g
    -O2 -I../libneon -c ne_auth.c -o ne_auth.o
    gcc -DHAVE_CONFIG_H -DXML_BYTE_ORDER=12 -DXML_DTD
    -I../expat/xmlparse -I../expat/xmltok
    -I/usr/src/davfs2-0.2.3 -I../lib -I/usr/src/linux/include -g
    -O2 -I../libneon -c ne_cookies.c -o ne_cookies.o
    gcc -DHAVE_CONFIG_H -DXML_BYTE_ORDER=12 -DXML_DTD
    -I../expat/xmlparse -I../expat/xmltok
    -I/usr/src/davfs2-0.2.3 -I../lib -I/usr/src/linux/include -g
    -O2 -I../libneon -c ne_redirect.c -o ne_redirect.o
    gcc -DHAVE_CONFIG_H -DXML_BYTE_ORDER=12 -DXML_DTD
    -I../expat/xmlparse -I../expat/xmltok
    -I/usr/src/davfs2-0.2.3 -I../lib -I/usr/src/linux/include -g
    -O2 -I../libneon -c ne_compress.c -o ne_compress.o
    gcc -DHAVE_CONFIG_H -DXML_BYTE_ORDER=12 -DXML_DTD
    -I../expat/xmlparse -I../expat/xmltok
    -I/usr/src/davfs2-0.2.3 -I../lib -I/usr/src/linux/include -g
    -O2 -I../libneon -c ne_207.c -o ne_207.o
    gcc -DHAVE_CONFIG_H -DXML_BYTE_ORDER=12 -DXML_DTD
    -I../expat/xmlparse -I../expat/xmltok
    -I/usr/src/davfs2-0.2.3 -I../lib -I/usr/src/linux/include -g
    -O2 -I../libneon -c ne_xml.c -o ne_xml.o
    ne_xml.c:44:22: xmlparse.h: No such file or directory
    ne_xml.c:48: error: parse error before "ne_xml_char"
    ne_xml.c:48: warning: data definition has no type or storage
    class
    ne_xml.c:75: warning: no semicolon at end of struct or union
    ne_xml.c:75: error: parse error before '*' token
    ne_xml.c:76: warning: data definition has no type or storage
    class
    ne_xml.c:81: error: parse error before '*' token
    ne_xml.c:81: warning: data definition has no type or storage
    class
    ne_xml.c:87: error: parse error before '}' token
    ne_xml.c:103: error: parse error before "XML_Parser"
    ne_xml.c:103: warning: no semicolon at end of struct or union
    ne_xml.c:109: error: parse error before '}' token
    ne_xml.c:112: error: parse error before '*' token
    ne_xml.c:113: error: parse error before '*' token
    ne_xml.c:114: error: parse error before '*' token
    ne_xml.c:120: error: parse error before "ne_xml_char"
    ne_xml.c:120: warning: no semicolon at end of struct or union
    ne_xml.c:121: warning: data definition has no type or
    storage class
    ne_xml.c:123: error: parse error before '}' token
    ne_xml.c:169: error: parse error before '*' token
    ne_xml.c: In function `decl_handler':
    ne_xml.c:172: error: `userdata' undeclared (first use in
    this function)
    ne_xml.c:172: error: (Each undeclared identifier is reported
    only once
    ne_xml.c:172: error: for each function it appears in.)
    ne_xml.c:173: error: dereferencing pointer to incomplete type
    ne_xml.c: In function `ne_xml_currentline':
    ne_xml.c:181: error: dereferencing pointer to incomplete type
    ne_xml.c: In function `ne_xml_doc_encoding':
    ne_xml.c:192: error: dereferencing pointer to incomplete type
    ne_xml.c: At top level:
    ne_xml.c:198: error: parse error before '*' token
    ne_xml.c: In function `declare_nspaces':
    ne_xml.c:202: error: `atts' undeclared (first use in this
    function)
    ne_xml.c:205: error: `elm' undeclared (first use in this
    function)
    ne_xml.c:210: error: `p' undeclared (first use in this function)
    ne_xml.c:217: error: dereferencing pointer to incomplete type
    ne_xml.c:218: error: dereferencing pointer to incomplete type
    ne_xml.c:220: error: dereferencing pointer to incomplete type
    ne_xml.c:221: error: dereferencing pointer to incomplete type
    ne_xml.c: At top level:
    ne_xml.c:231: error: parse error before '*' token
    ne_xml.c: In function `expand_qname':
    ne_xml.c:233: error: syntax error before '*' token
    ne_xml.c:235: error: `pfx' undeclared (first use in this
    function)
    ne_xml.c:235: error: `qname' undeclared (first use in this
    function)
    ne_xml.c:237: error: `elm' undeclared (first use in this
    function)
    ne_xml.c:241: error: dereferencing pointer to incomplete type
    ne_xml.c:242: error: dereferencing pointer to incomplete type
    ne_xml.c:245: error: dereferencing pointer to incomplete type
    ne_xml.c:252: error: `p' undeclared (first use in this function)
    ne_xml.c: At top level:
    ne_xml.c:270: error: parse error before '*' token
    ne_xml.c: In function `start_element':
    ne_xml.c:273: error: `userdata' undeclared (first use in
    this function)
    ne_xml.c:278: error: dereferencing pointer to incomplete type
    ne_xml.c:280: error: dereferencing pointer to incomplete type
    ne_xml.c:281: error: dereferencing pointer to incomplete type
    ne_xml.c:286: error: dereferencing pointer to incomplete type
    ne_xml.c:287: error: dereferencing pointer to incomplete type
    ne_xml.c:287: error: dereferencing pointer to incomplete type
    ne_xml.c:288: error: dereferencing pointer to incomplete type
    ne_xml.c:290: error: `atts' undeclared (first use in this
    function)
    ne_xml.c:291: error: dereferencing pointer to incomplete type
    ne_xml.c:296: error: dereferencing pointer to incomplete type
    ne_xml.c:298: error: dereferencing pointer to incomplete type
    ne_xml.c:299: error: dereferencing pointer to incomplete type
    ne_xml.c:300: error: dereferencing pointer to incomplete type
    ne_xml.c:300: error: dereferencing pointer to incomplete type
    ne_xml.c:304: error: dereferencing pointer to incomplete type
    ne_xml.c:304: error: dereferencing pointer to incomplete type
    ne_xml.c:304: error: dereferencing pointer to incomplete type
    ne_xml.c:307: error: dereferencing pointer to incomplete type
    ne_xml.c:310: error: dereferencing pointer to incomplete type
    ne_xml.c:312: error: dereferencing pointer to incomplete type
    ne_xml.c: In function `destroy_element':
    ne_xml.c:319: error: dereferencing pointer to incomplete type
    ne_xml.c:321: error: dereferencing pointer to incomplete type
    ne_xml.c:323: error: dereferencing pointer to incomplete type
    ne_xml.c:324: error: dereferencing pointer to incomplete type
    ne_xml.c:325: error: dereferencing pointer to incomplete type
    ne_xml.c:329: error: dereferencing pointer to incomplete type
    ne_xml.c:330: error: dereferencing pointer to incomplete type
    ne_xml.c: At top level:
    ne_xml.c:335: error: parse error before '*' token
    ne_xml.c: In function `char_data':
    ne_xml.c:337: error: `userdata' undeclared (first use in
    this function)
    ne_xml.c:338: error: dereferencing pointer to incomplete type
    ne_xml.c:340: error: dereferencing pointer to incomplete type
    ne_xml.c:340: error: dereferencing pointer to incomplete type
    ne_xml.c:342: error: dereferencing pointer to incomplete type
    ne_xml.c:343: error: dereferencing pointer to incomplete type
    ne_xml.c:343: error: dereferencing pointer to incomplete type
    ne_xml.c:343: error: dereferencing pointer to incomplete type
    ne_xml.c:343: error: `data' undeclared (first use in this
    function)
    ne_xml.c:343: error: `len' undeclared (first use in this
    function)
    ne_xml.c:345: error: dereferencing pointer to incomplete type
    ne_xml.c: At top level:
    ne_xml.c:350: error: parse error before '*' token
    ne_xml.c: In function `end_element':
    ne_xml.c:352: error: `userdata' undeclared (first use in
    this function)
    ne_xml.c:353: error: dereferencing pointer to incomplete type
    ne_xml.c:355: error: dereferencing pointer to incomplete type
    ne_xml.c:357: error: dereferencing pointer to incomplete type
    ne_xml.c:358: error: dereferencing pointer to incomplete type
    ne_xml.c:359: error: dereferencing pointer to incomplete type
    ne_xml.c:360: error: dereferencing pointer to incomplete type
    ne_xml.c:360: error: dereferencing pointer to incomplete type
    ne_xml.c:360: error: dereferencing pointer to incomplete type
    ne_xml.c:361: error: dereferencing pointer to incomplete type
    ne_xml.c:361: error: dereferencing pointer to incomplete type
    ne_xml.c:362: error: dereferencing pointer to incomplete type
    ne_xml.c:363: error: dereferencing pointer to incomplete type
    ne_xml.c:367: error: dereferencing pointer to incomplete type
    ne_xml.c:367: error: dereferencing pointer to incomplete type
    ne_xml.c:367: error: dereferencing pointer to incomplete type
    ne_xml.c:370: error: dereferencing pointer to incomplete type
    ne_xml.c:370: error: dereferencing pointer to incomplete type
    ne_xml.c:371: error: dereferencing pointer to incomplete type
    ne_xml.c: In function `resolve_nspace':
    ne_xml.c:384: error: dereferencing pointer to incomplete type
    ne_xml.c:387: error: dereferencing pointer to incomplete type
    ne_xml.c:387: error: dereferencing pointer to incomplete type
    ne_xml.c:388: error: dereferencing pointer to incomplete type
    ne_xml.c:389: error: dereferencing pointer to incomplete type
    ne_xml.c:390: error: dereferencing pointer to incomplete type
    ne_xml.c: In function `ne_xml_create':
    ne_xml.c:399: error: dereferencing pointer to incomplete type
    ne_xml.c:401: error: dereferencing pointer to incomplete type
    ne_xml.c:403: error: dereferencing pointer to incomplete type
    ne_xml.c:403: error: dereferencing pointer to incomplete type
    ne_xml.c:403: error: dereferencing pointer to incomplete type
    ne_xml.c:404: error: dereferencing pointer to incomplete type
    ne_xml.c:405: error: dereferencing pointer to incomplete type
    ne_xml.c:406: error: dereferencing pointer to incomplete type
    ne_xml.c:408: error: dereferencing pointer to incomplete type
    ne_xml.c:409: error: dereferencing pointer to incomplete type
    ne_xml.c:412: error: dereferencing pointer to incomplete type
    ne_xml.c:413: error: dereferencing pointer to incomplete type
    ne_xml.c:414: error: dereferencing pointer to incomplete type
    ne_xml.c:415: error: dereferencing pointer to incomplete type
    ne_xml.c: In function `ne_xml_push_handler':
    ne_xml.c:442: error: dereferencing pointer to incomplete type
    ne_xml.c:443: error: dereferencing pointer to incomplete type
    ne_xml.c:444: error: dereferencing pointer to incomplete type
    ne_xml.c:446: error: dereferencing pointer to incomplete type
    ne_xml.c:447: error: dereferencing pointer to incomplete type
    ne_xml.c: In function `ne_xml_parse':
    ne_xml.c:465: error: dereferencing pointer to incomplete type
    ne_xml.c:482: error: dereferencing pointer to incomplete type
    ne_xml.c:484: error: dereferencing pointer to incomplete type
    ne_xml.c:485: error: dereferencing pointer to incomplete type
    ne_xml.c:487: error: dereferencing pointer to incomplete type
    ne_xml.c:488: error: dereferencing pointer to incomplete type
    ne_xml.c:489: error: dereferencing pointer to incomplete type
    ne_xml.c: In function `ne_xml_valid':
    ne_xml.c:506: error: dereferencing pointer to incomplete type
    ne_xml.c: In function `ne_xml_destroy':
    ne_xml.c:516: error: dereferencing pointer to incomplete type
    ne_xml.c:522: error: dereferencing pointer to incomplete type
    ne_xml.c:522: error: dereferencing pointer to incomplete type
    ne_xml.c:523: error: dereferencing pointer to incomplete type
    ne_xml.c:528: error: dereferencing pointer to incomplete type
    ne_xml.c:531: error: dereferencing pointer to incomplete type
    ne_xml.c:532: error: dereferencing pointer to incomplete type
    ne_xml.c:532: error: dereferencing pointer to incomplete type
    ne_xml.c: In function `ne_xml_set_error':
    ne_xml.c:542: error: dereferencing pointer to incomplete type
    ne_xml.c: In function `ne_xml_get_error':
    ne_xml.c:566: error: dereferencing pointer to incomplete type
    ne_xml.c: In function `ne_xml_get_attr':
    ne_xml.c:584: error: dereferencing pointer to incomplete type
    make[1]: *** [ne_xml.o] Error 1
    make[1]: Leaving directory `/usr/src/davfs2-0.2.3/libneon'
    make: *** [subdirs] Error 1

    it's debian 3.1 unstable.

    After i searched for the missing .h file in the debian site,
    i installed libwww-ssl-dev

    then 'make clean; configure; make' Worked!

    but 'make test' failed. What should i post here now?

    Anyway, i did a make install because i'm reckless :)
    Well, i tested and it mounted the dav allright! so i will
    just belive the tests are not updated to the latest version...

    Thanks!

     
  • Werner Baumann
    Werner Baumann
    2006-02-14

    Logged In: YES
    user_id=1260327

    Hello,

    I am trying to work off old bugs and can not determine
    whether this bug is already fixed.

    Please try our latest release and submit a *new* bug report
    if the problem is not solved there.

    Werner

     
  • Werner Baumann
    Werner Baumann
    2006-02-28

    • status: open --> closed-out-of-date