bug-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

fatfs compilation error


From: christian nastasi
Subject: fatfs compilation error
Date: Mon, 11 Jun 2007 13:19:30 +0200

Hi all,
I decided to work on a HURD public machine to develop my vfat translator.
First of all I retrieve the latest version of the fatfs translator, then I decided to build it "stand-alone".
So I created a little makefile to compile the fatfs translator out of the hurd cvs dir using the system installed headers and libs.
It seemed to work, but when the compiler worked on inode.c it came to me this error:

gcc -g -c -D_GNU_SOURCE=1 -I./.  inode.c -o inode.o
inode.c: In function 'read_node':
inode.c:272: warning: initialization from incompatible pointer type
inode.c:303: warning: comparison between pointer and integer
inode.c:389: error: 'struct stat' has no member named 'st_ctime_usec'
inode.c:389: error: 'struct stat' has no member named 'st_mtime_usec'
inode.c:389: error: 'struct stat' has no member named 'st_atime_usec'
inode.c: In function 'write_node':
inode.c:460: warning: initialization from incompatible pointer type
inode.c: At top level:
inode.c:637: error: conflicting types for 'diskfs_set_statfs'
/usr/include/hurd/diskfs.h:292: error: previous declaration of 'diskfs_set_statfs' was here
make: *** [inode.o] Error 1

Maybe the installed hurd headers are of different version?
Somebody could help?

Thanks for your time.

--
Christian Nastasi  

GNU's Better
reply via email to

[Prev in Thread] Current Thread [Next in Thread]