public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Marco Atzeri <marco.atzeri@gmail.com>
To: cygwin@cygwin.com
Subject: Re: tree puzzle error running Configure after installing update 2.4.1.1 to Cygwin64
Date: Wed, 27 Jan 2016 13:30:00 -0000	[thread overview]
Message-ID: <56A8AE20.30200@gmail.com> (raw)
In-Reply-To: <BAY175-W38CA0B8417C1EB8BD551BEADD90@phx.gbl>



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@DESKTOP-14EL82S /usr/local/bin/tree-puzzle-5.3.rc16-windows
>
> I also ran make check
> Robert@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

  reply	other threads:[~2016-01-27 11:46 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-01-27  8:52 Robert May
2016-01-27 13:30 ` Marco Atzeri [this message]
  -- strict thread matches above, loose matches on Subject: below --
2016-01-26 13:03 Robert May
2016-01-26 23:33 ` cyg Simple

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=56A8AE20.30200@gmail.com \
    --to=marco.atzeri@gmail.com \
    --cc=cygwin@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).