delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
Message-ID: | <3F889B36.5030100@urth.org> |
Date: | Sat, 11 Oct 2003 17:07:18 -0700 |
From: | Terrence Brannon <metaperl AT urth DOT org> |
User-Agent: | Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5) Gecko/20030925 |
X-Accept-Language: | en-us, en |
MIME-Version: | 1.0 |
To: | cygwin AT cygwin DOT com |
Subject: | setpriority() and PRIO_PROCESS under Cygwin |
References: | <20031002024916 DOT 11082 DOT qmail AT linuxmail DOT org> |
In-Reply-To: | <20031002024916.11082.qmail@linuxmail.org> |
I am trying to compile a free high-quality chess database, known as Scid: http://www.skjoldebrand.org/scid/ Here is the error I get ~/wares/scid-3.5a $ cat make.err In file included from src/game.h:24, from src/tkscid.h:20, from src/tkscid.cpp:16: src/textbuf.h: In member function `void TextBuffer::ClearTranslation(char)': src/textbuf.h:70: warning: array subscript has type `char' src/tkscid.cpp: In function `int sc_info_priority(void*, Tcl_Interp*, int, const char**)': src/tkscid.cpp:8363: error: `PRIO_PROCESS' undeclared (first use this function) src/tkscid.cpp:8363: error: (Each undeclared identifier is reported only once for each function it appears in.) src/tkscid.cpp:8363: error: `setpriority' undeclared (first use this function) src/tkscid.cpp:8368: error: `getpriority' undeclared (first use this function) make: *** [src/tkscid.o] Error 1 ~/wares/scid-3.5a $ ==== end paste , text continue ===== I saw some assorted messages on the Cygwin mail archives about this, but issueing a find on /usr/include did not help. Nor did getting a version of pthreads-win32 as there is no PRIO_PROCESS defined there. Can anyone suggest a solution for getting code making calls to setpriority() and using PRIO_PROCESS to compile under Cygwin? Thanks. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |