phyml icon indicating copy to clipboard operation
phyml copied to clipboard

phytime compilation error

Open pavelToman opened this issue 10 months ago • 2 comments

I am trying to build PhyML with --enable-phytime from last commit f3b45c4 and got this error:

gcc  -std=c99 -O3 -fomit-frame-pointer -funroll-loops -Wall -Winline -finline -march=native   -o phytime main.o utilities.o optimiz.o lk.o bionj.o mod alrt.o interface.o cl.o spr.o times.o draw.o rates.o mcmc.o stats.o mg.o io.o make.o mixt.o init.o nexus.o d -lm -lm -lm -lpthread
/binutils/2.40-GCCcore-12.3.0/bin/ld: io.o: in function `PHYREX_Print_MCMC_Stats':x1437a): undefined reference to `PHYREX_Get_Posterior'
/binutils/2.40-GCCcore-12.3.0/bin/ld: io.c:(.text+0x143d5): undefined reference to `VELOC_Is_Integrated_Veloci
/binutils/2.40-GCCcore-12.3.0/bin/ld: io.c:(.text+0x1454d): undefined reference to `PHYREX_Realized_Dispersal_
    ...
/binutils/2.40-GCCcore-12.3.0/bin/ld: mcmc.c:(.text+0x15e34): undefined reference to `MCMC_PHYREX_Indel_Disk'
/binutils/2.40-GCCcore-12.3.0/bin/ld: mcmc.c:(.text+0x15e56): undefined reference to `MCMC_PHYREX_Neff_Growth'
/binutils/2.40-GCCcore-12.3.0/bin/ld: mcmc.c:(.text+0x15e76): undefined reference to `MCMC_PHYREX_Neff'
/binutils/2.40-GCCcore-12.3.0/bin/ld: mcmc.c:(.text+0x15e96): undefined reference to `MCMC_PHYREX_Sigsq'
/binutils/2.40-GCCcore-12.3.0/bin/ld: mcmc.o: in function `MCMC_Run':
    mcmc.c:(.text+0x15f91): undefined reference to `PHYREX_Check_Lk'
    collect2: error: ld returned 1 exit status
    make[2]: *** [Makefile:1201: phytime] Error 1

Build of phyml and phyrex seems ok.

pavelToman avatar Apr 10 '24 13:04 pavelToman