AFSVolSync solution found

Assar Westerlund assar at sics.se
Wed Mar 11 10:45:31 CET 1998


Cheng Jin <chengjin at eecs.umich.edu> writes:
> I think I found the problem.  There is a file called common.h in rxdef in
> the original distribution, but when I run "make clean" command at the root
> of the source tree, make removes all *.h files in rxdef which include
> common.h.  I was not able to compile arlad after a "make clean."

As Artur already said, we really recommend not building in the source
directory.  Anyways, I believe I've fixed that problem in my current
code and it'll be in the next snapshot.

> removed all -lresolv -lnsl -lsocket from appl/Makefile and
> arlad/Makefile

Where did you get these from?  Those libraries are autoconfed and
would only appear in those Makefiles if you have previously configured
for a machine that requires them, like a solaris box.

> comment out the following in include/config.h
> #define SHADOW...
> #define GETSPNAM...

Same as above.

> uncomment the folllowing in include/config.h
> #define SYSENT ...

See above.

> also #include <sys/sysproto.h> in one of the *.h files in xfs

What was that required for?

> One last problem was with a macro called DIRSIZ, I just borrowed it from
> xfs/linux/xfs/xfs_dirent.h, I had to change "struct xfs_dirent" to "struct
> dirent" to make it compile, but I did not check if that made any sense.

DIRSIZ should be defined in <sys/dir.h> which should be included (if
autoconfs says it's ok).

Could you please fetch a new tar-file and try to build it to see if
these problems you had weren't the result of some strange
configuration you had done?

/assar





More information about the Arla-drinkers mailing list