Compilation Problems Samba TNG-2.5 --with-profile

Eizenberg Ariel arielez at cs.huji.ac.il
Sat Apr 29 14:21:54 GMT 2000


I don't know waht the official solution is, but in my case I simply added

#include <sys/shm.h>
#include <sys/ipc.h>

to the file, just after #ifdef WITH_PROFILE

On Sat, 29 Apr 2000, Naseer Bhatti wrote:

|  Hello. I am trying to compile samba-tng-2.5 --with-profile option and 
|  getting this error.
|  
|  Compiling printing/lpq_parse.c
|  Compiling profile/profile.c
|  profile/profile.c: In function `profile_setup':
|  profile/profile.c:45: storage size of `shm_ds' isn't known
|  profile/profile.c:58: `IPC_CREAT' undeclared (first use in this function)
|  profile/profile.c:58: (Each undeclared identifier is reported only once
|  profile/profile.c:58: for each function it appears in.)
|  profile/profile.c:58: `IPC_EXCL' undeclared (first use in this function)
|  profile/profile.c:58: `SHM_R' undeclared (first use in this function)
|  profile/profile.c:58: `SHM_W' undeclared (first use in this function)
|  profile/profile.c:69: `SHM_RDONLY' undeclared (first use in this function)
|  profile/profile.c:77: `IPC_STAT' undeclared (first use in this function)
|  profile/profile.c:91: `IPC_RMID' undeclared (first use in this function)
|  make: *** [profile/profile.o] Error 1
|  
|  I am compiling as root on a i686 RedHat 6.0
|  
|  Thanks in Advance!!
|  
|  Naseer Bhatti
|  ________________________________________________________________________
|  Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com
|  
|  
|  



More information about the samba-ntdom mailing list