Hello Alexander!

On Friday 07 December 2007 Alexander Skwar wrote:
> I just checked out Revision 1254 of fsvs from the tigris svn repository.
> Now I'm trying to compile it on a Solaris 10 3/05 Sparc system. This
> fails:
...
> Well, yes, there's no "linux/kdev_t.h" on this system - it's a
> Solaris system :)
>
> Is that a fault of fsvs or of somethign else?
That's a fault of FSVS, of course ... at least of the configure part.

There should be some header file on your system that has definitions of 
MAJOR(), MINOR() and MAKEDEV(); if you can tell me that, I could try to look 
for that in configure.in, too. (Better if you post a patch.)


Alternatively, there are some (default) definitions FSVS could try to use - 
although if they don't match your systems' way, you won't be able to use the 
ignore patterns for device and inode numbers.
Internal operation should work.

Here's a patch, maybe that works for you.


Regards,

Phil


diff configure.in
Index: configure.in
===================================================================
--- configure.in        (Revision 1254)
+++ configure.in        (Arbeitskopie)
@@ -120,7 +120,7 @@ AC_SUBST(HAVE_VALGRIND_H)

 AC_CHECK_HEADERS([linux/kdev_t.h],
        [],
-       [AC_MSG_FAILURE([
+       [AC_MSG_WARN([
 *** MAJOR(), MINOR() and MAKEDEV() definitions not found.
 *** I'll fake a definition, but that could make problems for ignore patterns
 *** and commits/updates of device nodes.


-- 
Versioning your /etc, /home or even your whole installation?
             Try fsvs (fsvs.tigris.org)!

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to