Comment 4 for bug 1319336

Revision history for this message
Russ Allbery (rra-debian) wrote : Re: [Bug 1319336] Re: Cannot compile external software against OpenAFS headers any more

Christian Ambach <email address hidden> writes:

> It seems that I can somehow work around it by avoiding the inclusion of
> afs.h and use other headers like afs_args.h to get to the information
> that is needed for the build.

> But if those files are not considered as part of the OpenAFS API, they
> might suffer from the same problem in the future, so it would be really
> good to have a defined set of headers that can be used when building
> against OpenAFS.

It would be very good to have that. Unfortunately, such a thing doesn't
really exist. There's never been a stable OpenAFS API, and the last that
I heard upstream was still uncomfortable with declaring a stable API.

The ABI is relatively stable, once you can get things to link, at least
for libafsauthent and libafsrpc. But the headers change from time to time
in ways that aren't very backward-compatible. (libkopenafs is an
exception; I wrote it from the start to have a very stable API and ABI.
But that's not the functionality you're looking for, I suspect.)

--
Russ Allbery (<email address hidden>) <http://www.eyrie.org/~eagle/>