What you have there are perfectly ordinary software porting problems,
and aren't at all specific to AFS. Um, I don't mind answering these,
but it's possible there are people reading this list who'd rather
not see this - in which case it might be good for them to speak up?
"sigvec" is a BSD style signal routine - you should check to see if
HP-UX has an alternate library (libbsd?) that defines this. Solaris
has such a library--/usr/ucblib/libucb.a; and AIX also has such
a library - /lib/libbsd.a. If the documentation isn't handy or clear,
"nm" is a good way to find out what's actually defined. Perhaps
"getcwd" will be defined there as well. If not, you may have to write
your own "getcwd" (but you should first check the HP-UX documentation
to make sure there isn't another similar routine with slightly
differing calling conventions - if there is one; it's probably
better to call that than to write your own from scratch).
Another thing you can do is to find a copy of "netbsd" or "freebsd";
oftentimes source from there can be ported to other systems
without too much trouble. If you're real lazy and in sort of a hurry,
a copy of freebsd (not the most recent) is in
/afs/umich.edu/group/itd/umich/build/mdw.blaze/freebsd.
You should not need to write your own sigvec, and you almost
certainly would not want to write your own.
-Marcus Watts
UM ITD RS Umich Systems Group