From owner-freebsd-current Mon May 1 05:57:33 1995 Return-Path: current-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id FAA23584 for current-outgoing; Mon, 1 May 1995 05:57:33 -0700 Received: from ibp.ibp.fr (ibp.ibp.fr [132.227.60.30]) by freefall.cdrom.com (8.6.10/8.6.6) with ESMTP id FAA23569 ; Mon, 1 May 1995 05:57:06 -0700 Received: from blaise.ibp.fr (blaise.ibp.fr [132.227.60.1]) by ibp.ibp.fr (8.6.12/jtpda-5.0) with ESMTP id OAA29506 ; Mon, 1 May 1995 14:57:02 +0200 Received: from (uucp@localhost) by blaise.ibp.fr (8.6.12/jtpda-5.0) with UUCP id OAA23339 ; Mon, 1 May 1995 14:57:02 +0200 Received: (from roberto@localhost) by keltia.frmug.fr.net (8.6.11/keltia-uucp-1.21) id OAA08477; Mon, 1 May 1995 14:55:53 +0200 From: Ollivier Robert Message-Id: <199505011255.OAA08477@keltia.frmug.fr.net> Subject: Problem with ibcs2 lkm module and POSIX_SAVED_ID To: freebsd-bugs@FreeBSD.org (FreeBSD Bugs' list), freebsd-current@FreeBSD.org (FreeBSD Current Users' list) Date: Mon, 1 May 1995 14:55:52 +0200 (MET DST) Reply-To: roberto@keltia.freenix.fr (Ollivier Robert) X-Operating-System: FreeBSD BUILT-19950501 ctm#617 X-Mailer: ELM [version 2.4 PL24] MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Content-Length: 1215 Sender: current-owner@FreeBSD.org Precedence: bulk -current from yesterday, ctm#617 19950430200001. cc -O -m486 -pipe -DLKM -I. -DCOMPAT_IBCS2 -DKERNEL -I/src/src/lkm/ibcs2/../../sys -W -Wcomment -Wredundant-decls -c /src/src/lkm/ibcs2/../../sys/i386/ibcs2/ibcs2_xenix.c /src/src/lkm/ibcs2/../../sys/i386/ibcs2/ibcs2_xenix.c: In function `ibcs2_cxenix': /src/src/lkm/ibcs2/../../sys/i386/ibcs2/ibcs2_xenix.c:271: parse error before `)' *** Error code 1 Stop. *** Error code 1 Stop. The problem come from the definition of _POSIX_SAVED_IDS : ------------------------------------------------------------ 246 [14:35] root@keltia:src/lib# grep _POSIX_SAVED_IDS /sys/sys/unistd.h /sys/sys/unistd.h:#define _POSIX_SAVED_IDS /* saved set-user-ID ------------------------------------------------------------ and the following code in ibcs2_xenix.c : ------------------------------------------------------------ #ifdef _POSIX_SAVED_IDS *retval = (_POSIX_SAVED_IDS); #else *retval = (0); #endif ------------------------------------------------------------ -- Ollivier ROBERT -=- The daemon is FREE! -=- roberto@keltia.frmug.fr.net FreeBSD keltia BUILT-19950501 #0: Mon May 1 00:14:02 MET DST 1995