delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/10/05/09:51:16

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: <3F8021AF.3070201@urth.org>
Date: Sun, 05 Oct 2003 06:50:39 -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: Terrence Brannon <blessed AT pobox DOT com>
CC: Scid mailling list <scid-users AT lists DOT sourceforge DOT net>,
Cygwin List <cygwin AT cygwin DOT com>
Subject: scid-3.5a: compilation failure on latest cygwin (`PRIO_PROCESS' undeclared)
References: <3F6D2B96 DOT 9010005 AT pobox DOT com>
In-Reply-To: <3F6D2B96.9010005@pobox.com>

--------------020500060808090204090408
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

I have the latest cygwin (installed two days ago) and I installed all 
packages. make.err and make.out are attached. most salient information 
about the build is below. I hope this crosspost is not bad-form.

command-line used:

     ./configure --prefix=/home/metaperl/install/Scid && make install > 
make.out 2> make.err

output prior to make command:
----------------------------
  ~/wares/scid-3.5a $ ./configure --prefix=/home/metaperl/install/Scid 
&& make install > make.out 2> make.err
configure: Makefile configuration program for Scid
    Renaming "Makefile" to "Makefile.bak"
    Tcl/Tk version: 8.4
    Your operating system is: Windows NT 5.1
    Location of "tcl.h": /usr/include
    Location of "tk.h": /usr/include
    Location of Tcl 8.4 library: /usr/lib
    Location of Tk 8.4 library: /usr/lib
    Location of X11 library: /usr/X11R6/lib
    Checking if your system already has zlib installed: yes.
The Makefile configured for your system was written.
Now just type "make" to compile Scid.

last part of 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



--------------020500060808090204090408
Content-Type: text/plain;
 name="make.err"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="make.err"

In file included from src/game.h:24,
                 from src/pgnscid.cpp:20:
src/textbuf.h: In member function `void TextBuffer::ClearTranslation(char)':
src/textbuf.h:70: warning: array subscript has type `char'
In file included from src/game.h:24,
                 from src/index.cpp:20:
src/textbuf.h: In member function `void TextBuffer::ClearTranslation(char)':
src/textbuf.h:70: warning: array subscript has type `char'
src/position.cpp: In member function `errorT Position::ReadFromLongStr(const 
   char*)':
src/position.cpp:2567: warning: array subscript has type `char'
src/position.cpp:2567: warning: array subscript has type `char'
src/position.cpp:2568: warning: array subscript has type `char'
src/position.cpp:2568: warning: array subscript has type `char'
src/position.cpp:2569: warning: array subscript has type `char'
src/position.cpp:2569: warning: array subscript has type `char'
src/position.cpp:2570: warning: array subscript has type `char'
src/position.cpp:2570: warning: array subscript has type `char'
src/position.cpp:2571: warning: array subscript has type `char'
src/position.cpp:2571: warning: array subscript has type `char'
src/position.cpp:2572: warning: array subscript has type `char'
src/position.cpp:2572: warning: array subscript has type `char'
src/position.cpp: In member function `errorT Position::ReadFromFEN(const char*)
   ':
src/position.cpp:2785: warning: array subscript has type `char'
src/position.cpp:2785: warning: array subscript has type `char'
src/position.cpp:2786: warning: array subscript has type `char'
src/position.cpp:2786: warning: array subscript has type `char'
src/position.cpp:2787: warning: array subscript has type `char'
src/position.cpp:2787: warning: array subscript has type `char'
src/position.cpp:2788: warning: array subscript has type `char'
src/position.cpp:2788: warning: array subscript has type `char'
src/position.cpp:2789: warning: array subscript has type `char'
src/position.cpp:2789: warning: array subscript has type `char'
src/position.cpp:2790: warning: array subscript has type `char'
src/position.cpp:2790: warning: array subscript has type `char'
In file included from src/game.h:24,
                 from src/game.cpp:18:
src/textbuf.h: In member function `void TextBuffer::ClearTranslation(char)':
src/textbuf.h:70: warning: array subscript has type `char'
In file included from src/textbuf.cpp:16:
src/textbuf.h: In member function `void TextBuffer::ClearTranslation(char)':
src/textbuf.h:70: warning: array subscript has type `char'
In file included from src/game.h:24,
                 from src/pgnparse.h:27,
                 from src/pgnparse.cpp:16:
src/textbuf.h: In member function `void TextBuffer::ClearTranslation(char)':
src/textbuf.h:70: warning: array subscript has type `char'
In file included from src/game.h:24,
                 from src/stored.h:18,
                 from src/stored.cpp:15:
src/textbuf.h: In member function `void TextBuffer::ClearTranslation(char)':
src/textbuf.h:70: warning: array subscript has type `char'
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

--------------020500060808090204090408
Content-Type: text/plain;
 name="make.out"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="make.out"

rm -f ./scid
cat tcl/start.tcl tcl/bitmaps.tcl tcl/menus.tcl tcl/windows.tcl tcl/htext.tcl tcl/help.tcl tcl/tips.tcl tcl/misc.tcl tcl/search.tcl tcl/ezsmtp/ezsmtp.tcl tcl/email.tcl tcl/epd.tcl tcl/fontsel.tcl tcl/basewind.tcl tcl/import.tcl tcl/spellchk.tcl tcl/graph.tcl tcl/maint.tcl tcl/optable.tcl tcl/analysis.tcl tcl/wbdetect.tcl tcl/reper.tcl tcl/lang.tcl tcl/english.tcl tcl/deutsch.tcl tcl/francais.tcl tcl/italian.tcl tcl/nederlan.tcl tcl/spanish.tcl tcl/portbr.tcl tcl/swedish.tcl tcl/norsk.tcl tcl/polish.tcl tcl/czech.tcl tcl/hungary.tcl tcl/serbian.tcl tcl/russian.tcl tcl/bookmark.tcl tcl/board.tcl tcl/tb.tcl tcl/end.tcl > ./scid
chmod +x scid
cp scripts/sc_addmove.tcl ./sc_addmove
chmod +x sc_addmove
cp scripts/sc_epgn.tcl ./sc_epgn
chmod +x sc_epgn
cp scripts/sc_spell.tcl ./sc_spell
chmod +x sc_spell
cp scripts/sc_eco.tcl ./sc_eco
chmod +x sc_eco
cp scripts/sc_import.tcl ./sc_import
chmod +x sc_import
cp scripts/sc_remote.tk ./sc_remote
chmod +x sc_remote
cp scripts/sc_tree.tcl ./sc_tree
chmod +x sc_tree
cp scripts/scidpgn.tcl ./scidpgn
chmod +x scidpgn
cp scripts/pgnfix.py ./pgnfix
chmod +x pgnfix
cp scripts/spliteco.tcl ./spliteco
chmod +x spliteco
g++  -O4 -fno-rtti -fno-exceptions -Wall   -o src/pgnscid.o -c src/pgnscid.cpp
g++  -O4 -fno-rtti -fno-exceptions -Wall   -o src/misc.o -c src/misc.cpp
g++  -O4 -fno-rtti -fno-exceptions -Wall   -o src/index.o -c src/index.cpp
g++  -O4 -fno-rtti -fno-exceptions -Wall   -o src/date.o -c src/date.cpp
g++  -O4 -fno-rtti -fno-exceptions -Wall   -o src/namebase.o -c src/namebase.cpp
g++  -O4 -fno-rtti -fno-exceptions -Wall   -o src/position.o -c src/position.cpp
g++  -O4 -fno-rtti -fno-exceptions -Wall   -o src/game.o -c src/game.cpp
g++  -O4 -fno-rtti -fno-exceptions -Wall   -o src/gfile.o -c src/gfile.cpp
g++  -O4 -fno-rtti -fno-exceptions -Wall   -o src/matsig.o -c src/matsig.cpp
g++  -O4 -fno-rtti -fno-exceptions -Wall   -o src/bytebuf.o -c src/bytebuf.cpp
g++  -O4 -fno-rtti -fno-exceptions -Wall   -o src/textbuf.o -c src/textbuf.cpp
g++  -O4 -fno-rtti -fno-exceptions -Wall   -o src/myassert.o -c src/myassert.cpp
g++  -O4 -fno-rtti -fno-exceptions -Wall   -o src/stralloc.o -c src/stralloc.cpp
g++  -O4 -fno-rtti -fno-exceptions -Wall   -o src/mfile.o -c src/mfile.cpp
g++  -O4 -fno-rtti -fno-exceptions -Wall   -o src/dstring.o -c src/dstring.cpp
g++  -O4 -fno-rtti -fno-exceptions -Wall   -o src/pgnparse.o -c src/pgnparse.cpp
g++  -O4 -fno-rtti -fno-exceptions -Wall   -o src/stored.o -c src/stored.cpp
g++  -O4 -fno-rtti -fno-exceptions -Wall   -o src/movelist.o -c src/movelist.cpp
g++  -o pgnscid src/pgnscid.o src/misc.o src/index.o src/date.o src/namebase.o src/position.o src/game.o src/gfile.o src/matsig.o src/bytebuf.o src/textbuf.o src/myassert.o src/stralloc.o src/mfile.o src/dstring.o src/pgnparse.o src/stored.o src/movelist.o -lz
g++  -O4 -fno-rtti -fno-exceptions -Wall   -I/usr/include -o src/tkscid.o -c src/tkscid.cpp


--------------020500060808090204090408
Content-Type: text/plain; charset=us-ascii

--
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/
--------------020500060808090204090408--


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019