I've been trying to compile the SDDS tools using SDDSbase 7.0.8 on a Debian 12 machine and I get the following error. Is there any variable that should be configured differently on Debian?
Code: Select all
...
Installing script ../../../../bin/linux-x86_64/hpVecRestore
Installing script ../../../../bin/linux-x86_64/hpVecSave
Installing script ../../../../bin/linux-x86_64/hpVecDisplay
/usr/bin/gcc -D_GNU_SOURCE -D_DEFAULT_SOURCE -D_X86_64_ -DUNIX -Dlinux -O3 -g -I/usr/include/tcl -Wall -Werror-implicit-function-declaration -I../../../../../../epics/extensions/include -I../../../../../../epics/extensions/src/SDDS/lzma -DIEEE_MATH -mtune=generic -m64 -I. -I../O.Common -I. -I. -I.. -I../../../../include/compiler/gcc -I../../../../include/os/Linux -I../../../../include -I../../../../../apps/include -I../../../../../../epics/base/include/compiler/gcc -I../../../../../../epics/base/include/os/Linux -I../../../../../../epics/base/include -I../../../../../../epics/extensions/include -c ../hpSocketSend.c
/usr/bin/g++ -o hpSocketSend -L/home/oblanco/Documents/public/progs/elegant/2023.4/elegant_compilation/epics/extensions/lib/linux-x86_64 -L/home/oblanco/Documents/public/progs/elegant/2023.4/elegant_compilation/oag/apps/lib/linux-x86_64 -Wl,-rpath,/home/oblanco/Documents/public/progs/elegant/2023.4/elegant_compilation/epics/extensions/lib/linux-x86_64 -Wl,-rpath,/home/oblanco/Documents/public/progs/elegant/2023.4/elegant_compilation/oag/apps/lib/linux-x86_64 -rdynamic -m64 hpSocketSend.o -lmdbcommon -lmatlib -lSDDS1 -lrpnlib -lmdbmth -lnamelist -lmdblib -llzma -lz -lpthread -lm -lrt -ldl -lgcc
/usr/bin/ld: /home/oblanco/Documents/public/progs/elegant/2023.4/elegant_compilation/epics/extensions/lib/linux-x86_64/librpnlib.a(rpn_sub.o): in function `rpn':
/home/oblanco/Documents/public/progs/elegant/2023.4/elegant_compilation/epics/extensions/src/SDDS/rpns/code/O.linux-x86_64/../rpn_sub.c:125: undefined reference to `gsl_set_error_handler_off'
/usr/bin/ld: /home/oblanco/Documents/public/progs/elegant/2023.4/elegant_compilation/epics/extensions/lib/linux-x86_64/librpnlib.a(math.o): in function `rpn_KN':
/home/oblanco/Documents/public/progs/elegant/2023.4/elegant_compilation/epics/extensions/src/SDDS/rpns/code/O.linux-x86_64/../math.c:643: undefined reference to `gsl_sf_bessel_Knu'
/usr/bin/ld: /home/oblanco/Documents/public/progs/elegant/2023.4/elegant_compilation/epics/extensions/src/SDDS/rpns/code/O.linux-x86_64/../math.c:643: undefined reference to `gsl_sf_bessel_Knu'
/usr/bin/ld: /home/oblanco/Documents/public/progs/elegant/2023.4/elegant_compilation/epics/extensions/lib/linux-x86_64/librpnlib.a(math.o): in function `rpn_IN':
/home/oblanco/Documents/public/progs/elegant/2023.4/elegant_compilation/epics/extensions/src/SDDS/rpns/code/O.linux-x86_64/../math.c:691: undefined reference to `gsl_sf_bessel_Inu'
/usr/bin/ld: /home/oblanco/Documents/public/progs/elegant/2023.4/elegant_compilation/epics/extensions/src/SDDS/rpns/code/O.linux-x86_64/../math.c:688: undefined reference to `gsl_sf_bessel_Inu'
/usr/bin/ld: /home/oblanco/Documents/public/progs/elegant/2023.4/elegant_compilation/epics/extensions/src/SDDS/rpns/code/O.linux-x86_64/../math.c:693: undefined reference to `gsl_sf_bessel_Inu'
/usr/bin/ld: /home/oblanco/Documents/public/progs/elegant/2023.4/elegant_compilation/epics/extensions/lib/linux-x86_64/librpnlib.a(math.o): in function `rpn_Lambert_W0':
/home/oblanco/Documents/public/progs/elegant/2023.4/elegant_compilation/epics/extensions/src/SDDS/rpns/code/O.linux-x86_64/../math.c:1115: undefined reference to `gsl_sf_lambert_W0'
/usr/bin/ld: /home/oblanco/Documents/public/progs/elegant/2023.4/elegant_compilation/epics/extensions/lib/linux-x86_64/librpnlib.a(math.o): in function `rpn_Lambert_Wm1':
/home/oblanco/Documents/public/progs/elegant/2023.4/elegant_compilation/epics/extensions/src/SDDS/rpns/code/O.linux-x86_64/../math.c:1133: undefined reference to `gsl_sf_lambert_Wm1'
collect2: error: ld returned 1 exit status
make[2]: *** [../../../../../../epics/base/configure/RULES_BUILD:231: hpSocketSend] Error 1
make[2]: Leaving directory '/home/oblanco/Documents/public/progs/elegant/2023.4/elegant_compilation/oag/apps/src/utils/hpvec/O.linux-x86_64'
make[1]: *** [../../../../../epics/base/configure/RULES_ARCHS:58: install.linux-x86_64] Error 2
make[1]: Leaving directory '/home/oblanco/Documents/public/progs/elegant/2023.4/elegant_compilation/oag/apps/src/utils/hpvec'
make: *** [../../../../epics/base/configure/RULES_DIRS:85: hpvec.install] Error 2
o