delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2016/01/27/06:47:07

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:subject:to:references:from:message-id:date
:mime-version:in-reply-to:content-type
:content-transfer-encoding; q=dns; s=default; b=u57j0hVYfE+61ouz
wAEPeCLJtCKsGJ0JyuMiQTfP1o7iMDSKM/8U67Xk1UgokMm+1/OgikGIRV6VeWkS
6hlC2lYCOH1V07cGu0tgNIuyXjR7XUy7956Opou5fvC4X/U5T0xiVSjUdnY4uAWv
/KgzUQAPpMpKDgonOWdMv6N20qQ=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:subject:to:references:from:message-id:date
:mime-version:in-reply-to:content-type
:content-transfer-encoding; s=default; bh=kuvp+ENpwn8nTZIL9JzXj+
jY2Qs=; b=SMTx2xM4y//7v5XztstYsIRg4uOhBUGXLZhhPLOA+/FQg0fWckEMbP
fFjgsj/EZBP9OENyAceQRabQ+OFz8o6+7s8V6Oyr+X2I4hmkAM4V7sBi4eN7zE3y
C2ZapFEEtJi+Z3EgLXVxgrtRwXkOApcxlRYvbq3w1Dsmuczc75mC0=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
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
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-2.6 required=5.0 tests=BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 spammy=exeext, EXEEXT, dear, HContent-Transfer-Encoding:8bit
X-HELO: mail-qg0-f50.google.com
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-type :content-transfer-encoding; bh=Cp5K6TaYf3W5MEx4/Iv8lw69K0f+VAVw7rnlhRyyvYk=; b=Lf/6sjG64dAcq9j3QaBzw9TsS2gA4oNcSWyVO1z8NLhJiUe/oOfgHqUHsi1vuEl0dr v8RzzEEzcsBP2uLk24UJsjkVQ0AGCBNnbYfpAEOoiGUgGBDnYaWLS4D69uALSVzD1aF5 xC+vYvwFISmVphqmlZkEYc5SID9CypAM3DHITADHlVcDLfKL2s3g09E1fdyUE3iPiPHP ob2FHvml8203XztLS6d//VnV4AQN7WL6AshdgxTk6KaN76IW28qE9Ipk29EuEBsIslXI vMIcFhzu7wcJuIMNW+AgnbWaFoPIrMhR/t4FcQdWo4LSS46bJcz0YI/3XPmnaQCUHKz0 NV2g==
X-Gm-Message-State: AG10YOQl7Vc2Jx+OyLtQMSBA3E6okyN1xToTgPgwYhNsIopJ5fBBS9h8s20cgSAvYcJv/w==
X-Received: by 10.140.155.23 with SMTP id b23mr2966553qhb.14.1453895207902; Wed, 27 Jan 2016 03:46:47 -0800 (PST)
Subject: Re: tree puzzle error running Configure after installing update 2.4.1.1 to Cygwin64
To: cygwin AT cygwin DOT com
References: <BAY175-W38CA0B8417C1EB8BD551BEADD90 AT phx DOT gbl>
From: Marco Atzeri <marco DOT atzeri AT gmail DOT com>
Message-ID: <56A8AE20.30200@gmail.com>
Date: Wed, 27 Jan 2016 12:46:40 +0100
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.5.1
MIME-Version: 1.0
In-Reply-To: <BAY175-W38CA0B8417C1EB8BD551BEADD90@phx.gbl>
X-IsSubscribed: yes


On 27/01/2016 07:45, Robert May wrote:
> cyg Simple
>
> OK replaced the two files config.guess and config.sub with a 2016 timestamp and ran make again.
> like samtools it has a couple of warning for terms like
>
> But it does not get the job done.
>
> the problem area seems to be in this area of make
> ppuzzle.c: In function ‘PP_Update_Rates’:
> ppuzzle.c:258:38: error: ‘PP_UPDATERATES’ undeclared (first use in this function)
>     MPI_Send(&dummy, 0, MPI_INT, dest, PP_UPDATERATES, PP_Comm);
>
> two pages later
> ppuzzle.c: In function ‘PP_RecvData’:
> ppuzzle.c:905:3: warning: ‘MPI_Address’ is deprecated (declared at /usr/include/mpi.h:1183): MPI_Address is superseded by MPI_Get_address in MPI-2.0 [-Wdeprecated-declarations]
>     MPI_Address(&(Seqpat[0][0]), &(Dtypeaddr[0]));
>
> this continues back and forth till we get to the end with
> <builtin>: recipe for target 'ppuzzle' failed
> make[3]: *** [ppuzzle] Error 1
> make[3]: Leaving directory '/usr/local/bin/tree-puzzle-5.3.rc16-windows/src'
> Makefile:532: recipe for target 'all-recursive' failed
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory '/usr/local/bin/tree-puzzle-5.3.rc16-windows/src'
> Makefile:397: recipe for target 'all' failed
> make[1]: *** [all] Error 2
> make[1]: Leaving directory '/usr/local/bin/tree-puzzle-5.3.rc16-windows/src'
> Makefile:370: recipe for target 'all-recursive' failed
> make: *** [all-recursive] Error 1
>
> Robert AT DESKTOP-14EL82S /usr/local/bin/tree-puzzle-5.3.rc16-windows
>
> I also ran make check
> Robert AT DESKTOP-14EL82S /usr/local/bin/tree-puzzle-5.3.rc16-windows
> $ make check
> Making check in src
> make[1]: Entering directory '/usr/local/bin/tree-puzzle-5.3.rc16-windows/src'
> Making check in sprng
> make[2]: Entering directory '/usr/local/bin/tree-puzzle-5.3.rc16-windows/src/sprng'
> make[2]: Nothing to be done for 'check'.
> make[2]: Leaving directory '/usr/local/bin/tree-puzzle-5.3.rc16-windows/src/sprng'
> make[2]: Entering directory '/usr/local/bin/tree-puzzle-5.3.rc16-windows/src'
> cd sprng && make mlfg.o makeseed.o memory.o checkid.o store.o
> make[3]: Entering directory '/usr/local/bin/tree-puzzle-5.3.rc16-windows/src/sprng'
> make[3]: 'mlfg.o' is up to date.
> make[3]: 'makeseed.o' is up to date.
> make[3]: 'memory.o' is up to date.
> make[3]: 'checkid.o' is up to date.
> make[3]: 'store.o' is up to date.
> make[3]: Leaving directory '/usr/local/bin/tree-puzzle-5.3.rc16-windows/src/sprng'
> gcc  -g -O2   sgamma.o sml1.o sml2.o smlparam.o smodel1.o smodel2.o spuzzle1.o spuzzle2.o spstep.o sutil.o sconsensus.o streesort.o streetest.o  sprng/mlfg.o sprng/makeseed.o sprng/memory.o sprng/checkid.o sprng/store.o -lm  -o puzzle.exe
> gcc -g -O2    ppuzzle.c   -o ppuzzle
> ppuzzle.c: In function ‘PP_Update_Rates’:
> ppuzzle.c:258:38: error: ‘PP_UPDATERATES’ undeclared (first use in this function)
>     MPI_Send(&dummy, 0, MPI_INT, dest, PP_UPDATERATES, PP_Comm);
>
> I can send full make and make check runs if needed
>
> help
>
> Bob

Dear Bob,

"make check" is useless if "make" does not work.

to me it seems you need to work with upstream developer to solve the 
different issues.
It is not a cygwin issue that the MPI call are referring to old versions 
or that the configure/Makefile.am are wrong handling "$(EXEEXT)"

Please note that
  gcc -g -O2    ppuzzle.c   -o ppuzzle

is clearly not coming from src/Makefile.am rule:

ppuzzle_SOURCES = gamma.c ml1.c ml2.c mlparam.c model1.c model2.c 
puzzle1.c puzzle2.c pstep.c sched.c util.c consensus.c treesort.c 
treetest.c ppuzzle.c ml.h util.h puzzle.h pstep.h gamma.h ppuzzle.h 
sched.h consensus.h treesort.h treetest.h

so there is an error in the src/Makefile.am

If you change inside it in:

bin_PROGRAMS = puzzle$(EXEEXT) @PPUZZLE@$(EXEEXT)
EXTRA_PROGRAMS = ppuzzle$(EXEEXT)

and then run

autoreconf -ifv
./configure
make

it will compile

Make check will fail but it seems at first glance a rounding issue.

Regards
Marco




--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


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