Hello
I have identified three problems which needs to be fixed
If it is going to be possible to ever use FAM on a SUN
Workstation.
1) location of mntent.h
As Rolf Sponsel has reported earlier:
mntent.h is in /usr/include/sys/mntent.h
on Solaris 7/8/9
2) Declaration for unsigned integrals.
In several places in the source " u_int32_t "
is used.
Solaris uses the other style " uint32_t "
It is arguable that *NIX operatingsystem should
be able to handle both as FreeBSD does.
Hovewver the /usr/inlclude/sys/types.h in solaris
does not include the former style, only the latter of
these above.
3) The string "sun" is a reserved word.
in ./libfam/Client.c++
the string "sun" is used in eight places.
on a SUN/Solaris system the string "sun" is a
preprocessor define and cant be used for
program variables.
The string "sun" is also used in
./fam/ClientConnection.c++
./fam/ClientConnection.h
./fam/Listener.c++
./fam/LocalClient.c++
./fam/LocalClient.h
./fam/TCP_Client.h
An maybe other places I have not found.
--
========================================================
Lars Tunkrans
|