ralna / CUTEst

The Constrained and Unconstrained Testing Environment with safe threads (CUTEst) for optimization software
Other
83 stars 18 forks source link

Undefined symbols #24

Closed amontoison closed 1 year ago

amontoison commented 1 year ago

@nimgould I have the following missing symbols when I generate the shared library libcutest.${dlext}. Do I need to include some additional .o files? I can't compile it on MacOS and Windows.

In SifDecode, you provide additional .o files when you decode a problem (RANGE.o, ELFUN.o, GROUP.o, EXTER.o). Can we add them by default in the library or they are related to each SIF problem?

/usr/bin/ld: libcutest.a(ufn.o): in function `cutest_ufn_threadsafe_':
ufn.f90:(.text+0x114): undefined reference to `elfun_'
/usr/bin/ld: ufn.f90:(.text+0x411): undefined reference to `group_'
/usr/bin/ld: libcutest.a(ugr.o): in function `cutest_ugr_threadsafe_':
ugr.f90:(.text+0x1b8): undefined reference to `elfun_'
/usr/bin/ld: ugr.f90:(.text+0x2b7): undefined reference to `elfun_'
/usr/bin/ld: ugr.f90:(.text+0x4bf): undefined reference to `group_'
/usr/bin/ld: ugr.f90:(.text+0x4fa): undefined reference to `range_'
/usr/bin/ld: libcutest.a(uofg.o): in function `cutest_uofg_threadsafe_':
uofg.f90:(.text+0x1cb): undefined reference to `elfun_'
/usr/bin/ld: uofg.f90:(.text+0x512): undefined reference to `group_'
/usr/bin/ld: uofg.f90:(.text+0x698): undefined reference to `elfun_'
/usr/bin/ld: uofg.f90:(.text+0x71a): undefined reference to `group_'
/usr/bin/ld: uofg.f90:(.text+0x755): undefined reference to `range_'
/usr/bin/ld: libcutest.a(udh.o): in function `cutest_udh_threadsafe_':
udh.f90:(.text+0x27b): undefined reference to `elfun_'
/usr/bin/ld: udh.f90:(.text+0x349): undefined reference to `elfun_'
/usr/bin/ld: udh.f90:(.text+0x566): undefined reference to `group_'
/usr/bin/ld: udh.f90:(.text+0x62f): undefined reference to `range_'
/usr/bin/ld: udh.f90:(.text+0x85c): undefined reference to `range_'
/usr/bin/ld: libcutest.a(ugrdh.o): in function `cutest_ugrdh_threadsafe_':
ugrdh.f90:(.text+0x1d8): undefined reference to `elfun_'
/usr/bin/ld: ugrdh.f90:(.text+0x35f): undefined reference to `elfun_'
/usr/bin/ld: ugrdh.f90:(.text+0x57c): undefined reference to `group_'
/usr/bin/ld: ugrdh.f90:(.text+0x683): undefined reference to `range_'
/usr/bin/ld: ugrdh.f90:(.text+0x8b2): undefined reference to `range_'
/usr/bin/ld: libcutest.a(ush.o): in function `cutest_ush_threadsafe_':
ush.f90:(.text+0x1af): undefined reference to `elfun_'
/usr/bin/ld: ush.f90:(.text+0x2ae): undefined reference to `elfun_'
/usr/bin/ld: ush.f90:(.text+0x4c8): undefined reference to `group_'
/usr/bin/ld: ush.f90:(.text+0x58b): undefined reference to `range_'
/usr/bin/ld: ush.f90:(.text+0x7b5): undefined reference to `range_'
/usr/bin/ld: libcutest.a(ueh.o): in function `cutest_ueh_threadsafe_':
ueh.f90:(.text+0x1d5): undefined reference to `elfun_'
/usr/bin/ld: ueh.f90:(.text+0x2d4): undefined reference to `elfun_'
/usr/bin/ld: ueh.f90:(.text+0x4f1): undefined reference to `group_'
/usr/bin/ld: ueh.f90:(.text+0x5b7): undefined reference to `range_'
/usr/bin/ld: ueh.f90:(.text+0x78c): undefined reference to `range_'
/usr/bin/ld: libcutest.a(ugreh.o): in function `cutest_ugreh_threadsafe_':
ugreh.f90:(.text+0x1de): undefined reference to `elfun_'
/usr/bin/ld: ugreh.f90:(.text+0x2dd): undefined reference to `elfun_'
/usr/bin/ld: ugreh.f90:(.text+0x4fa): undefined reference to `group_'
/usr/bin/ld: ugreh.f90:(.text+0x5eb): undefined reference to `range_'
/usr/bin/ld: ugreh.f90:(.text+0x7d4): undefined reference to `range_'
/usr/bin/ld: libcutest.a(ugrsh.o): in function `cutest_ugrsh_threadsafe_':
ugrsh.f90:(.text+0x1b8): undefined reference to `elfun_'
/usr/bin/ld: ugrsh.f90:(.text+0x2b7): undefined reference to `elfun_'
/usr/bin/ld: ugrsh.f90:(.text+0x4d1): undefined reference to `group_'
/usr/bin/ld: ugrsh.f90:(.text+0x5bf): undefined reference to `range_'
/usr/bin/ld: ugrsh.f90:(.text+0x7e7): undefined reference to `range_'
/usr/bin/ld: libcutest.a(uhprod.o): in function `cutest_uhprod_threadsafe_':
uhprod.f90:(.text+0x1d8): undefined reference to `elfun_'
/usr/bin/ld: uhprod.f90:(.text+0x2c1): undefined reference to `elfun_'
/usr/bin/ld: uhprod.f90:(.text+0x4f0): undefined reference to `group_'
/usr/bin/ld: uhprod.f90:(.text+0x524): undefined reference to `range_'
/usr/bin/ld: uhprod.f90:(.text+0x678): undefined reference to `range_'
/usr/bin/ld: libcutest.a(ushprod.o): in function `cutest_ushprod_threadsafe_':
ushprod.f90:(.text+0x1c1): undefined reference to `elfun_'
/usr/bin/ld: ushprod.f90:(.text+0x2c0): undefined reference to `elfun_'
/usr/bin/ld: ushprod.f90:(.text+0x4dd): undefined reference to `group_'
/usr/bin/ld: ushprod.f90:(.text+0x511): undefined reference to `range_'
/usr/bin/ld: ushprod.f90:(.text+0x648): undefined reference to `range_'
/usr/bin/ld: libcutest.a(ubandh.o): in function `cutest_ubandh_threadsafe_':
ubandh.f90:(.text+0x2d4): undefined reference to `elfun_'
/usr/bin/ld: ubandh.f90:(.text+0x3b4): undefined reference to `elfun_'
/usr/bin/ld: ubandh.f90:(.text+0x5dd): undefined reference to `group_'
/usr/bin/ld: ubandh.f90:(.text+0x6d4): undefined reference to `range_'
/usr/bin/ld: ubandh.f90:(.text+0xa58): undefined reference to `range_'
/usr/bin/ld: libcutest.a(cfn.o): in function `cutest_cfn_threadsafe_':
cfn.f90:(.text+0x106): undefined reference to `elfun_'
/usr/bin/ld: cfn.f90:(.text+0x3e0): undefined reference to `group_'
/usr/bin/ld: libcutest.a(cgr.o): in function `cutest_cgr_threadsafe_':
cgr.f90:(.text+0x34c): undefined reference to `elfun_'
/usr/bin/ld: cgr.f90:(.text+0x431): undefined reference to `elfun_'
/usr/bin/ld: cgr.f90:(.text+0x6f2): undefined reference to `group_'
/usr/bin/ld: cgr.f90:(.text+0xaa6): undefined reference to `range_'
/usr/bin/ld: cgr.f90:(.text+0x1142): undefined reference to `range_'
/usr/bin/ld: libcutest.a(cofg.o): in function `cutest_cofg_threadsafe_':
cofg.f90:(.text+0x2e0): undefined reference to `elfun_'
/usr/bin/ld: cofg.f90:(.text+0x40f): undefined reference to `elfun_'
/usr/bin/ld: cofg.f90:(.text+0x957): undefined reference to `group_'
/usr/bin/ld: cofg.f90:(.text+0xbc8): undefined reference to `group_'
/usr/bin/ld: cofg.f90:(.text+0xc45): undefined reference to `range_'
/usr/bin/ld: libcutest.a(cofsg.o): in function `cutest_cofsg_threadsafe_':
cofsg.f90:(.text+0x340): undefined reference to `elfun_'
/usr/bin/ld: cofsg.f90:(.text+0x461): undefined reference to `elfun_'
/usr/bin/ld: cofsg.f90:(.text+0x99a): undefined reference to `group_'
/usr/bin/ld: cofsg.f90:(.text+0xbd5): undefined reference to `group_'
/usr/bin/ld: cofsg.f90:(.text+0xc52): undefined reference to `range_'
/usr/bin/ld: libcutest.a(ccfg.o): in function `cutest_ccfg_threadsafe_':
ccfg.f90:(.text+0x480): undefined reference to `elfun_'
/usr/bin/ld: ccfg.f90:(.text+0x580): undefined reference to `elfun_'
/usr/bin/ld: ccfg.f90:(.text+0x8f1): undefined reference to `group_'
/usr/bin/ld: ccfg.f90:(.text+0xb25): undefined reference to `group_'
/usr/bin/ld: ccfg.f90:(.text+0xc03): undefined reference to `range_'
/usr/bin/ld: libcutest.a(clfg.o): in function `cutest_clfg_threadsafe_':
clfg.f90:(.text+0x1ac): undefined reference to `elfun_'
/usr/bin/ld: clfg.f90:(.text+0x2dd): undefined reference to `elfun_'
/usr/bin/ld: clfg.f90:(.text+0x537): undefined reference to `group_'
/usr/bin/ld: clfg.f90:(.text+0x876): undefined reference to `range_'
/usr/bin/ld: clfg.f90:(.text+0xf81): undefined reference to `range_'
/usr/bin/ld: libcutest.a(ccfsg.o): in function `cutest_ccfsg_threadsafe_':
ccfsg.f90:(.text+0x31c): undefined reference to `elfun_'
/usr/bin/ld: ccfsg.f90:(.text+0x425): undefined reference to `elfun_'
/usr/bin/ld: ccfsg.f90:(.text+0x796): undefined reference to `group_'
/usr/bin/ld: ccfsg.f90:(.text+0x96b): undefined reference to `group_'
/usr/bin/ld: ccfsg.f90:(.text+0xa26): undefined reference to `range_'
/usr/bin/ld: libcutest.a(ccifg.o): in function `cutest_ccifg_threadsafe_':
ccifg.f90:(.text+0x35e): undefined reference to `elfun_'
/usr/bin/ld: ccifg.f90:(.text+0x635): undefined reference to `group_'
/usr/bin/ld: ccifg.f90:(.text+0x75b): undefined reference to `elfun_'
/usr/bin/ld: ccifg.f90:(.text+0x97b): undefined reference to `group_'
/usr/bin/ld: ccifg.f90:(.text+0xa01): undefined reference to `range_'
/usr/bin/ld: libcutest.a(ccifsg.o): in function `cutest_ccifsg_threadsafe_':
ccifsg.f90:(.text+0x375): undefined reference to `elfun_'
/usr/bin/ld: ccifsg.f90:(.text+0x64e): undefined reference to `group_'
/usr/bin/ld: ccifsg.f90:(.text+0x764): undefined reference to `elfun_'
/usr/bin/ld: ccifsg.f90:(.text+0x98f): undefined reference to `group_'
/usr/bin/ld: ccifsg.f90:(.text+0xa0c): undefined reference to `range_'
/usr/bin/ld: libcutest.a(cdh.o): in function `cutest_cdh_threadsafe_':
cdh.f90:(.text+0x277): undefined reference to `elfun_'
/usr/bin/ld: cdh.f90:(.text+0x33f): undefined reference to `elfun_'
/usr/bin/ld: cdh.f90:(.text+0x5a1): undefined reference to `group_'
/usr/bin/ld: cdh.f90:(.text+0x6de): undefined reference to `range_'
/usr/bin/ld: cdh.f90:(.text+0x907): undefined reference to `range_'
/usr/bin/ld: cdh.f90:(.text+0xbba): undefined reference to `range_'
/usr/bin/ld: cdh.f90:(.text+0xde4): undefined reference to `range_'
/usr/bin/ld: libcutest.a(cdhc.o): in function `cutest_cdhc_threadsafe_':
cdhc.f90:(.text+0x277): undefined reference to `elfun_'
/usr/bin/ld: cdhc.f90:(.text+0x33f): undefined reference to `elfun_'
/usr/bin/ld: cdhc.f90:(.text+0x5a1): undefined reference to `group_'
/usr/bin/ld: cdhc.f90:(.text+0x6cb): undefined reference to `range_'
/usr/bin/ld: cdhc.f90:(.text+0x8f4): undefined reference to `range_'
/usr/bin/ld: cdhc.f90:(.text+0xba7): undefined reference to `range_'
/usr/bin/ld: cdhc.f90:(.text+0xdd1): undefined reference to `range_'
/usr/bin/ld: libcutest.a(ceh.o): in function `cutest_ceh_threadsafe_':
ceh.f90:(.text+0x1be): undefined reference to `elfun_'
/usr/bin/ld: ceh.f90:(.text+0x2b5): undefined reference to `elfun_'
/usr/bin/ld: ceh.f90:(.text+0x514): undefined reference to `group_'
/usr/bin/ld: ceh.f90:(.text+0x64b): undefined reference to `range_'
/usr/bin/ld: ceh.f90:(.text+0x81b): undefined reference to `range_'
/usr/bin/ld: ceh.f90:(.text+0xa26): undefined reference to `range_'
/usr/bin/ld: ceh.f90:(.text+0xbfb): undefined reference to `range_'
/usr/bin/ld: libcutest.a(cgrdh.o): in function `cutest_cgrdh_threadsafe_':
cgrdh.f90:(.text+0x523): undefined reference to `elfun_'
/usr/bin/ld: cgrdh.f90:(.text+0x5f3): undefined reference to `elfun_'
/usr/bin/ld: cgrdh.f90:(.text+0x866): undefined reference to `group_'
/usr/bin/ld: cgrdh.f90:(.text+0xbf2): undefined reference to `range_'
/usr/bin/ld: cgrdh.f90:(.text+0xe7c): undefined reference to `range_'
/usr/bin/ld: cgrdh.f90:(.text+0x164e): undefined reference to `range_'
/usr/bin/ld: cgrdh.f90:(.text+0x1880): undefined reference to `range_'
/usr/bin/ld: libcutest.a(cifn.o): in function `cutest_cifn_threadsafe_':
cifn.f90:(.text+0x232): undefined reference to `elfun_'
/usr/bin/ld: cifn.f90:(.text+0x640): undefined reference to `group_'
/usr/bin/ld: cifn.f90:(.text+0xa08): undefined reference to `group_'
/usr/bin/ld: libcutest.a(cigr.o): in function `cutest_cigr_threadsafe_':
cigr.f90:(.text+0x2eb): undefined reference to `elfun_'
/usr/bin/ld: cigr.f90:(.text+0x59b): undefined reference to `elfun_'
/usr/bin/ld: cigr.f90:(.text+0x981): undefined reference to `group_'
/usr/bin/ld: cigr.f90:(.text+0xa00): undefined reference to `group_'
/usr/bin/ld: cigr.f90:(.text+0xa7d): undefined reference to `range_'
/usr/bin/ld: cigr.f90:(.text+0x10db): undefined reference to `group_'
/usr/bin/ld: cigr.f90:(.text+0x114d): undefined reference to `group_'
/usr/bin/ld: cigr.f90:(.text+0x11cb): undefined reference to `range_'
/usr/bin/ld: libcutest.a(cisgr.o): in function `cutest_cisgr_threadsafe_':
cisgr.f90:(.text+0x2eb): undefined reference to `elfun_'
/usr/bin/ld: cisgr.f90:(.text+0x59b): undefined reference to `elfun_'
/usr/bin/ld: cisgr.f90:(.text+0x9be): undefined reference to `group_'
/usr/bin/ld: cisgr.f90:(.text+0xa3d): undefined reference to `group_'
/usr/bin/ld: cisgr.f90:(.text+0xaba): undefined reference to `range_'
/usr/bin/ld: cisgr.f90:(.text+0x126c): undefined reference to `group_'
/usr/bin/ld: cisgr.f90:(.text+0x12de): undefined reference to `group_'
/usr/bin/ld: cisgr.f90:(.text+0x135c): undefined reference to `range_'
/usr/bin/ld: libcutest.a(cidh.o): in function `cutest_cidh_threadsafe_':
cidh.f90:(.text+0x5d3): undefined reference to `elfun_'
/usr/bin/ld: cidh.f90:(.text+0x6a6): undefined reference to `elfun_'
/usr/bin/ld: cidh.f90:(.text+0x9ae): undefined reference to `group_'
/usr/bin/ld: cidh.f90:(.text+0xad7): undefined reference to `range_'
/usr/bin/ld: cidh.f90:(.text+0xd02): undefined reference to `range_'
/usr/bin/ld: cidh.f90:(.text+0xf05): undefined reference to `range_'
/usr/bin/ld: cidh.f90:(.text+0x1131): undefined reference to `range_'
/usr/bin/ld: libcutest.a(csh.o): in function `cutest_csh_threadsafe_':
csh.f90:(.text+0x1a0): undefined reference to `elfun_'
/usr/bin/ld: csh.f90:(.text+0x29a): undefined reference to `elfun_'
/usr/bin/ld: csh.f90:(.text+0x4f9): undefined reference to `group_'
/usr/bin/ld: csh.f90:(.text+0x633): undefined reference to `range_'
/usr/bin/ld: csh.f90:(.text+0x859): undefined reference to `range_'
/usr/bin/ld: csh.f90:(.text+0xad9): undefined reference to `range_'
/usr/bin/ld: csh.f90:(.text+0xd00): undefined reference to `range_'
/usr/bin/ld: libcutest.a(cshc.o): in function `cutest_cshc_threadsafe_':
cshc.f90:(.text+0x1a0): undefined reference to `elfun_'
/usr/bin/ld: cshc.f90:(.text+0x29a): undefined reference to `elfun_'
/usr/bin/ld: cshc.f90:(.text+0x4f9): undefined reference to `group_'
/usr/bin/ld: cshc.f90:(.text+0x620): undefined reference to `range_'
/usr/bin/ld: cshc.f90:(.text+0x846): undefined reference to `range_'
/usr/bin/ld: cshc.f90:(.text+0xac6): undefined reference to `range_'
/usr/bin/ld: cshc.f90:(.text+0xced): undefined reference to `range_'
/usr/bin/ld: libcutest.a(cish.o): in function `cutest_cish_threadsafe_':
cish.f90:(.text+0x531): undefined reference to `elfun_'
/usr/bin/ld: cish.f90:(.text+0x603): undefined reference to `elfun_'
/usr/bin/ld: cish.f90:(.text+0x90b): undefined reference to `group_'
/usr/bin/ld: cish.f90:(.text+0xa2e): undefined reference to `range_'
/usr/bin/ld: cish.f90:(.text+0xc56): undefined reference to `range_'
/usr/bin/ld: cish.f90:(.text+0xeed): undefined reference to `range_'
/usr/bin/ld: cish.f90:(.text+0x1116): undefined reference to `range_'
/usr/bin/ld: libcutest.a(cjprod.o): in function `cutest_cjprod_threadsafe_':
cjprod.f90:(.text+0x235): undefined reference to `elfun_'
/usr/bin/ld: cjprod.f90:(.text+0x411): undefined reference to `elfun_'
/usr/bin/ld: cjprod.f90:(.text+0x668): undefined reference to `group_'
/usr/bin/ld: cjprod.f90:(.text+0x79a): undefined reference to `range_'
/usr/bin/ld: cjprod.f90:(.text+0xaac): undefined reference to `range_'
/usr/bin/ld: libcutest.a(csgr.o): in function `cutest_csgr_threadsafe_':
csgr.f90:(.text+0x1c2): undefined reference to `elfun_'
/usr/bin/ld: csgr.f90:(.text+0x2c0): undefined reference to `elfun_'
/usr/bin/ld: csgr.f90:(.text+0x580): undefined reference to `group_'
/usr/bin/ld: csgr.f90:(.text+0xa0f): undefined reference to `range_'
/usr/bin/ld: csgr.f90:(.text+0xf30): undefined reference to `range_'
/usr/bin/ld: libcutest.a(csgreh.o): in function `cutest_csgreh_threadsafe_':
csgreh.f90:(.text+0x1d8): undefined reference to `elfun_'
/usr/bin/ld: csgreh.f90:(.text+0x2cb): undefined reference to `elfun_'
/usr/bin/ld: csgreh.f90:(.text+0x537): undefined reference to `group_'
/usr/bin/ld: csgreh.f90:(.text+0x92c): undefined reference to `range_'
/usr/bin/ld: csgreh.f90:(.text+0xf06): undefined reference to `range_'
/usr/bin/ld: csgreh.f90:(.text+0x149e): undefined reference to `range_'
/usr/bin/ld: csgreh.f90:(.text+0x1668): undefined reference to `range_'
/usr/bin/ld: libcutest.a(csgrsh.o): in function `cutest_csgrsh_threadsafe_':
csgrsh.f90:(.text+0x1ba): undefined reference to `elfun_'
/usr/bin/ld: csgrsh.f90:(.text+0x2b0): undefined reference to `elfun_'
/usr/bin/ld: csgrsh.f90:(.text+0x524): undefined reference to `group_'
/usr/bin/ld: csgrsh.f90:(.text+0x91f): undefined reference to `range_'
/usr/bin/ld: csgrsh.f90:(.text+0xf00): undefined reference to `range_'
/usr/bin/ld: csgrsh.f90:(.text+0x1242): undefined reference to `range_'
/usr/bin/ld: csgrsh.f90:(.text+0x151e): undefined reference to `range_'
/usr/bin/ld: libcutest.a(csjprod.o): in function `cutest_csjprod_threadsafe_':
csjprod.f90:(.text+0x235): undefined reference to `elfun_'
/usr/bin/ld: csjprod.f90:(.text+0x3ff): undefined reference to `elfun_'
/usr/bin/ld: csjprod.f90:(.text+0x660): undefined reference to `range_'
/usr/bin/ld: csjprod.f90:(.text+0x7e6): undefined reference to `group_'
/usr/bin/ld: csjprod.f90:(.text+0x81f): undefined reference to `range_'
/usr/bin/ld: libcutest.a(chprod.o): in function `cutest_chprod_threadsafe_':
chprod.f90:(.text+0x1db): undefined reference to `elfun_'
/usr/bin/ld: chprod.f90:(.text+0x2c4): undefined reference to `elfun_'
/usr/bin/ld: chprod.f90:(.text+0x545): undefined reference to `group_'
/usr/bin/ld: chprod.f90:(.text+0x5fc): undefined reference to `range_'
/usr/bin/ld: chprod.f90:(.text+0x723): undefined reference to `range_'
/usr/bin/ld: chprod.f90:(.text+0x855): undefined reference to `range_'
/usr/bin/ld: chprod.f90:(.text+0x99c): undefined reference to `range_'
/usr/bin/ld: libcutest.a(chcprod.o): in function `cutest_chcprod_threadsafe_':
chcprod.f90:(.text+0x1d5): undefined reference to `elfun_'
/usr/bin/ld: chcprod.f90:(.text+0x2b9): undefined reference to `elfun_'
/usr/bin/ld: chcprod.f90:(.text+0x52c): undefined reference to `group_'
/usr/bin/ld: chcprod.f90:(.text+0x5d0): undefined reference to `range_'
/usr/bin/ld: chcprod.f90:(.text+0x731): undefined reference to `range_'
/usr/bin/ld: chcprod.f90:(.text+0x87b): undefined reference to `range_'
/usr/bin/ld: chcprod.f90:(.text+0x9a9): undefined reference to `range_'
/usr/bin/ld: libcutest.a(cshprod.o): in function `cutest_cshprod_threadsafe_':
cshprod.f90:(.text+0x1c2): undefined reference to `elfun_'
/usr/bin/ld: cshprod.f90:(.text+0x2cc): undefined reference to `elfun_'
/usr/bin/ld: cshprod.f90:(.text+0x539): undefined reference to `group_'
/usr/bin/ld: cshprod.f90:(.text+0x5f0): undefined reference to `range_'
/usr/bin/ld: cshprod.f90:(.text+0x72a): undefined reference to `range_'
/usr/bin/ld: cshprod.f90:(.text+0x8ba): undefined reference to `range_'
/usr/bin/ld: cshprod.f90:(.text+0x9e8): undefined reference to `range_'
/usr/bin/ld: libcutest.a(cshcprod.o): in function `cutest_cshcprod_threadsafe_':
cshcprod.f90:(.text+0x1c2): undefined reference to `elfun_'
/usr/bin/ld: cshcprod.f90:(.text+0x2a7): undefined reference to `elfun_'
/usr/bin/ld: cshcprod.f90:(.text+0x514): undefined reference to `group_'
/usr/bin/ld: cshcprod.f90:(.text+0x5b8): undefined reference to `range_'
/usr/bin/ld: cshcprod.f90:(.text+0x6fc): undefined reference to `range_'
/usr/bin/ld: cshcprod.f90:(.text+0x8ad): undefined reference to `range_'
/usr/bin/ld: cshcprod.f90:(.text+0x9db): undefined reference to `range_'
/usr/bin/ld: libcutest.a(cchprods.o): in function `cutest_cchprods_threadsafe_':
cchprods.f90:(.text+0x1cb): undefined reference to `elfun_'
/usr/bin/ld: cchprods.f90:(.text+0x2b2): undefined reference to `elfun_'
/usr/bin/ld: cchprods.f90:(.text+0x4d6): undefined reference to `group_'
/usr/bin/ld: cchprods.f90:(.text+0x50a): undefined reference to `range_'
/usr/bin/ld: cchprods.f90:(.text+0x7d2): undefined reference to `range_'
/usr/bin/ld: cchprods.f90:(.text+0xebb): undefined reference to `range_'
/usr/bin/ld: cchprods.f90:(.text+0x1231): undefined reference to `range_'
nimgould commented 1 year ago

Unfortunately these symbols must be added at link time, they are generated by the compiling elfin.f (etc) that are generated by sifdecoder program from the specified individual CUTEst example. When compiling GALAHAD standalone, dummy versions are added via libgalahad_cutest_dummy.a, but CUTEst definitely only needs to resolve these when creating the final binary from its library