[email protected] (Aaron M. Ucko) writes:

> OpenAFS could probably adapt by changing h, netinet, and sys under
> MODLOAD-* from symlinks to .../include/linux to directories containing
> forwarding headers; I'm not sure which specific headers would need such
> treatment, but I suspect there are quite a few.

I think that would be these headers:

cd src/afs
egrep -r '#include +["<](sys|netinet|h)/' *.[ch] LINUX/ | awk '{ print $2 }' | 
sed -e 's,\.\./,,' -e 's/["<>]//g' | sort -u

and as near as I can tell, on Linux, all those headers have the same name
but just have no directory prefix.  So netinet/in.h becomes just in.h,
sys/types.h becomes just types.h, etc.  Does that look right to you?

If so, could you try deleting the h, netinet, and sys symlinks, replace
them with directories, and run:

for f in `cat files`; do
    echo '#include <'$(basename $f)'>' > $f
done

and then see if that makes the build work?  You'll have to do this after
make_kbuild_makefile.pl runs.  (If that's more complexity to testing than
you can easily do, I'll be able to look at it eventually, but I don't have
the new kbuild infrastructure installed anywhere yet.)

rx may require similar treatment.

-- 
Russ Allbery ([email protected])               <http://www.eyrie.org/~eagle/>



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to