delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/06/30/05:40:17

X-Spam-Check-By: sourceware.org
Message-ID: <1151660402.44a4f172b8bb6@imp4-g19.free.fr>
Date: Fri, 30 Jun 2006 11:40:02 +0200
From: fabien DOT hinault AT free DOT fr
To: cygwin AT cygwin DOT com
Subject: Problems building gnuchess
MIME-Version: 1.0
User-Agent: Internet Messaging Program (IMP) 3.2.5
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/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

Hello,
I tried building gnuchess on my cygwin box.

./configure gave me the following warning.
----------------
/cygdrive/c/Documents: line 1: fg: no job control
/cygdrive/c/Documents: line 2: fg: no job control
/cygdrive/c/Documents: line 3: 5: command not found
/cygdrive/c/Documents: line 48: syntax error near unexpected token `newline'
/cygdrive/c/Documents: line 48: `<</Length 6 0 R/Filter /FlateDecode>>'
configure: WARNING: `missing' script is too old or missing
------------------
I don't know if it is serious or not, and I don't know
how to find if it is serious.
(Is there really a script named 'missing' which is missing? How funny!)

Then, with make, I had a first error:
redefinition of function "getline" .
I renamed the local "getline" into "get_line" in all files, and it was enough.

Then I have another error, at the linking step:
-------------------
Making all in src
make[1]: Entering directory `/cygdrive/c/Documents and
Settings/fhinault/gnuchess-5.07/src'
make  all-am
make[2]: Entering directory `/cygdrive/c/Documents and
Settings/fhinault/gnuchess-5.07/src'
gcc  -g -O2    -o gnuchess.exe  atak.o book.o cmd.o debug.o epd.o eval.o
genmove.o getopt.o getopt1.o hash.o hung.o init.o input.o iterate.o main.o
move.o null.o output.o players.o pgn.o ponder.o quiesce.o random.o repeat.o
search.o solve.o sort.o swap.o test.o ttable.o util.o lexpgn.o  -lreadline
-lncurses
init.o: In function `InitVars':
/cygdrive/c/Documents and Settings/fhinault/gnuchess-5.07/src/init.c:649:
undefined reference to `_initial_comments'
/cygdrive/c/Documents and Settings/fhinault/gnuchess-5.07/src/init.c:652:
undefined reference to `_pgn_othertags'
/cygdrive/c/Documents and Settings/fhinault/gnuchess-5.07/src/init.c:652:
undefined reference to `_pgn_result'
/cygdrive/c/Documents and Settings/fhinault/gnuchess-5.07/src/init.c:652:
undefined reference to `_pgn_blackELO'
/cygdrive/c/Documents and Settings/fhinault/gnuchess-5.07/src/init.c:652:
undefined reference to `_pgn_whiteELO'
/cygdrive/c/Documents and Settings/fhinault/gnuchess-5.07/src/init.c:652:
undefined reference to `_pgn_black'
/cygdrive/c/Documents and Settings/fhinault/gnuchess-5.07/src/init.c:652:
undefined reference to `_pgn_white'
/cygdrive/c/Documents and Settings/fhinault/gnuchess-5.07/src/init.c:652:
undefined reference to `_pgn_round'
/cygdrive/c/Documents and Settings/fhinault/gnuchess-5.07/src/init.c:652:
undefined reference to `_pgn_date'
/cygdrive/c/Documents and Settings/fhinault/gnuchess-5.07/src/init.c:652:
undefined reference to `_pgn_site'
/cygdrive/c/Documents and Settings/fhinault/gnuchess-5.07/src/init.c:652:
undefined reference to `_pgn_event'
pgn.o: In function `PGNSaveToFile':
/cygdrive/c/Documents and Settings/fhinault/gnuchess-5.07/src/pgn.c:67:
undefined reference to `_pgn_event'
/cygdrive/c/Documents and Settings/fhinault/gnuchess-5.07/src/pgn.c:67:
undefined reference to `_pgn_event'
/cygdrive/c/Documents and Settings/fhinault/gnuchess-5.07/src/pgn.c:68:
undefined reference to `_pgn_site'
/cygdrive/c/Documents and Settings/fhinault/gnuchess-5.07/src/pgn.c:68:
undefined reference to `_pgn_site'
/cygdrive/c/Documents and Settings/fhinault/gnuchess-5.07/src/pgn.c:70:
undefined reference to `_pgn_date'
/cygdrive/c/Documents and Settings/fhinault/gnuchess-5.07/src/pgn.c:71:
undefined reference to `_pgn_date'
/cygdrive/c/Documents and Settings/fhinault/gnuchess-5.07/src/pgn.c:77:
undefined reference to `_pgn_round'
/cygdrive/c/Documents and Settings/fhinault/gnuchess-5.07/src/pgn.c:77:
undefined reference to `_pgn_round'
/cygdrive/c/Documents and Settings/fhinault/gnuchess-5.07/src/pgn.c:79:
undefined reference to `_pgn_white'
/cygdrive/c/Documents and Settings/fhinault/gnuchess-5.07/src/pgn.c:80:
undefined reference to `_pgn_white'
/cygdrive/c/Documents and Settings/fhinault/gnuchess-5.07/src/pgn.c:86:
undefined reference to `_pgn_black'
/cygdrive/c/Documents and Settings/fhinault/gnuchess-5.07/src/pgn.c:87:
undefined reference to `_pgn_black'
/cygdrive/c/Documents and Settings/fhinault/gnuchess-5.07/src/pgn.c:93:
undefined reference to `_pgn_whiteELO'
/cygdrive/c/Documents and Settings/fhinault/gnuchess-5.07/src/pgn.c:94:
undefined reference to `_pgn_white'
/cygdrive/c/Documents and Settings/fhinault/gnuchess-5.07/src/pgn.c:94:
undefined reference to `_pgn_white'
/cygdrive/c/Documents and Settings/fhinault/gnuchess-5.07/src/pgn.c:97:
undefined reference to `_pgn_blackELO'
/cygdrive/c/Documents and Settings/fhinault/gnuchess-5.07/src/pgn.c:98:
undefined reference to `_pgn_black'
/cygdrive/c/Documents and Settings/fhinault/gnuchess-5.07/src/pgn.c:98:
undefined reference to `_pgn_black'
/cygdrive/c/Documents and Settings/fhinault/gnuchess-5.07/src/pgn.c:102:
undefined reference to `_pgn_result'
/cygdrive/c/Documents and Settings/fhinault/gnuchess-5.07/src/pgn.c:103:
undefined reference to `_pgn_result'
/cygdrive/c/Documents and Settings/fhinault/gnuchess-5.07/src/pgn.c:110:
undefined reference to `_pgn_othertags'
/cygdrive/c/Documents and Settings/fhinault/gnuchess-5.07/src/pgn.c:111:
undefined reference to `_pgn_othertags'
/cygdrive/c/Documents and Settings/fhinault/gnuchess-5.07/src/pgn.c:116:
undefined reference to `_initial_comments'
/cygdrive/c/Documents and Settings/fhinault/gnuchess-5.07/src/pgn.c:118:
undefined reference to `_initial_comments'
/cygdrive/c/Documents and Settings/fhinault/gnuchess-5.07/src/pgn.c:120:
undefined reference to `_initial_comments'
/cygdrive/c/Documents and Settings/fhinault/gnuchess-5.07/src/pgn.c:120:
undefined reference to `_initial_comments'
/cygdrive/c/Documents and Settings/fhinault/gnuchess-5.07/src/pgn.c:120:
undefined reference to `_initial_comments'
pgn.o: In function `PGNReadFromFile':
/cygdrive/c/Documents and Settings/fhinault/gnuchess-5.07/src/pgn.c:172:
undefined reference to `_yyin'
/cygdrive/c/Documents and Settings/fhinault/gnuchess-5.07/src/pgn.c:176:
undefined reference to `_data_dest'
/cygdrive/c/Documents and Settings/fhinault/gnuchess-5.07/src/pgn.c:177:
undefined reference to `_yylex'
pgn.o: In function `BookPGNReadFromFile':
/cygdrive/c/Documents and Settings/fhinault/gnuchess-5.07/src/pgn.c:337:
undefined reference to `_yyin'
/cygdrive/c/Documents and Settings/fhinault/gnuchess-5.07/src/pgn.c:343:
undefined reference to `_data_dest'
/cygdrive/c/Documents and Settings/fhinault/gnuchess-5.07/src/pgn.c:352:
undefined reference to `_yylex'
collect2: ld returned 1 exit status
make[2]: *** [gnuchess.exe] Error 1
make[2]: Leaving directory `/cygdrive/c/Documents and
Settings/fhinault/gnuchess-5.07/src'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/cygdrive/c/Documents and
Settings/fhinault/gnuchess-5.07/src'
make: *** [all-recursive] Error 1
-----------------------
Any help appreciated.


Fabien

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

- Raw text -


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