From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from BL0PR02CU005-vft-obe.outbound.protection.outlook.com (mail-eastusazlp170120000.outbound.protection.outlook.com [IPv6:2a01:111:f403:c101::]) by sourceware.org (Postfix) with ESMTPS id C3F563858D33 for ; Wed, 1 Mar 2023 11:56:38 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org C3F563858D33 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=hotmail.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=hotmail.com ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=mw16Xg4CLAyj6FUlQ1GWm8EDvJb2Z6PnirH8Pg9OC0wgBQjhPtN32En1ch/czy/ZO1HN8LBYqqGwp5lAoigWtS1fq1Vo/moESKQF/cxO+wcmas3XsmlGho0nLEApE8ul3Zq0MdFW9AeG28/TJJ5zvhOkwcLFZYzjcaZkB5pM3oejqCmAotLcTCm0+Rz5BMCf1cZ5ZuSldU02xjh629dEUUlZx/xijjrcGejwHZIyhRqE6FDfgu0xe9JXIzrSrSwNB76rL4nd720pjR+UeCxmoM1tdRrP6Qk2dAOGTVF1NmQZLYyo4FgritiHYFo8/uy3Ust53MQyKAD5aHNN4x0o1Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=gwinAG2u8hq06Ix12q61Z+fQq17aGOKYgkLE62hjwio=; b=NZ6LUKgajQfPsPWl5xwTYx+08izHg8R20XCIYL1yuiancr3r/EZnLHQhTrUYrq1w10NXdi01WQ89Jlr6FrkOXnQSlDITUh8DYKgAvFCXeyyA1pusGS8Z2oH39MlF5ZaNEMB3vmA/YGBIOSGcGtZzTOciq+zBDsSjTDJYDgZ1U46g2i2MfXZ5XdaHmuhTIf0NpnFJn0o6/B7mS+HC628UCp3oZhUm6e0B4/BdrJNW02RzAszq9eQOJzTlDveNVbgjiSIDlrewrlXu4O3S/lfE/4p6eXWUcCy/yo0SdROAvEKyZCqvmSDyWq2GstzXeg0f5L4uU63c7IYjLcx1QR2hQA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hotmail.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=gwinAG2u8hq06Ix12q61Z+fQq17aGOKYgkLE62hjwio=; b=P7DUetkD32/Mi8ZJNhnBOMcZdUbp5plktQQVxUqsAquoR2UhyHE+TFSTu4RlAqSda6WC4RTndR1bnxg5AUFzQmIlKmg5OaY8XP3ONlGQpX2e2L30FBj5Kn6i39iqsznhoNs/zvHJ3H4hFW3fcJm3Qh5y6hA7J58ZrRPACZr8+DwXwAmUlltShXV1JPoMwHQ1yjKq1bNz0SNAmfQRu1jUCC326fJaA173W6N87ZP8+3M5gVyp97AVQ236HgiQINnDmCc6/m3G5yeCU1sWF5YEOJcti349bc8DY8I4KoWP6HTIecVcAGwDu0wgjeEBOy8rKo9nN86+CwkgX9zSntNWrw== Received: from PH0PR05MB9918.namprd05.prod.outlook.com (2603:10b6:510:299::5) by BYAPR05MB5111.namprd05.prod.outlook.com (2603:10b6:a03:a6::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6134.24; Wed, 1 Mar 2023 11:56:36 +0000 Received: from PH0PR05MB9918.namprd05.prod.outlook.com ([fe80::8b30:76bd:8ebe:ef9d]) by PH0PR05MB9918.namprd05.prod.outlook.com ([fe80::8b30:76bd:8ebe:ef9d%6]) with mapi id 15.20.6134.027; Wed, 1 Mar 2023 11:56:36 +0000 Content-Type: multipart/alternative; boundary="------------h4S3180FatstlUM9gdjL4s77" Message-ID: Date: Wed, 1 Mar 2023 19:56:20 +0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.8.0 Subject: Re: [ERROR] msgget() "Function not implmented" Error : Cygwin To: "cygwin@cygwin.com" References: Content-Language: en-US From: Yeo Kai Wei In-Reply-To: X-TMN: [tLOCdElSz/4vNoX6F5qkQGB/3B2b3JZz] X-ClientProxiedBy: SG2PR04CA0208.apcprd04.prod.outlook.com (2603:1096:4:187::10) To PH0PR05MB9918.namprd05.prod.outlook.com (2603:10b6:510:299::5) X-Microsoft-Original-Message-ID: MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PH0PR05MB9918:EE_|BYAPR05MB5111:EE_ X-MS-Office365-Filtering-Correlation-Id: 6a3f3c70-b60e-4326-66f8-08db1a4c0237 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: ccv165az9h+VR33vYTamrMBcyMp1tuvDOjqnwd55anU19aohDlU7In/LuAq9vW52KOHBdeY88IiklC4xExG0kibgSzS70AqfqOOuL7RWezVbKk1Jq8NleQ382FtjqsSbCkbU1UiK7EazPbt3sKLvNQO/aqOmgN8/EYS5iu2L8jbNiSFJrGSX3KYFQTCh+ljTXYV/pw0NxdVsBYKsAsKSMe/Zwi/hccmwWoGZTpbIhKjrhiM3Lz9hom/PCJ9lXDEa5YRy7jG89O9T8+cleUsFiLoWTVFX95q1VeLIX8qDcZ92Gcv0twum5xH7J0cX69iMMdvcSlfPXSOr3s48AyrWAhg4v3oXRnp+LnHUrOw48DFIdRJNi6v+j4ZOY3847ud7wkAfVWY3KZUjdqDE3xa3JTAaM8eGYtQkaE+brJCnisVB/+/DrEcJTr0csz6KFmufwFPSmlcvraCn8PRDWEvd0LEWtBotKH2ZB3RXsa8mqYgBnNrlZBHpDQum5f9i/rU1Gftn1o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cE42V3A0MlJ4Wno4NWF3dktubmV2MityUWZVUWZj?= =?utf-8?B?RHBRSWNNZkFVMnlydHZxOGhwTStRWTVOREZweWkrZ1VDSjBMcGR3bll3Vkpt?= =?utf-8?B?d1g4MzVxb2M5anBZSHhhSEF2TGZBOGVhKzFyZXI3RmZibm0yS2VHRVFBPT0=?= X-OriginatorOrg: sct-15-20-4823-7-msonline-outlook-84f76.templateTenant X-MS-Exchange-CrossTenant-Network-Message-Id: 6a3f3c70-b60e-4326-66f8-08db1a4c0237 X-MS-Exchange-CrossTenant-AuthSource: PH0PR05MB9918.namprd05.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 01 Mar 2023 11:56:36.5390 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: BYAPR05MB5111 X-Spam-Status: No, score=0.6 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FORGED_MUA_MOZILLA,FREEMAIL_FROM,HTML_MESSAGE,NICE_REPLY_A,SPF_HELO_PASS,SPF_PASS,TXREP autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: --------------h4S3180FatstlUM9gdjL4s77 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Hi Corinna, Thank you for the help. I tried following the instructions on https://cygwin.com/cygwin-ug-net/using-cygserver.html#start-cygserver There was a line, "Before you run Cygserver for the first time, you should run the /usr/bin/cygserver-config script once." I googled for some instructions and it said to use "cygserver-config" in the Cygwin terminal. I did it and the following is the reply from the terminal. *Without admin privileges* "$ cygserver-config Generating /etc/cygserver.conf file chown: changing ownership of '/etc/cygserver.conf': Permission denied Warning: The following function requires administrator privileges! Do you want to install cygserver as service? (Say "no" if it's already installed as service) (yes/no) yes /usr/bin/cygserver-config: line 181: cygrunsrv: command not found Installation of cygserver as service failed.  Please check the error messages you got.  They might give a clue why it failed. A good start is either you don't have administrator privileges or a missing cygrunsrv binary.  Please check for both." *With admin privileges* "$ cygserver-config Overwrite existing /etc/cygserver.conf file? (yes/no) yes Generating /etc/cygserver.conf file Warning: The following function requires administrator privileges! Do you want to install cygserver as service? (Say "no" if it's already installed as service) (yes/no) yes /usr/bin/cygserver-config: line 181: cygrunsrv: command not found Installation of cygserver as service failed.  Please check the error messages you got.  They might give a clue why it failed. A good start is either you don't have administrator privileges or a missing cygrunsrv binary.  Please check for both." May I ask what I should do next? Thank you very much. Kind Regards, YEO Kai Wei P.S. How do you convert to using POSIX message queues in Cygwin? On 28/2/2023 6:29 pm, Corinna Vinschen wrote: > On Feb 28 18:13, Yeo Kai Wei via Cygwin wrote: >> Hi Cygwin, >> >> May I ask if there will be an implementation of msgget() on Cygwin for >> Windows? > There is, for ages. However, you have to run cygserver for that > to work: > > https://cygwin.com/cygwin-ug-net/using-cygserver.html > > If cygserver isn't running, the XSI IPC functions return ENOSYS. > > Alternatively, convert your tool to using POSIX message queues, those > are using a file backed solution and don't require cygserver. > > > Corinna --------------h4S3180FatstlUM9gdjL4s77--