milk-org / milk-previous-cream

Multi-purpose Imaging Libraries toolKit (milk)
https://milk-org.github.io/milk/
GNU General Public License v3.0
0 stars 0 forks source link

Building on CentOS 7 VM fails with release 0.1.01 / 6ecc215 #5

Open joseph-long opened 5 years ago

joseph-long commented 5 years ago

Here's what I'm seeing

/bin/sh ../libtool  --tag=CC   --mode=link gcc  -g -O2 -std=gnu11 -fopenmp   -o milk milk-CLImain.o CommandLineInterface/milk-CLIcore.o CommandLineInterface/milk-calc_bison.o CommandLineInterface/milk-calc_flex.o cudacomp/libcudacomp.la linARfilterPred/liblinarfilterpred.la psf/libpsf.la img_reduce/libimgreduce.la image_format/libimageformat.la ZernikePolyn/libzernikepolyn.la image_basic/libimagebasic.la image_filter/libimagefilter.la image_gen/libimagegen.la linopt_imtools/liblinoptimtools.la statistic/libstatistic.la info/libinfo.la fft/libfft.la kdtree/libkdtree.la COREMOD_arith/libcoremodarith.la COREMOD_memory/libcoremodmemory.la COREMOD_iofits/libcoremodiofits.la COREMOD_tools/libcoremodtools.la 00CORE/lib00core.la ImageStreamIO/libimagestreamio.la -lgsl -lgslcblas -lrt -lgomp -lfftw3 -lfftw3f -lncurses -lreadline -lcfitsio -ldl -lm  -lpthread
libtool: link: gcc -g -O2 -std=gnu11 -fopenmp -o .libs/milk milk-CLImain.o CommandLineInterface/milk-CLIcore.o CommandLineInterface/milk-calc_bison.o CommandLineInterface/milk-calc_flex.o  cudacomp/.libs/libcudacomp.so linARfilterPred/.libs/liblinarfilterpred.so psf/.libs/libpsf.so img_reduce/.libs/libimgreduce.so image_format/.libs/libimageformat.so ZernikePolyn/.libs/libzernikepolyn.so image_basic/.libs/libimagebasic.so image_filter/.libs/libimagefilter.so image_gen/.libs/libimagegen.so linopt_imtools/.libs/liblinoptimtools.so statistic/.libs/libstatistic.so info/.libs/libinfo.so fft/.libs/libfft.so kdtree/.libs/libkdtree.so COREMOD_arith/.libs/libcoremodarith.so COREMOD_memory/.libs/libcoremodmemory.so COREMOD_iofits/.libs/libcoremodiofits.so COREMOD_tools/.libs/libcoremodtools.so 00CORE/.libs/lib00core.so ImageStreamIO/.libs/libimagestreamio.so -lgsl -lgslcblas -lrt -lgomp -lfftw3 -lfftw3f -lncurses -lreadline -lcfitsio -ldl -lm -lpthread -fopenmp -Wl,-rpath -Wl,/opt/MagAOX/source/milk/lib
CommandLineInterface/milk-CLIcore.o: In function `functionparameter_CTRLscreen_cli':
/opt/MagAOX/source/milk/src/CommandLineInterface/CLIcore.c:570: undefined reference to `functionparameter_CTRLscreen'
CommandLineInterface/milk-CLIcore.o: In function `main_init':
/opt/MagAOX/source/milk/src/CommandLineInterface/CLIcore.c:1618: undefined reference to `processinfo_CTRLscreen'
/opt/MagAOX/source/milk/src/CommandLineInterface/CLIcore.c:1627: undefined reference to `streamCTRL_CTRLscreen'
COREMOD_memory/.libs/libcoremodmemory.so: undefined reference to `processinfo_WriteMessage'
COREMOD_memory/.libs/libcoremodmemory.so: undefined reference to `processinfo_exec_start'
COREMOD_memory/.libs/libcoremodmemory.so: undefined reference to `processinfo_exec_end'
COREMOD_memory/.libs/libcoremodmemory.so: undefined reference to `processinfo_cleanExit'
COREMOD_memory/.libs/libcoremodmemory.so: undefined reference to `processinfo_SIGexit'
COREMOD_memory/.libs/libcoremodmemory.so: undefined reference to `processinfo_shm_create'
collect2: error: ld returned 1 exit status
make[3]: *** [Makefile:522: milk] Error 1
make[3]: Leaving directory '/opt/MagAOX/source/milk/src'
make[2]: *** [Makefile:635: all-recursive] Error 1
make[2]: Leaving directory '/opt/MagAOX/source/milk/src'
make[1]: *** [Makefile:418: all] Error 2
make[1]: Leaving directory '/opt/MagAOX/source/milk/src'
make: *** [Makefile:379: all-recursive] Error 1

Here's my build script:

git clone --recursive https://github.com/milk-org/milk milk
cd ./milk
git checkout dev
autoreconf -i
./configure
make
make install
joseph-long commented 5 years ago

According to @jaredmales the fix is that we don't need milk after all, just cacao-org/cacao.