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?