Re: [AVFS] automake status report

Miklos Szeredi <[email protected]> Thu, 09 Jun 2005 16:58:22 +0200
Newsgroups gmane.comp.file-systems.avfs.user
Message-ID <[email protected]>
> On the AIX operating system I encountered some problems.
> First of all I had to change
>   #include <sys/sysmacros>
> in sysdeps.c to
>   #include <sys/sysmacros.h>
> 
> Was the missing .h intended?

No.  I don't know how it worked at all.

> Second, avfs uses a struct vmount but there is another struct in some
> sys includes which of course conflicts with this definition. If we want
> to support aix, we need do rename this structure. Any name suggestion?
> Perhaps just one or two underscores?

Hmm.  Maybe 'avmount'?  Luckily it's only used in a couple of files.

> st_access in state.c is also a problem. For whatever reason "st_access"
> is a reserved symbol so it has to be renamed to build the file. Or would be
> #idef st_access
> #undef st_access
> #endif
> enough?

Renaming is better IMO.  Maybe you could rename all st_ to state_?

> After making these changes the library builds on this system too but
> libtool refuses to build the shared library, only the static library is
> built. But nothing to worry about at the moment :-)
> On this machine I tested the compilers gcc-2.9, gcc-3.4.3 and the ibm
> compiler xlc. All three work.
> 
> Finally some words about installing. A great benefit of the automake
> stuff is of course the install/uninstall targets. avfs can be installed
> using DESTDIR without problems except for the avfscoda installation when
> it's installed without root permissions so "depmod" fails of course.
> The most critical part (if at all) are the rc files for the different
> distributions. I wasn't able to test all different installations but all
> necessary files should be installed to the correct locations (just like
> avfs-0.9.3). But some testing for this is needed.
> 
> Next step will be the update of extfs handlers.

You're doing great work.  Thanks again!

Miklos


-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games.  How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy.  
Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20