fam
[Top] [All Lists]

FAM-2.6.10 on SPARC/Solaris 9

To: fam@xxxxxxxxxxx
Subject: FAM-2.6.10 on SPARC/Solaris 9
From: Lars Tunkrans <lars.tunkrans@xxxxxxxxxxxx>
Date: Fri, 02 May 2003 09:52:18 +0200
Organization: None
Sender: fam-bounce@xxxxxxxxxxx
User-agent: Mozilla/5.0 (X11; U; SunOS sun4u; en-US; rv:1.3) Gecko/20030314
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



<Prev in Thread] Current Thread [Next in Thread>
  • FAM-2.6.10 on SPARC/Solaris 9, Lars Tunkrans <=