Compilation Problems Samba TNG-2.5 --with-profile

Paul J Collins pjdc at eircom.net
Sat Apr 29 14:52:17 GMT 2000


>>>>> "Naseer" == Naseer Bhatti <geniusbhatti at hotmail.com> writes:

    Naseer> Hello. I am trying to compile samba-tng-2.5 --with-profile option and 
    Naseer> getting this error.

    Naseer> Compiling printing/lpq_parse.c
    Naseer> Compiling profile/profile.c
    Naseer> profile/profile.c: In function `profile_setup':
    Naseer> profile/profile.c:45: storage size of `shm_ds' isn't known
    Naseer> profile/profile.c:58: `IPC_CREAT' undeclared (first use in this function)
    Naseer> profile/profile.c:58: (Each undeclared identifier is reported only once
    Naseer> profile/profile.c:58: for each function it appears in.)
    Naseer> profile/profile.c:58: `IPC_EXCL' undeclared (first use in this function)
    Naseer> profile/profile.c:58: `SHM_R' undeclared (first use in this function)
    Naseer> profile/profile.c:58: `SHM_W' undeclared (first use in this function)
    Naseer> profile/profile.c:69: `SHM_RDONLY' undeclared (first use in this function)
    Naseer> profile/profile.c:77: `IPC_STAT' undeclared (first use in this function)
    Naseer> profile/profile.c:91: `IPC_RMID' undeclared (first use in this function)
    Naseer> make: *** [profile/profile.o] Error 1

    Naseer> I am compiling as root on a i686 RedHat 6.0

Those constants are all defined in /usr/include/bits/shm.h, which is
normally included by /usr/include/sys/shm.h (I think).  You may want
to check those files; or perhaps your Samba was configured in such a
way that it didnt include shm.h at all?

Paul.

-- 
Paul Collins <sneakums at eircom.net> - - - - - [ A&P,a&f ]
 GPG: 0A49 49A9 2932 0EE5 89B2  9EE0 3B65 7154 8131 1BCD
 PGP: 88BA 2393 8E3C CECF E43A  44B4 0766 DD71 04E5 962C
"Linux: it's just this operating system, you know?"



More information about the samba-ntdom mailing list