NetBSD Problem Report #33904

From dauphin@enst.fr  Mon Jul  3 15:01:27 2006
Return-Path: <dauphin@enst.fr>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
	by narn.NetBSD.org (Postfix) with ESMTP id BF4DF63B882
	for <gnats-bugs@gnats.netbsd.org>; Mon,  3 Jul 2006 15:01:27 +0000 (UTC)
Message-Id: <1151938884.26988@bi.enst.fr>
Date: Mon, 3 Jul 2006 17:01:24 +0200
From: "Gilles Dauphin" <dauphin@enst.fr>
To: "gnats bugs" <gnats-bugs@NetBSD.org>
Subject: games/gnuchess Solaris -lrt
X-Send-Pr-Version: gtk-send-pr 0.4.5 
X-GNATS-Notify:

>Number:         33904
>Category:       pkg
>Synopsis:       games/gnuchess Solaris -lrt
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    solaris-pkg-people
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Jul 03 15:05:00 +0000 2006
>Closed-Date:    Thu Feb 07 15:29:45 +0000 2013
>Last-Modified:  Thu Feb 07 15:29:45 +0000 2013
>Originator:     Gilles Dauphin
>Release:        SunOS 5.10 i86pc
>Organization:
ENST 
>Environment:


System: SunOS bi.enst.fr 5.10 Generic_Patch_118844-30 i86pc


>Description:


=> Checksum SHA1 OK for gnuchess-5.07.tar.gz.
=> Checksum RMD160 OK for gnuchess-5.07.tar.gz.
===> Building for gnuchess-5.07nb3
Making all in src
gmake[1]: Entering directory `/pkg/obj/games/gnuchess/work/gnuchess-5.07/src'
/usr/pkg/bin/gmake  all-am
gmake[2]: Entering directory `/pkg/obj/games/gnuchess/work/gnuchess-5.07/src'
gcc -D_REENTRANT  -D_REENTRANT -O -I/usr/pkg/include -I/usr/include   -Wl,-R/usr/pkg/lib -o gnuchess  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 
Undefined                       first referenced
 symbol                             in file
sched_yield                         iterate.o
ld: fatal: Symbol referencing errors. No output written to gnuchess
collect2: ld returned 1 exit status
gmake[2]: *** [gnuchess] Error 1
gmake[2]: Leaving directory `/pkg/obj/games/gnuchess/work/gnuchess-5.07/src'
gmake[1]: *** [all] Error 2
gmake[1]: Leaving directory `/pkg/obj/games/gnuchess/work/gnuchess-5.07/src'
gmake: *** [all-recursive] Error 1
*** Error code 2




>How-To-Repeat:


bmake


>Fix:


--- Makefile.orig       Tue Jun 20 18:45:45 2006
+++ Makefile    Mon Jul  3 16:58:28 2006
@@ -14,6 +14,8 @@
 GNU_CONFIGURE= yes
 USE_TOOLS+=    flex gmake

+LDFLAGS.SunOS+=        -lrt
+
 BOOKDIR=       ${PREFIX}/lib/gnuchess
 DOCDIR=                ${PREFIX}/share/doc/gnuchess




>Release-Note:

>Audit-Trail:

Responsible-Changed-From-To: pkg-manager->solaris-pkg-people
Responsible-Changed-By: obache@NetBSD.org
Responsible-Changed-When: Mon, 07 Apr 2008 13:29:05 +0000
Responsible-Changed-Why:
Problem on Solaris.


State-Changed-From-To: open->closed
State-Changed-By: jperkin@NetBSD.org
State-Changed-When: Thu, 07 Feb 2013 15:29:45 +0000
State-Changed-Why:
This does not appear to still be an issue.


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.