search for: no_semun

Displaying 2 results from an estimated 2 matches for "no_semun".

2009 May 28
1
App fails writing file but zero length file on Samba server
...10_good/source/includes.h --- samba-1.9.18p10/source/includes.h 1998-08-20 07:41:46.000000000 +0800 +++ samba-1.9.18p10_good/source/includes.h 2008-01-11 10:39:49.000000000 +0900 @@ -1176,7 +1177,7 @@ #include <sys/ipc.h> #include <sys/sem.h> #include <sys/shm.h> -#ifdef NO_SEMUN +#ifdef _SEM_SEMUN_UNDEFINED union semun { int val; struct semid_ds *buf; --- As I'm trying to streamline the building of these servers, I thought I'd try upgrading Samba to a reasonably current version. I'm trying with latest version of Samba shipped by RedHat (3.0.3...
1998 Sep 04
0
Linux SMB Mount utils patch
...ble on. I have two boxes, one Linux with libc5, and another with Linux and Glibc2 (aka libc6). The Samba package itself compiles and runs fine on the libc5 box (although it was necessary to turn off optimization to compile with gcc 2.7.2.3). The glibc2 box was able to compile after adding "-DNO_SEMUN" to the compiler flags, since newer glibc2 includes don't define it as older ones did. This is also fixed in the included patch. The main problem is that the mount utilities will only compile properly on libc5. Since glibc2 now includes magic numbers for mount, it is no longer necessary (...