#17 mount.davfs compile problem 0.2.1

closed
SungHun Kim
5
2001-12-21
2001-09-10
Ross Campbell
No

System is redhat 5.2 with kernel 2.4.9-pre9.
gcc-2.95.1, glibc-2.0, and all latest gnu utils. module
and davfsd compile fine, but mount.davfs gives
following compile errors:

root@vmware[743]% gmake
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include
-I../expat -I.. -Wall -c mount.davfs.c
In file included from mount.davfs.c:46:
mount.davfs.h:49: parse error before `uint32_t'
mount.davfs.h:49: warning: no semicolon at end of
struct or union
mount.davfs.h:71: parse error before `}'
mount.davfs.c: In function `mount_parseurl':
mount.davfs.c:199: dereferencing pointer to incomplete
type
mount.davfs.c:201: dereferencing pointer to incomplete
type
mount.davfs.c:216: dereferencing pointer to incomplete
type
mount.davfs.c:217: dereferencing pointer to incomplete
type
mount.davfs.c:218: dereferencing pointer to incomplete
type
mount.davfs.c: In function `parse_args':
mount.davfs.c:344: dereferencing pointer to incomplete
type
mount.davfs.c:351: dereferencing pointer to incomplete
type
mount.davfs.c:357: dereferencing pointer to incomplete
type
mount.davfs.c:360: dereferencing pointer to incomplete
type
mount.davfs.c:363: dereferencing pointer to incomplete
type
mount.davfs.c:372: dereferencing pointer to incomplete
type
mount.davfs.c:372: dereferencing pointer to incomplete
type
mount.davfs.c:372: dereferencing pointer to incomplete
type
mount.davfs.c:373: dereferencing pointer to incomplete
type
mount.davfs.c:373: dereferencing pointer to incomplete
type
mount.davfs.c: In function `talktodavfsd':
mount.davfs.c:469: dereferencing pointer to incomplete
type
mount.davfs.c:487: dereferencing pointer to incomplete
type
mount.davfs.c:490: dereferencing pointer to incomplete
type
mount.davfs.c:493: dereferencing pointer to incomplete
type
mount.davfs.c: In function `main':
mount.davfs.c:509: storage size of `data' isn't known
mount.davfs.c:509: warning: unused variable `data'
gmake: *** [mount.davfs.o] Error 1
root@vmware[744]% pwd
/tmp/davfs-0.2.1/mount

Discussion

  • SungHun Kim
    SungHun Kim
    2001-09-10

    Logged In: YES
    user_id=206854

    Thanks for your report.

    Would you like to try to canged uint32_t to unsigned int?

    Also I checked out to our CVS tree.

     
  • SungHun Kim
    SungHun Kim
    2001-09-10

    • assigned_to: nobody --> hunkim
     
  • Ross Campbell
    Ross Campbell
    2001-09-10

    Logged In: YES
    user_id=26365

    changed uint32_t to unsigned int in mount.davfs.h and it now
    compiles.

     
  • SungHun Kim
    SungHun Kim
    2001-12-21

    • status: open --> closed