Hey, sorry to bother you but I tried to compile the code using the standard makefile and I get:
cc -Wall -O2 -I../util -std=c99 -c -o timer.o ../util/timer.c
cc -c efpol_lib.c -o efpol_lib_lin.o -Wall -O2 -I../util -std=c99 -DPOL_TYPE=POL_LIN
cc -c efpol_meas.c -o efpol_meas_lin.o -Wall -O2 -I../util -std=c99 -DPOL_TYPE=POL_LIN
cc -lpthread -lm efpol_lin.o efpol_init_lin.o efpol_io_lin.o timer.o efpol_lib_lin.o efpol_meas_lin.o -o efpol_lin
/usr/bin/ld: efpol_init_lin.o:(.bss+0x1a0): multiple definition of `tab'; efpol_lin.o:(.bss+0x1a0): first defined here
/usr/bin/ld: efpol_init_lin.o:(.bss+0x14ba0): multiple definition of `cfg'; efpol_lin.o:(.bss+0x14ba0): first defined here
/usr/bin/ld: efpol_init_lin.o:(.bss+0x0): multiple definition of `res'; efpol_lin.o:(.bss+0x0): first defined here
Could you think that it depends on compiler ?
I am using gcc version 12.1.0 (GCC) on Linux (Arch)
p.s. I know you don't maintain the code and working in this field anymore, I just wanna know if this makefile is supposed to compile 😄
Hey, sorry to bother you but I tried to compile the code using the standard makefile and I get:
Could you think that it depends on compiler ?
I am using gcc version 12.1.0 (GCC) on Linux (Arch)
p.s. I know you don't maintain the code and working in this field anymore, I just wanna know if this makefile is supposed to compile 😄